controller-legacy/wiring_debug.h

8 lines
208 B
C
Raw Normal View History

2019-11-15 00:23:43 +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