Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Atelier 119 - Fablab Ufr Sciences et Techniques
projets
Kombucha Monitor
Commits
d977e3cb
Commit
d977e3cb
authored
Apr 20, 2021
by
Ahicia BOA
Browse files
Add new file
parent
70f813d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
CODE ECRAN LCD
0 → 100644
View file @
d977e3cb
#include <Wire.h>
#include <I2C_LCD.h>
I2C_LCD LCD;
uint8_t I2C_LCD_ADDRESS = 0x51; //Device address configuration, the default value is 0x51.
//For detials of the function useage, please refer to "I2C_LCD User Manual".
//You can download the "I2C_LCD User Manual" from I2C_LCD WIKI page: http://www.seeedstudio.com/wiki/I2C_LCD
void setup(void)
{
Wire.begin(); //I2C controller initialization.
}
void loop(void)
{
LCD.CleanAll(WHITE); //Clean the screen with black or white.
delay(1000); //Delay for 1s.
//8*16 font size��auto new line��black character on white back ground.
LCD.FontModeConf(Font_6x8, FM_ANL_AAA, BLACK_BAC);
LCD.CharGotoXY(0,0); //Set the start coordinate.
LCD.print("Hello World!"); //Display "Hello World!" on coordinate of (0, 10).
while(1);//Wait for ever.
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment