source:
rtos_arduino/trunk/arduino_lib/hardware/arduino/samd/cores/validation/validation_I2C_LCD/test.cpp@
250
Last change on this file since 250 was 136, checked in by , 9 years ago | |
---|---|
File size: 232 bytes |
Line | |
---|---|
1 | #include <Wire.h> |
2 | #include "LiquidCrystal_I2C.h" |
3 | |
4 | LiquidCrystal_I2C lcd(0x27, 16, 2); |
5 | |
6 | void setup() |
7 | { |
8 | Serial5.begin( 9600 ) ; |
9 | |
10 | lcd.init(); |
11 | |
12 | lcd.backlight(); |
13 | lcd.print("Hello world :)") |
14 | } |
15 | |
16 | void loop() |
17 | { |
18 | |
19 | delay(1000); |
20 | } |
Note:
See TracBrowser
for help on using the repository browser.