asdf
Dependencies: NokiaLCD XMIT_IR mbed
Fork of 4180_mP_WirelessPong_revC by
Diff: main.cpp
- Revision:
- 4:8fdff78c13c8
- Parent:
- 3:8e492eacd346
- Child:
- 5:2e08cc167fff
diff -r 8e492eacd346 -r 8fdff78c13c8 main.cpp --- a/main.cpp Thu Oct 04 14:54:59 2012 +0000 +++ b/main.cpp Thu Oct 04 15:12:58 2012 +0000 @@ -24,7 +24,6 @@ NokiaLCD lcd(p5, p7, p8, p9, NokiaLCD::LCD6610); // mosi, sclk, cs, rst, type Serial device(p28, p27); // tx, rx PwmOut IRLED_mod(p22); -DigitalOut IRLED_ctrl(p22); DigitalIn IRLED_rx(p20); //Global Vars @@ -97,14 +96,15 @@ if(device.readable()) { irdata_in = device.getc(); } + Thread::wait(300); } + } void BlinkAlive(void const* arguments) { while(true) { led1 = !led1; - IRLED_ctrl = led1; irdata_out++; Thread::wait(1000); }