PWM Servo Feedback (I2c) icon PWM Servo Feedback (I2c) Real-time servo position input via Arduino ADC over I2C; supports Nano (6 channels) or Mega (16), configurable I2C address and scalable chaining. Try it →
Canada
Asked — Edited

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 robot kit - WiFi-enabled, 16 DOF with metal-gear servos; easy, fun, educational, available from the EZ-Robot online store.
Wi-Fi / USB
Servos 24
Camera
Audio
UART 3
I2C
ADC 8
Digital 24

ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

Author Avatar
Canada
#2  

Thanks, That solved the problem