m_b_mofidi
Junior Member level 1
sed1520 source
This is a driver for SED1520 Graphic IC Driver.I have a Graphic LCD(TS12232) with this IC.So program is for this LCD.BTW, u can use this program for other LCD.
it can be used for any other AVR by just change of define in begin of source.
I used a atmega8L with 8Mhz crystal.I didn't use any delay function.so if u use a ATMega8 with crystal 16Mhz or any micros with larger crystal u may have problem in the first ten functions & you must use delay between change of values of port.
if u have any questions,plz say to me.
REVERSE value used when u want have a black backgrund.Use 0x00 for white.
CS=0 is for CS1,CS=1 for CS2 & CS=2 for both.
This is a driver for SED1520 Graphic IC Driver.I have a Graphic LCD(TS12232) with this IC.So program is for this LCD.BTW, u can use this program for other LCD.
it can be used for any other AVR by just change of define in begin of source.
I used a atmega8L with 8Mhz crystal.I didn't use any delay function.so if u use a ATMega8 with crystal 16Mhz or any micros with larger crystal u may have problem in the first ten functions & you must use delay between change of values of port.
if u have any questions,plz say to me.
REVERSE value used when u want have a black backgrund.Use 0x00 for white.
CS=0 is for CS1,CS=1 for CS2 & CS=2 for both.