Applied engineering Team
/
Mikroupravljaci_vjezba_flasher
Dinko Djakovic - Flasher, upotreba klase
Revision 0:19c321c0fdb3, committed 2015-05-22
- Comitter:
- djdinko
- Date:
- Fri May 22 17:22:32 2015 +0000
- Commit message:
- Vjezba Flasher
Changed in this revision
diff -r 000000000000 -r 19c321c0fdb3 Flasher.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Flasher.lib Fri May 22 17:22:32 2015 +0000 @@ -0,0 +1,1 @@ +http://developer.mbed.org/teams/TVZ-Electrical-engeneering-team/code/Flasher/#87793af99c3b
diff -r 000000000000 -r 19c321c0fdb3 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri May 22 17:22:32 2015 +0000 @@ -0,0 +1,22 @@ +#include "mbed.h" +#include "Flasher.h" +Flasher led(LED2); +int main() { + while(1){ +led.flash(5); +wait(1); +led.flash(2); +wait(1); +led.flash(3); +wait(1); +led.flash(7); +wait(1); +led.flash(1); +wait(1); +led.flash(2); +wait(1); +led.flash(2); +wait(1); +led.flash(1); +} +} \ No newline at end of file
diff -r 000000000000 -r 19c321c0fdb3 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri May 22 17:22:32 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/dbbf35b96557 \ No newline at end of file