Piet Cordemans
/
state-example
Example code to toggle the RGB LED of the application shield with a State Machine
main.cpp
- Committer:
- pcordemans
- Date:
- 2020-10-28
- Revision:
- 0:00a89ddb74dc
File content as of revision 0:00a89ddb74dc:
#include "mbed.h" #include "StateMachine.h" PwmOut r (D5); PwmOut g (D8); PwmOut b (D9); int main() { StateMachine statemachine; statemachine.start(); }