Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MAX44000 nexpaq_mdk
Fork of LED_Demo by
Diff: main.cpp
- Revision:
- 7:3a65ef12ba31
- Parent:
- 6:7b51d2ebef23
diff -r 7b51d2ebef23 -r 3a65ef12ba31 main.cpp --- a/main.cpp Sat Oct 15 18:47:18 2016 +0000 +++ b/main.cpp Fri Nov 04 12:06:04 2016 +0000 @@ -26,7 +26,7 @@ unsigned char response = 0x00; ledR = (pData[0]>0) ? LED_ON : LED_OFF ; ledG = (pData[1]>0) ? LED_ON : LED_OFF ; - ledB = (pData[2]>0) ? LED_ON : LED_OFF ; + ledB = (pData[2]>100) ? LED_ON : LED_OFF ; np_api_upload(0x2701, &response, 1); }