Bonjour, j'ai un problème avec mon écran lcd quand je fait le branchement comme inscrit dans le livre arduino donc
* LCD RS pin to digital pin 12
* LCD Enable pin to digital pin 11
* LCD D4 pin to digital pin 5
* LCD D5 pin to digital pin 4
* LCD D6 pin to digital pin 3
* LCD D7 pin to digital pin 2
* LCD R/W pin to ground
* LCD VSS pin to ground
* LCD VCC pin to 5V
* 10K resistor:
* ends to +5V and ground
* wiper to LCD VO pin (pin 3)
le rétro éclérage de l'écran s'allume mais quand je télverse le programme suivant.
(programme disponible dans les croquis arduino (liquidcristal HelloWorld))
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31 #include <LiquidCrystal.h> const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2; LiquidCrystal lcd(rs, en, d4, d5, d6, d7); void setup() { // set up the LCD's number of columns and rows: lcd.begin(16, 2); // Print a message to the LCD. lcd.print("hello, world!"); } 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); }
quand je téléverse le programe pas de roblème de televersement mais rien ne s'affiche sur mon écran.
Je ne comprend pas j'ai recontrollé moncablage 5 fois et l'ai déonté et remonté 3 fois donc pas de problème de se coté la
Pourriez vous m'aider SVP ?
Merci d'avance
Partager