Hi all, just learning to use a scope and I created a simulation with Picaxe VSM to decode serial data. I have created a simple program using "serout" to send the letter "Q" out pin C.1 on a Picaxe 08M2 in a continuous loop, then captured the data on a virtual scope. I have attached a screenshot of the scope showing the byte, but it doesn't appear to me what it should look like. The letter Q in binary is 01010001, so I would expect to see:
LOW->Start Bit
LOW
HIGH
LOW
HIGH
LOW
LOW
LOW
HIGH
HIGH -> Stop Bit
Does VSM show TTL serial signals or RS-232 level, in other words is a binary 1 represented by a high or low in VSM? Also, am I correct in that the LSB comes immediately after the start bit, if so then am I looking at the byte backwards?
Please correct me if I am missing something. Thanks in advance.
LOW->Start Bit
LOW
HIGH
LOW
HIGH
LOW
LOW
LOW
HIGH
HIGH -> Stop Bit
Does VSM show TTL serial signals or RS-232 level, in other words is a binary 1 represented by a high or low in VSM? Also, am I correct in that the LSB comes immediately after the start bit, if so then am I looking at the byte backwards?
Please correct me if I am missing something. Thanks in advance.
Code:
main:
pause 1000
serout c.1, n4800,("Q")
goto main