Gast
#3915596
Hallo, ich hab eine tsop4838 so http://i.stack.imgur.com/CrjX0.png an einen atmega8 angeschlossen . hier mein kleines testprogramm $regfile = "m8def.dat" $crystal = 1000000 Config Lcdpin = Pin , Db4 = Portd.4 , Db5 = Portd.5 , Db6 = Portd.6 , _ Db7 = Portd.7 , E = Portd.3 , Rs = Portd.2 Config Lcd = 16 * 1 Cursor Off Cls Lcd "hallo" Config Rc5 = Pind.0 Portd.0 = 1 Enable Interrupts Dim Address As Byte , Command As Byte Do Getrc5(address , Command) Locate 1 , 3 Lcd Address Locate 2 , 1 Lcd Command Wait 1 Cls Loop End Das problem ist dass ich auf dem lcd nur 255 angezeigt bekomme... wenn ich aber das oszilloskop an den sensor hänge kommt eine flanke sobalt ich auf der fernbedienung was drücke. wo könnte der fehler liegen?
