Alexander Doppler
/
RGB_Bertl
RGB_BERTL
main.cpp
- Committer:
- Alexander400
- Date:
- 2015-04-30
- Revision:
- 0:5769d3a53f30
File content as of revision 0:5769d3a53f30:
#include "mbed.h" #include "ur_Bertl.h" void RGBLed(bool red, bool green, bool blue); int main() { ur_Bertl karel; while(1){ karel.RGBLed(1,0,0); wait_ms(500); karel.RGBLed(0,1,0); wait_ms(500); karel.RGBLed(0,0,1); wait_ms(500); karel.RGBLed(1,1,0); wait_ms(500); karel.RGBLed(0,1,1); wait_ms(500); karel.RGBLed(1,1,1); wait_ms(500); karel.RGBLed(1,0,1); wait_ms(500); } }