Another Serout help question
alnajjar1
Posts: 110
Ok, so I found another player that doesn't need the "handshaking" thing in my earlier post (serin Serout with handshacking". From hyperTerminal, I send the following command:
CtrA p + 01 CtrlC
and this work. I followed the exact syntax in the manual which is shown below. Now I am trying from the BS2 and not clear how to send the command above, specifically how to deal with start and end of header characters. can you help please????
many thanks, Al
here is the syntax straight from the manual:
<SOH> p <+/-/&/~/!> XX <ETX>
where:
<SOH> ASCII Start of Header character 0116 (Ctrl-A)
p ASCII lower case letter p
<+/-> ASCII plus character + to start a sound, minus character - to stop a sound
<&/~/!> ASCII ampersand character & to queue a sound, tilde character ~ to flush the queued sounds, exclamation character ! to stop the current playing sound and flush the queued sounds
XX ASCII two digit hexadecimal number XX16 of the sound (01, 02, . . . , 7E, 7F)
<ETX> ASCII End of Text character 0316 (Ctrl-C)
CtrA p + 01 CtrlC
and this work. I followed the exact syntax in the manual which is shown below. Now I am trying from the BS2 and not clear how to send the command above, specifically how to deal with start and end of header characters. can you help please????
many thanks, Al
here is the syntax straight from the manual:
<SOH> p <+/-/&/~/!> XX <ETX>
where:
<SOH> ASCII Start of Header character 0116 (Ctrl-A)
p ASCII lower case letter p
<+/-> ASCII plus character + to start a sound, minus character - to stop a sound
<&/~/!> ASCII ampersand character & to queue a sound, tilde character ~ to flush the queued sounds, exclamation character ! to stop the current playing sound and flush the queued sounds
XX ASCII two digit hexadecimal number XX16 of the sound (01, 02, . . . , 7E, 7F)
<ETX> ASCII End of Text character 0316 (Ctrl-C)
Comments
Have a look at the Helpfile under SEROUT to make sure you're sending the character you think you are.
If you're using any pin other than p16, you'll probably have to use the "inverted" form of the command. Its described in the Helpfile as well.
Cheers,