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.
Diff: main.cpp
- Revision:
- 3:87a19cb69c25
- Parent:
- 2:c0591e9eb622
--- 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);