mm are you saying that even if you change our code to...
Code:
FM VAR PORTB.4
HIGH FM
Start_Up:
SEROUT2 FM,396,[$55,$00] '00 is the stop command
PAUSE 5000
SEROUT2 FM,396,[$55,$03,$40] 'first speed command
PAUSE 5000
SEROUT2 FM,396,[$55,$03,$80] 'second speed command
It doesn't work???
you must use SEROUT2 to be BS2 compatible with the baudrate definition. 396 should be 2400,8,N,1. If you want to use SEROUT you'll write it like..
Code:
FM VAR PORTB.4
HIGH FM
Start_Up:
SEROUT FM,0,[$55,$00] '00 is the stop command
PAUSE 5000
SEROUT FM,0,[$55,$03,$40] 'first speed command
PAUSE 5000
SEROUT FM,0,[$55,$03,$80] 'second speed command
HTH
Bookmarks