Gast
#895841
moin leute,
ich bin verzweifelt.
ich habe eine bascom date geschrieben und sie lässt sich nicht
compilieren, obwohl die zeile die er muniert aus der hilfe datei stammt.
ich habe die datei einem kumpel geschickt er konnte die datei
einwandtfrei compilieren, woran kann das liegen, hier mein code:
$regfile = "m8def.dat"
$crystal = 1000000
$baud = 4800
$hwstack = 32
$swstack = 10
$framesize = 40
Config Serialin = Buffered , Size = 30
Enable Interrupts
Echo Off
'ebenen z
Config Pind.2 = Output
Config Pind.3 = Output
Config Pind.4 = Output
'x
Config Pinc.2 = Output
Config Pinc.3 = Output
Config Pinc.4 = Output
'y
Config Pinb.2 = Output
Config Pinb.3 = Output
Config Pinb.4 = Output
Dim X As Integer
Dim Na As String * 10
'zeit die led an bleibt
Dim An As Byte
An = 3
Dim Antwort As Byte
Antwort = 1
Do
If Ischarwaiting() = 1 Then
Input Na
Print Na
'X = Waitkey()
end if
loop
bitte um hilfe... danke