Problem with Serial Converter Code
captainvideo
Posts: 2
I am having problems with the attached Basic Stamp 2·code. The program inputs a serial string, and then based on the string, outputs a different string. The problem I am having is that is takes two serial strings to make the Case Select code work. When I put in a Debug statement and the Debug window opens up, I notice that the RX Led on the Debug interface only·flashes when a second string is received. It does not flash when only a single string is input.
Comments
What are the exact bytes being sent by the originating device? I ask because since you're using both a WAIT and HEX modifier, several things need to happen exactly to meet both conditions. It would help to know exactly what bytes are being sent to the BS2.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
Check out the new Savage Circuits TV!
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
Check out the new Savage Circuits TV!
·