tinyshell demo example

Dependencies:   mbed tinyshell MMA8451Q mbed-rtos tsi_sensor cc1101

Demonstrate how to implement commands to test all hardware avaliable in the board using shell commands.

TSI Sensor percentage

MMA8451Q Accelerometer values with RGB Led PWM.

mbed-RTOS test all features.

Files at this revision

API Documentation at this revision

Comitter:
murilopontes
Date:
Tue Mar 11 14:29:16 2014 +0000
Parent:
2:c0591e9eb622
Commit message:
updates and include cc1101 radio library

Changed in this revision

cc1101.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
tinyshell.lib Show annotated file Show diff for this revision Revisions of this file
diff -r c0591e9eb622 -r 87a19cb69c25 cc1101.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cc1101.lib	Tue Mar 11 14:29:16 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/murilopontes/code/cc1101/#ee6686ffcad0
diff -r c0591e9eb622 -r 87a19cb69c25 main.cpp
--- a/main.cpp	Tue Mar 11 05:02:06 2014 +0000
+++ b/main.cpp	Tue Mar 11 14:29:16 2014 +0000
@@ -266,6 +266,11 @@
 
 int main()
 {
+    
+    //kl25z led power is inverted 1=off 0=on.
+    rled=0.99;
+    gled=0.99;
+    bled=0.99;
 
     //
     Thread thread_shell(tinyshell_thread);
diff -r c0591e9eb622 -r 87a19cb69c25 tinyshell.lib
--- a/tinyshell.lib	Tue Mar 11 05:02:06 2014 +0000
+++ b/tinyshell.lib	Tue Mar 11 14:29:16 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/murilopontes/code/tinyshell/#78b46c0d5246
+http://mbed.org/users/murilopontes/code/tinyshell/#71580bf962fe