A simple program built with mbed and a Nokia N3310LCD screen. Using the USB serial and any terminal application, you can change the brightness to 4 led's. Instructions are on the screen to start. Enjoy and have fun! All feedback is welcome. Please email: d.b.searle@reading.ac.uk
Dependencies: N3310LCD mbed-rtos mbed Functions
Welcome
A simple program built with mbed and a Nokia N3310LCD screen. Using the USB serial and any terminal application, you can change the brightness to 4 led's. Instructions are on the screen to start. Enjoy and have fun! All feedback is welcome. Please email: d.b.searle@reading.ac.uk
Diff: main.cpp
- Revision:
- 1:69297d522e83
- Parent:
- 0:1a5ac0d2b2f6
- Child:
- 6:477c2c8458e4
--- a/main.cpp Mon Jul 29 10:17:17 2013 +0000 +++ b/main.cpp Mon Jul 29 15:37:54 2013 +0000 @@ -4,7 +4,7 @@ #include "rtos.h" #include <string> -Serial pc(USBTX, USBRX); // tx, rx +Serial pc(USBTX, USBRX); PwmOut led1(LED1); PwmOut led2(LED2); PwmOut led3(LED3); @@ -21,6 +21,7 @@ int main() { lcd.init(); lcd.cls(); + int main; int line; int loop;