asdf
Dependencies: NokiaLCD XMIT_IR mbed
Fork of 4180_mP_WirelessPong_revC by
Diff: main.cpp
- Revision:
- 0:c8ddcaa575ba
- Child:
- 1:9ba884d85ac6
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Oct 04 13:12:12 2012 +0000 @@ -0,0 +1,23 @@ +#include "mbed.h" +#include "rtos.h" +#include "NokiaLCD.h" + +DigitalOut myled(LED1); +NokiaLCD lcd(p5, p7, p8, p9, NokiaLCD::LCD6610); // mosi, sclk, cs, rst, type +int main() { + + lcd.background(0x000000); + lcd.cls(); + lcd.locate(0,1); + lcd.printf("Debug:"); + + + + + while(1) { + myled = 1; + wait(0.2); + myled = 0; + wait(0.2); + } +}