Piet Cordemans
/
state-example
Example code to toggle the RGB LED of the application shield with a State Machine
Diff: main.cpp
- Revision:
- 0:00a89ddb74dc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Oct 28 12:17:07 2020 +0000 @@ -0,0 +1,12 @@ +#include "mbed.h" +#include "StateMachine.h" + +PwmOut r (D5); +PwmOut g (D8); +PwmOut b (D9); + +int main() +{ + StateMachine statemachine; + statemachine.start(); +} \ No newline at end of file