Only for GR-PEACH beta, the sample that it drives Switch Science eVY1 shield. The sample offerd by Switch Science had been modified bi H.Inomata.
Dependencies: mbed-src
Fork of mbed_blinky by
You need to connect between pin 1 and pin 2 of the JP2 on an eVY1 shield.
eVY1 shieldのJP2は、ピン1とピン2が接続されるように変更して下さい。
過去のルネサスナイトで賞品でいただきいたSwitch Science eVY1 Shieldを使っています。
main.cpp@4:81cea7a352b0, 2014-03-18 (annotated)
- Committer:
- stevep
- Date:
- Tue Mar 18 11:19:57 2014 +0000
- Revision:
- 4:81cea7a352b0
- Parent:
- 3:2e347c65be00
- Child:
- 7:f9ef8cf3b215
Re-add newline
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dan | 0:7dec7e9ac085 | 1 | #include "mbed.h" |
dan | 0:7dec7e9ac085 | 2 | |
dan | 0:7dec7e9ac085 | 3 | DigitalOut myled(LED1); |
dan | 0:7dec7e9ac085 | 4 | |
dan | 0:7dec7e9ac085 | 5 | int main() { |
dan | 0:7dec7e9ac085 | 6 | while(1) { |
dan | 0:7dec7e9ac085 | 7 | myled = 1; |
dan | 0:7dec7e9ac085 | 8 | wait(0.2); |
dan | 0:7dec7e9ac085 | 9 | myled = 0; |
stevep | 4:81cea7a352b0 | 10 | wait(0.2); |
stevep | 4:81cea7a352b0 | 11 | } |
dan | 0:7dec7e9ac085 | 12 | } |