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@0:66332c315595, 2010-11-16 (annotated)
- Committer:
- chris
- Date:
- Tue Nov 16 12:45:03 2010 +0000
- Revision:
- 0:66332c315595
- Child:
- 1:b0cd3a071aac
Updated TextLCD Hello World with revised pin mapping
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 | |
chris | 0:66332c315595 | 4 | TextLCD lcd(p10, p12, p15, p16, p17, p18); // rs, e, d0-d3 |
chris | 0:66332c315595 | 5 | |
chris | 0:66332c315595 | 6 | int main() { |
chris | 0:66332c315595 | 7 | lcd.printf("Hello World!\n"); |
chris | 0:66332c315595 | 8 | } |