atmega8 + SF 16x2 RED/BLACK LCD + Peter Fluery’s library + avr gcc
Here is what I did so far:
-
Wired it up on PORTD (4 bit I/O mode)
-
Compiled Peter Fluery’s LCD library
-
Ran included test. Screen is black.
-
Triple checked wiring
-
Made startup delays longer
-
Checked fuses for default 1MHz
-
Ran included test. Screen is black.
-
Googled, read all the results and verifed that the basics were covered
-
Rechecked wiring
-
Wired on PORTC
-
Recompiled with updated port defines
-
Ran included test. Screen is black
-
Coded up LED blinker as sanity check on ports d & c, worked fine
-
Breathed deep, let out slowly over teeth and started at 1 again
I am now pretty frustrated and need a way to verify the LCD actually works before I continue. The atmega8 has no JTAG fuse (common sighted issue for port not working) so I also need a fresh reason why this isn’t working assuming the LCD is healthy.
This is the exact wiring only mapped to the pins of PC0-6 on PDIP atmega8: