controller-legacy/include/wiring_debug.h

8 lines
208 B
C
Raw Normal View History

2020-01-07 01:23:16 +00:00
#ifdef WIRING_PI_DEBUG
#define wiringPiSetup() printf("Setting up wiringPi....\n")
#define pinMode(x,y) printf("pinMode(%d, %d)\n",x,y)
#define digitalWrite(x,y) printf("digitalWrite(%d, %d)\n",x,y)
#endif