EZ-B V3 Configuration icon EZ-B V3 Configuration — Manage EZ-B hardware settings: edit Bluetooth name and apply updates to restore altered configurations. 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

Join the ARC Pro community and gain access to a wealth of resources and support, ensuring your robot's success.

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