Roll Pitch Yaw icon Roll Pitch Yaw — Rotate and position camera or object with roll/pitch/yaw controls; save camera settings; bind or monitor a 3-value EZ-Script array for live rotation. 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

Discover the limitless potential of robot programming with Synthiam ARC Pro – where innovation and creativity meet seamlessly.

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