geen tekst
3 berichten
• Pagina 1 van 1
geen tekst
ik heb geen tekst op me lcd
hij werk wel blauw of groen of rood hij st nu op rood
code :
#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);
}
hij werk wel blauw of groen of rood hij st nu op rood
code :
#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);
}
Advertisement
Re: geen tekst
krijg je wel na het direct aanschakelen een rij met blokjes te zien?
zo nee, dan kan het zo zijn dat je contrast niet goed staat afgeregeld.
kan je ons ook meer vertellen welk shield je gebruikt?
RGB instelling is alleen voor de achtergrond verlichting, dat werkt apart van het display
zo nee, dan kan het zo zijn dat je contrast niet goed staat afgeregeld.
kan je ons ook meer vertellen welk shield je gebruikt?
RGB instelling is alleen voor de achtergrond verlichting, dat werkt apart van het display
Met vriendelijke groet Arjan
Re: geen tekst
zet eerst de cursor op 0,0 en dan een keer hello
staat het contrast goed?
staat het contrast goed?
paul deelen
shooter@home.nl
shooter@home.nl
3 berichten
• Pagina 1 van 1
Wie is er online?
Gebruikers in dit forum: Geen geregistreerde gebruikers en 5 gasten