Shop OBEX P1 Docs P2 Docs Learn Events
Serial Syntax — Parallax Forums

Serial Syntax

ChipperChipper Posts: 5
edited 2007-05-17 02:18 in BASIC Stamp
Hello everyone im new to MCs so i hope this isnt a noob question. Im trying to make an interface for my ipod with stud3.tuwien.ac.at/~e0026607/aap/ipod_aap.html
but i do not know what the currect syntax goes when using hexidecimal, i dont know if i send "0xFF", $FF, $00FF or SHEX 0xFF etc help would be greatly appreciated. yeah.gif

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-05-17 02:18
    Parallax uses $FF as the syntax for a single byte of all one bits in hexadecimal notation. It's the same as the 0xFF used in many other systems.
    Similarly, $1234 is a 16-bit hexadecimal number written in some other systems as 0x1234. From one of the links on the website you showed,
    the serial interface is 0/+3.3V. The Stamp's put out 0/+5V which will damage the iPod. There's a "sticky thread" on the Propeller forum that discusses the general issue of interfacing +3.3V and +5V systems with each other and there are several specific suggestions given that would
    work in your case. The iPod, like the Propeller, is a +3.3V system and the Stamp, like many peripherals, is a 5V system.
Sign In or Register to comment.