![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
This code allows obtain the values sent from a bluetooth module and in the same time allows see in a LCD 16*2 the state (on or off) of a Led of the Freescale
Fork of LCD_FRDM_KL25Z by
main.cpp@0:a6771cc1a056, 2013-09-03 (annotated)
- Committer:
- tony63
- Date:
- Tue Sep 03 16:16:26 2013 +0000
- Revision:
- 0:a6771cc1a056
- Child:
- 1:23e44d676994
ESTE EJEMPLO SE ADAPTA AL MODULO FRDM-KL25Z PARA MODULOS LCD DE 16X2 CARACTERES
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tony63 | 0:a6771cc1a056 | 1 | // Hello World! for the TextLCD |
tony63 | 0:a6771cc1a056 | 2 | // EJEMPLO CON UN LCD PARA EL MODULO FRDM-KL25Z |
tony63 | 0:a6771cc1a056 | 3 | |
tony63 | 0:a6771cc1a056 | 4 | #include "mbed.h" |
tony63 | 0:a6771cc1a056 | 5 | #include "TextLCD.h" |
tony63 | 0:a6771cc1a056 | 6 | |
tony63 | 0:a6771cc1a056 | 7 | TextLCD lcd(PTE0, PTE1, PTE2, PTE3, PTE4, PTE5); // rs, e, d4-d7 |
tony63 | 0:a6771cc1a056 | 8 | |
tony63 | 0:a6771cc1a056 | 9 | int main() { |
tony63 | 0:a6771cc1a056 | 10 | lcd.printf("Hello World!\n"); |
tony63 | 0:a6771cc1a056 | 11 | } |