I tried to connect the Attiny24 with the standard liquidcrystal library to a HD44780 LCD. I have tested the LCD with a nano and it works + simple sketches such as blink run fine on the attiny. However, when I try to run the LCD with the attiny24, it only displays a few flickering bars and ?-characters. After a few seconds the LCD clears and doesn't display anything.
-
IDE 1.6.2
-
TinyCore1 from Coding-Badly's Github
-
the Attiny runs @ 8MHz, I made a boards.txt entry for it because there wasn't one included. (I simply used the one from Attiny25 @ 8MHz and changed 25 to 24...)
-
I changed the pins to "LiquidCrystal lcd(10, 9, 8, 7, 6, 5);"
-
I used the pinout for the attiny24 from this picture, seemed to be correct. Btw. All these pinout drawings are different, is there a "official" one?
Thanks for your help!