![](/media/cache/profiles/5f14615696649541a025d3d0f8e0447f.jpg.50x50_q85.jpg)
ワークショップ用に公開しているものです。
Fork of Arch_Analog_Thermistor_Blinker by
main.cpp
- Committer:
- viswesr
- Date:
- 2013-09-17
- Revision:
- 4:ba523da0d68a
- Parent:
- 3:a72374052938
- Child:
- 5:d035275d4c21
File content as of revision 4:ba523da0d68a:
#include "mbed.h" BusOut onboardLEDs(P1_8,P1_9,P1_10,P1_11); /*P1_8 - P1_11 are LED1 - LED4*/ int main() { int i; while(1) { for(i=0; i<16; i++) { onboardLEDs.write(i); /* LED1 is LSB and LED4 is MSB*/ wait(0.5); } } }