Problem mit dem AtTiny2313

Gast #700962
Lesenswert?

$regfile = "2313def.dat"

$crystal = 1000000


 Config Lcd = 16 * 4
 Config Lcdpin = Pin , Db4 = Portb.0 , Db5 = Portb.1 , Db6 = Portb.2 , 
Db7 = Portb.3 , E = Portb.5 , Rs = Portb.4

  Cls


Do
Locate 1 , 1
Lcd "hallo"
Wait 100
Loop
End
Gast #700984
Lesenswert?

"Attiny23113.dat" mußt Du nehmen.


$regfile = "Attiny2313.dat"

$crystal = 1000000


Config Lcdpin = Pin , Db4 = Portb.0 , Db5 = Portb.1 , Db6 = Portb.2 ,
Db7 = Portb.3 , E = Portb.5 , Rs = Portb.4
Config Lcd = 16 * 4

Initlcd

Cls


Do
   Locate 1 , 1
   Lcd "hallo"
   Wait 100
Loop
End




MfG Paul

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren