![](/media/cache/profiles/e762fc6ea6f58248cedceb99f7120338.jpg.50x50_q85.png)
Working, converted test code for working Arduino-compatible LCD shield with the configuration of "LiquidCrystal lcd(12, 11, 10, 9, 8, 7)". All it says, is my name and the board ID. It's a 'proof-of-concept' project showing my LCD shield works without any hardware changes.
Fork of TextLCD_HelloWorld by
main.cpp@1:b0cd3a071aac, 2013-07-18 (annotated)
- Committer:
- kuyamarc
- Date:
- Thu Jul 18 02:38:27 2013 +0000
- Revision:
- 1:b0cd3a071aac
- Parent:
- 0:66332c315595
Working with Arduino-compatible LCD Shield.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
chris | 0:66332c315595 | 1 | #include "mbed.h" |
chris | 0:66332c315595 | 2 | #include "TextLCD.h" |
chris | 0:66332c315595 | 3 | |
kuyamarc | 1:b0cd3a071aac | 4 | TextLCD lcd(PTC9, PTA13, PTD5, PTD0, PTD2, PTD3); // rs, e, d0-d3 |
chris | 0:66332c315595 | 5 | |
chris | 0:66332c315595 | 6 | int main() { |
kuyamarc | 1:b0cd3a071aac | 7 | lcd.printf("Marcos Miranda's\n"); |
kuyamarc | 1:b0cd3a071aac | 8 | lcd.locate(0, 1); |
kuyamarc | 1:b0cd3a071aac | 9 | lcd.printf(" FRDM-KL25Z "); |
chris | 0:66332c315595 | 10 | } |