Auto Position (Gait) icon Auto Position (Gait) Create servo frames and actions to animate gaits and gestures with automatic motion planning, software ramping, movement panel, import/export Try it →
Asked
Resolved Resolved by ptp!

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/2 robot controller: dual Cortex ARM, Wi-Fi, audio/video, 24 servo/digital ports, I2C/UART, camera and Synthiam ARC control for custom robots
Wi-Fi / USB
Servos 24
Camera
Audio
UART 3
I2C
ADC 8
Digital 24

ARC Pro

Upgrade to ARC Pro

Your robot can be more than a simple automated machine with the power of ARC Pro!

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