3-In-1 IMU icon 3-In-1 IMU — EZ-Robot 3-in-1 IMU driver: accelerometer, gyroscope and compass support for motion sensing, orientation tracking and heading/navigation. 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

Take control of your robot's destiny by subscribing to Synthiam ARC Pro, and watch it evolve into a versatile and responsive machine.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#1  

Try 


GetVoltage(0)
Author Avatar
Canada
#2  

Thanks, That solved the problem