Applied engineering Team
/
Mikroupravljaci_vjezba_flasher
Dinko Djakovic - Flasher, upotreba klase
main.cpp
- Committer:
- djdinko
- Date:
- 2015-05-22
- Revision:
- 0:19c321c0fdb3
File content as of revision 0:19c321c0fdb3:
#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); } }