nkjnm

Dependencies:   MAX44000 nexpaq_mdk

Fork of LED_Demo by Maxim nexpaq

Files at this revision

API Documentation at this revision

Comitter:
nitsshukla
Date:
Fri Nov 04 12:06:04 2016 +0000
Parent:
6:7b51d2ebef23
Commit message:
kghj;

Changed in this revision

MAX44000.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MAX44000.lib	Fri Nov 04 12:06:04 2016 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/teams/MaximIntegrated/code/MAX44000/#a9f09252653a
--- 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);
 }