Which bit goes first?
simonl
Posts: 866
I've been looking at the various serial comm's objects, but I can't figure-out which BIT of a BYTE gets sent first!
Take the example of %11101010 (decimal 234); does that transmit as 1, 1, 1, 0, 1, 0, 1, 0 or 0, 1, 0, 1, 0, 1, 1, 1?
I'm guessing it's the 2nd version (just "gut feeling" though!)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,
Simon
www.norfolkhelicopterclub.com
“Before you criticize someone, you should walk a mile in their shoes. That way when you criticize them, you are a mile away from them and you have their shoes.” - Jack Handey.
Take the example of %11101010 (decimal 234); does that transmit as 1, 1, 1, 0, 1, 0, 1, 0 or 0, 1, 0, 1, 0, 1, 1, 1?
I'm guessing it's the 2nd version (just "gut feeling" though!)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,
Simon
www.norfolkhelicopterclub.com
“Before you criticize someone, you should walk a mile in their shoes. That way when you criticize them, you are a mile away from them and you have their shoes.” - Jack Handey.
Comments
So, 0, 1, 0, 1, 0, 1, 1, 1 is correct.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
Hmmm, I should go with my gut feeling more often - LOL
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,
Simon
www.norfolkhelicopterclub.com
“Before you criticize someone, you should walk a mile in their shoes. That way when you criticize them, you are a mile away from them and you have their shoes.” - Jack Handey.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230