![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Export for Dan
Diff: main.cpp
- Revision:
- 2:d6cadd28a68e
- Parent:
- 1:66e3217ec4ec
- Child:
- 3:4039b6c8da2e
--- a/main.cpp Tue Oct 27 17:39:06 2015 +0000 +++ b/main.cpp Tue Oct 27 17:43:49 2015 +0000 @@ -33,7 +33,7 @@ if (count == 8){ //led4 = !led4; // - if (!strncmp(messageBufferIncoming, "AA", sizeof("AA")-1)) led2 = !led2; + if (!strncmp(messageBufferIncoming, "AA55FF00", sizeof("AA55FF00")-1)) led2 = !led2; //else if (!strncmp(messageBufferIncoming, "BB", sizeof("BB")-1)) led3 = !led3; memset(messageBufferIncoming, '\0', sizeof(messageBufferIncoming)); i = 0;