Search found 5 matches

by silverstein
Tue Jun 26, 2007 4:16 am
Forum: MOC/MOS/MOI/MOU/X-Board/MOP
Topic: Problem initializing AL-162
Replies: 16
Views: 21521

I just removed some errors of my code, and i see characters floating on my screen :) :)

If I have romoved all my bugs, i'll post the code.
by silverstein
Tue Jun 26, 2007 4:01 am
Forum: MOC/MOS/MOI/MOU/X-Board/MOP
Topic: Problem initializing AL-162
Replies: 16
Views: 21521

i should use ~ instead of ! thanx for the tip :P

I use an stk500 so I use the LED's on the kit to check the codes instead of a scope.

When I use "~" instead of "!" I still don get the text on my screen :"(
by silverstein
Mon Jun 25, 2007 12:45 pm
Forum: MOC/MOS/MOI/MOU/X-Board/MOP
Topic: Problem initializing AL-162
Replies: 16
Views: 21521

this is my current complete source, if i use that initialization it still wont work ////////////////////////////////// // main // ////////////////////////////////// main() { init_devices(); init_lcd(); sendtest(); while(1) { } } ////////////////////////////////// // initialisations // //////////////...
by silverstein
Mon Jun 25, 2007 10:54 am
Forum: MOC/MOS/MOI/MOU/X-Board/MOP
Topic: Problem initializing AL-162
Replies: 16
Views: 21521

r/w

the r/w is connected to the ground, because I only need writing and no reading back
by silverstein
Mon Jun 25, 2007 8:40 am
Forum: MOC/MOS/MOI/MOU/X-Board/MOP
Topic: Problem initializing AL-162
Replies: 16
Views: 21521

Problem initializing AL-162

Im having problem initializing my AL-162A, does anyone has any idea what I am doing wrong? PORTA : 0 - 7 (DB0 - DB7) PORTC : 0 = register select 1 = Enable the source is written for an ATmega uC void init_devices(void) { cli(); DDRA = 0xFF; DDRC = 0xFF; PORTA = 0x00; PORTC = 0x00; sei(); } void init...