Difference between revisions of "Grove 16x2 LCD Series"
(→Code) |
(→images) |
||
| Line 4: | Line 4: | ||
=== images === | === images === | ||
| + | |||
| + | ici on utilise le White on Blue<br> | ||
[[File:16x2 LCD White on Blue 01.jpg|400px]] [[File:16x2 LCD White on Blue 02.jpg|400px]] | [[File:16x2 LCD White on Blue 01.jpg|400px]] [[File:16x2 LCD White on Blue 02.jpg|400px]] | ||
Revision as of 21:25, 8 June 2025
Grove - 16x2 LCD Series
16 Characters * 2 Lines
Operating Voltage : 3.3V / 5V
images
ici on utilise le White on Blue
liens
https://github.com/Seeed-Studio/Grove_LCD_RGB_Backlight Librairie
https://github.com/Seeed-Studio/Grove_LCD_RGB_Backlight/archive/master.zip Librairie fichier Zip
http://wiki.seeedstudio.com/Grove-16x2_LCD_Series LCD wiki Grove-16x2
https://www.seeedstudio.com/Grove-16x2-LCD-White-on-Blue.html Shop Grove-16x2_LCD
Connectique
interface : I2C-bus
I2C Adresse: 0X3E
Code
install an Arduino library
Code 2
#include <Wire.h>
#include "rgb_lcd.h"
rgb_lcd lcd;
/*
const int colorR = 255;
const int colorG = 0;
const int colorB = 0;
*/
void setup()
{
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
//lcd.setRGB(colorR, colorG, colorB);
// Print a message to the LCD.
lcd.print("hello, world!");
delay(1000);
}
void loop()
{
// set the cursor to column 0, line 1
// (note: line 1 is the second row, since counting begins with 0):
lcd.setCursor(0, 1);
// print the number of seconds since reset:
lcd.print(millis()/1000);
delay(100);
}