ir stuff working nicely. rx on interrupt. tx is blocking.

Fork of 4180_mP_WirelessPong_revB by Curtis Mulady

main.cpp

Committer:
cmulady
Date:
2012-10-04
Revision:
0:c8ddcaa575ba
Child:
1:9ba884d85ac6

File content as of revision 0:c8ddcaa575ba:

#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);
    }
}