HT16K33 Animator (8X8) icon HT16K33 Animator (8X8) — Control for Adafruit 8x8 LED Matrix (HT16K33) via EZ-B v4 I2C; creates animations, supports module initialization and EZ-Script control. Try it →
Asked — Edited
Resolved Resolved by thetechguru!

Hi Guys, I want to hook up my Sure Compass to UART and the manual says to send all commands in ASCII. I know how to convert text to ASCII but I am stumped as to how to put it into the UART commands in ARC script. Has anyone done this? I have seen and read the info on I2C in reference to the Compass but can't find anything on using UART.

Manual


ARC Pro

Upgrade to ARC Pro

ARC Pro is more than a tool; it's a creative playground for robot enthusiasts, where you can turn your wildest ideas into reality.

#9  

$ x=GetAsByte ( value )

This will convert the data to the ASCII character. I had to use the same protocol to communicate with my Dynamixel servos. In Phython its chr ( value ).

#10  

@mtiberia, Thank you for the input but I am a novice when it comes to coding so if you don't mind can you expand a bit on exactly what to do. The manual says to send "$sure ga " to get the direction. How would that look in script? I am feeling really inept.