-
-
Erfahrener Benutzer
Roboter Experte
hi ich habe ne atmega 88 und da steht in Bascom
Error : 202 Line : 32 .EQU not found, probably using functions that are not supported by the selected chip [TCCR0] , in File : C:\DOKUMENTE UND EINSTELLUNGEN\NEUER ORDNER\IR.BAS
bei diesem Programm
$regfile = "m88def.dat"
$crystal = 16000000
$baud = 9600
$lib "mcsbyte.lbx"
Config Portd.4 = Input
Config Portc.2 = Output
Config Portc.3 = Output
Config Rc5 = Pind.4
Portd.4 = 1
Enable Interrupts
Dim Adress As Integer , Command As Integer
Do
Getrc5(adress , Command)
Waitms 150
If Adress > 255 Then
Portc.2 = 1
Else
Portc.2 = 0
End If
If Command < 255 Then
Portc. 3 = 1
Else
Portc.3 = 0
End If
Loop
End
Schriebe ich aber anstat $regfile = "m88def.dat" ; $regfile = "m8def.dat" hin zeigt er keinen Fehler an.
Berechtigungen
- Neue Themen erstellen: Nein
- Themen beantworten: Nein
- Anhänge hochladen: Nein
- Beiträge bearbeiten: Nein
-
Foren-Regeln
Lesezeichen