} \
while (0)
-#define print(w) \
- do \
- { \
- leds(w); \
- sleep(8); \
- } \
- while (0)
-
-#define printb(bh, bl) \
+#define print(w) \
do \
{ \
- ledsb(bh, bl); \
+ leds_write(w); \
sleep(8); \
} \
while (0)
+#define printb(bh, bl) \
+ do \
+ { \
+ leds_write_high(bh); \
+ leds_write_low(bl); \
+ sleep(8); \
+ } \
+ while (0)
+
#else // NO DEBUG
#define sleep(t) ;