Mr. E, I feel like the guy at the piano. Here's the BS2 code
FM CON 14
HIGH FM
Start_Up:
SEROUT FM,396,[$55,$00] '00 is the stop command
PAUSE 5000
SEROUT FM,396,[$55,$03,$40] 'first speed command
PAUSE 5000
SEROUT FM,396,[$55,$03,$80] 'second speed command
This repeats through several speed steps and loops back with GOTO Start_Up: The $55 is the sync, $03 is the set DC speed and the last part of the string is the 00 to FF speed levels. Details of this are from the Solutions Cubed group.
I tried using SEROUT and SEROUT2 with different mode numbers, string precedes, INCLUDES, DEFINES. Since the pinouts are different between the BS2 and 16F628 I could have had the pin path wrong. I tried to work this out with no change. Thanks for any help with this. JS
Bookmarks