Prevent PC Sleep icon Prevent PC Sleep — Prevents a PC from entering sleep mode via a tiny, resizable control-keeps the system awake while minimizing UI real estate Try it →
Canada
Asked — Edited
1 Participant

Getvoltage - Object Reference Not Set

Can anyone tell me why GetVoltage() in a script gives me the error "Object reference not set to an instance of an object" ? Regards BAW



Related Hardware (view all EZB hardware)
JD Humanoid by EZ-Robot
JD Humanoid with Synthiam ARCx: pose, animate, walk, voice, vision, and AI control from any browser.
Wi-Fi / USB
Servos 24
Camera
Audio
UART 3
I2C
ADC 8
Digital 24

ARC Pro

Upgrade to ARC Pro

Harnessing the power of ARC Pro, your robot can be more than just a simple automated machine.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#1  

Try 


GetVoltage(0)
Author Avatar
Canada
#2  

Thanks, That solved the problem