#include <LiquidCrystal.h>
LiquidCrystal lcd(12,11,10,9,8,7); // RS,E...D7
byte AMONGUS[8] = {
0b01110,
0b10001,
0b10111,
0b10101,
0b10111,
0b10001,
0b10101,
0b11011
};
byte hertz[8] = {
0b00000,
0b01010,
0b11111,
0b11111,
0b11111,
0b01110,
0b00100
};
byte noHertz[8] = {
0b00000,
0b01010,
0b11111,
0b01110,
0b11111,
0b01110,
0b00100,
};
void setup() {
lcd.begin(16,2); // 16 stolpcev in 2 vrstici
lcd.createChar(1, hertz);
lcd.createChar(2, noHertz);
lcd.createChar(3, AMONGUS);
}
void loop() {
lcd.setCursor(0,0);
lcd.write(1);
lcd.write(2);
lcd.write(3);
}