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 // //////////////...
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...