i changed the code a bit so that i dont have to use the i2c. then i realised if i used the original code, i would not have enough i/o pins for the buzzer. so i changed the code to use less of the pins on the lcd, (using D0, D1, D2, D3 instead of D0, D1, D2, D3, D4, D5, D6, D7) the lcd didnt display anything at all. i tried using this hello world code.
#include <LiquidCrystal.h>
LiquidCrystal lcd(2, 3, 13, 8, 9, 10, 11);
void setup() {
lcd.begin(16, 2);
lcd.print("hello, world!");
}
void loop() {
lcd.setCursor(0, 1);
lcd.print(millis() / 1000);
}
once again, it didn't work, am i just missing something?
oh yeah, with the keyboard, it works perfectly, i tried it with a sketch, and the buzzer beeped every time i pressed a key.