author | etisserant |
Wed, 10 May 2006 21:05:57 +0200 | |
changeset 1 | b3dc740b4b04 |
parent 0 | 4472ee7c6c3e |
child 3 | d9cf34cd6823 |
permissions | -rw-r--r-- |
/***************************************************************************/ #include <led.h> void led_set_redgreen(CO_Data *d, int state) { printf("LEDS %d\n",bits); if (bits & 0x01) printf("\e[41m ERROR LED ON \e[m\n"); else printf("error led off\n"); if (bits & 0x02) printf("\e[34;42m RUN LED ON \e[m\n"); else printf("run led off\n"); }