InoDrive / IO / getInputVoltage


InoDrive.IO.getInputVoltage()

Get information about the Input Voltage of the InoDrive Module

Returns: Input Voltage (Object) This object contains (in Celsius) the Input Voltage coming from the DC Power Supply.

// Import InoDrive API Library
import { InoDriveApiJS }  from "ck-inodrive-api" 

// Instatiate the API
let InoDriveApi = new InoDriveApiJS.InoDriveApi({ connectAppUrl: "", secure: false })

// Instantiate InoDrive Object
let Drive = await InoDriveApi.InoDrive({ target: "Name", autoConnect: true })

// Get the Input Voltage
await Drive.IO.getInputVoltage()