This code allows obtain the values (X,Y,Z accelerometer - Android) sent to a bluetooth module and in the same time allows see in a LCD 16*2 the state (X,Y,Z) of a the phone
Fork of LCD_FRDM_KL25Z by
Diff: main.cpp
- Revision:
- 0:a6771cc1a056
- Child:
- 1:983d32fa739a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Sep 03 16:16:26 2013 +0000 @@ -0,0 +1,11 @@ +// Hello World! for the TextLCD +// EJEMPLO CON UN LCD PARA EL MODULO FRDM-KL25Z + +#include "mbed.h" +#include "TextLCD.h" + +TextLCD lcd(PTE0, PTE1, PTE2, PTE3, PTE4, PTE5); // rs, e, d4-d7 + +int main() { + lcd.printf("Hello World!\n"); +}