Odysseas
Member
Hello everyone,
I am attempting to attach my Displaytech 161A (**broken link removed**) to an Atmega16. I have not succeeded so far. The 161A is an 8-bit display.
I have used the specs of this table found in the help file of my compiler:
As already suggested for some 8-bit displays, I have tried to both leave db0-3 unconnected or tie them to ground. Neither worked.
Just in case somethings wrong with that: Here is the code for the Atmega:
Can anyone help me with this?
I am attempting to attach my Displaytech 161A (**broken link removed**) to an Atmega16. I have not succeeded so far. The 161A is an 8-bit display.
I have used the specs of this table found in the help file of my compiler:
Code:
LCD DISPLAY PORT
DB7 PORTB.7
DB6 PORTB.6
DB5 PORTB.5
DB4 PORTB.4
E PORTB.3
RS PORTB.2
RW Ground
Vss Ground
Vdd +5 Volt
Vo 0-5 Volt
As already suggested for some 8-bit displays, I have tried to both leave db0-3 unconnected or tie them to ground. Neither worked.
Just in case somethings wrong with that: Here is the code for the Atmega:
Code:
$regfile = "m16def.dat"
$crystal = 8000000
Config Lcd = 16 * 1
Do
Display On
Cls
Lcd "Hello world..."
Wait 2
Cls
Lcd "Hello me..."
Wait 2
Display Off
Loop
Can anyone help me with this?