ROS2 Connector icon ROS2 Connector — Bridge ARC to ROS2 via rosbridge: publish/subscribe topics for cameras, servos, ports, NMS, variables, scripts, and movement. Try it →
Asked
Resolved Resolved by ptp!
1 Participant
Set Digital On in Javascript

Set Digital On In Javascript

When I use the following JavaScript code:

Digital.set(1.d4, true);

I receive error Line 1: Unexpected token ILLEGAL.

I want to turn digital port d4 on, on my second EZB or Ezb 1.

What am I doing wrong?



Related Hardware (view all EZB hardware)
EZ-B V4 by EZ-Robot
EZ-B v4 with Synthiam ARCx controls servos, sensors, camera and audio over Wi-Fi or USB serial, no firmware needed.
Wi-Fi / USB
Servos 24
Camera
Audio
UART 3
I2C
ADC 8
Digital 24

ARC Pro

Upgrade to ARC Pro

With ARC Pro, your robot is not just a machine; it's your creative partner in the journey of technological exploration.

Author Avatar
PRO
USA
#1  

User-inserted image

Author Avatar
PRO
USA
#2   — Edited

Quote:

What am I doing wrong?
You need to check the help (intellisense) also is important to have the last release, the software is in beta and multiples updates are being released.

Author Avatar
PRO
USA
#3  

Thank you for the help