nkjnm
Dependencies: MAX44000 nexpaq_mdk
Fork of LED_Demo by
Diff: main.cpp
- Revision:
- 7:3a65ef12ba31
- Parent:
- 6:7b51d2ebef23
--- 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); }