< Resime gitmek için tıklayın > şekildeki gibi bağlantılarımı yaptım contrast değeri 125-255 arasında videodaki görüntüleri veriyor ama test yazısını yazdırmıyor sebebi ne olabilir acaba ?
#include <LiquidCrystal.h> char ch; int Contrast=125; // initialize the library with the numbers of the interface pins LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() { Serial.begin(9600); Serial.println("LCD test with PWM contrast adjustment"); pinMode(13,OUTPUT); analogWrite(6,Contrast); // set up the LCD's number of columns and rows: lcd.begin(16, 2); // Print a message to the LCD. lcd.print("LCD test!!"); }
void loop() { digitalWrite(13,LOW); delay(1000); digitalWrite(13,HIGH); // 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); }
< Resime gitmek için tıklayın >
şekildeki gibi bağlantılarımı yaptım contrast değeri 125-255 arasında videodaki görüntüleri veriyor ama test yazısını yazdırmıyor sebebi ne olabilir acaba ?
< Bu mesaj bu kişi tarafından değiştirildi abdulkrm -- 29 Mart 2015; 13:39:28 >