Witam
Mam problem z programowaniem dlatego zwracam sie do was
Dlaczego ten program dziala:
$regfile = "m8def.dat"
$crystal = 8000000
Config Portd = Output
Portd = &B01010101
Do
Rotate Portd , Left
Waitms 145
Loop
End
a ten nie:
$regfile = "m8def.dat"
$crystal = 8000000
Config Pind.0 = Output
Config Pind.1 = Output
Do
Set Pind.0
Set Pind.1
Wait 1
Reset Pind.0
Reset Pind.1
Wait 1
Loop
End
nie moge zalapac co jest zle
mam wersje 1.11.7.4 Bascom AVR
pozdrawiam
Mam problem z programowaniem dlatego zwracam sie do was
Dlaczego ten program dziala:
$regfile = "m8def.dat"
$crystal = 8000000
Config Portd = Output
Portd = &B01010101
Do
Rotate Portd , Left
Waitms 145
Loop
End
a ten nie:
$regfile = "m8def.dat"
$crystal = 8000000
Config Pind.0 = Output
Config Pind.1 = Output
Do
Set Pind.0
Set Pind.1
Wait 1
Reset Pind.0
Reset Pind.1
Wait 1
Loop
End
nie moge zalapac co jest zle
mam wersje 1.11.7.4 Bascom AVR
pozdrawiam