Read Digital icon Read Digital Read TTL digital input from an ARC I/O port; real-time red/green status for low (0V) or high (+3.3/5V), selectable board/port and read interval. Try it →
Asked — Edited
Resolved Resolved by thetechguru!

Working With Serial Terminal & System Variables

I have a device that is sending information in on a serial port. I want to evaluate the incoming string then if it = a specific value to set a system variable. Something like this:

If the serial input = "MOTION" then system variable Motion = "1"

Thanks.:)


ARC Pro

Upgrade to ARC Pro

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.