Hi Leutz,
ich hab da mal son Problem ich hab nen Display 16*2.
Nun hab ich mal erst was mit Timern ausprobiert und dann zeigt das Display auf einmal nur noch "?" an.
Quelltext:
Denn postet mal alle fröhlichCode:$regfile = "m128def.dat" $crystal = 4000000 Dim Millisekunden As Long Dim K As Long Config Lcd = 16 * 2 Config Lcdpin = Pin , E = Portc.2 , Rs = Portc.0 , Db7 = Portc.7 , Db6 = Portc.6 , Db5 = Portc.5 , Db4 = Portc.4 'Belegung am MEGA8 Config Lcdbus = 4 '4-Bit Bus Config Lcdmode = Port Config Portc = Output Portc.1 = 0 Cls Const Reload = 192 Config Timer0 = Timer , Prescale = 64 On Timer0 Timer0_isr Enable Interrupts Enable Timer0 Do Locate 1 , 1 Lcd Millisekunden Print Millisekunden Loop Timer0_isr: Load Timer0 , Reload Incr Millisekunden Return![]()
Martin







Zitieren
HAVE A NICE DAY 

Lesezeichen