<this is my test library>
Fork of Flasher by
Flasher.cpp
- Committer:
- satoyuki1111
- Date:
- 2016-06-30
- Revision:
- 0:3e6b94efd0f5
File content as of revision 0:3e6b94efd0f5:
#include"mbed.h" #include"Flasher.h" Flasher::Flasher(PinName LED1_,PinName LED2_,PinName LED3_,PinName LED4_) : Right(LED1_,LED2_,LED3_,LED4_) {} void Flasher::flash(int p) { for(int n = 0;n <= p;n++) { Right = n; wait(0.5); } }