Alexander Doppler
/
RGB_Bertl
RGB_BERTL
Revision 0:5769d3a53f30, committed 2015-04-30
- Comitter:
- Alexander400
- Date:
- Thu Apr 30 11:47:38 2015 +0000
- Commit message:
- RGB_BERTL;
Changed in this revision
diff -r 000000000000 -r 5769d3a53f30 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Apr 30 11:47:38 2015 +0000 @@ -0,0 +1,28 @@ +#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); + } +} +
diff -r 000000000000 -r 5769d3a53f30 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Apr 30 11:47:38 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/8ab26030e058 \ No newline at end of file
diff -r 000000000000 -r 5769d3a53f30 ur_Bertl.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ur_Bertl.lib Thu Apr 30 11:47:38 2015 +0000 @@ -0,0 +1,1 @@ +http://developer.mbed.org/teams/BERTL_CHEL_18/code/ur_Bertl/#155ce3832f01