User's Manual
Table Of Contents
- MeshScape™ RK-5424-5 Reference Kit for 2.4 GHz MeshScape Systems User's Guide
- Contents
- About This Guide
- 1: Introduction
- 2: Installing the MeshScape System
- 3: Running MeshScape Network Monitor
- MeshScape Network Monitor Overview
- Configuring a Node’s Operation
- Labeling an End Node or Mesh Node
- Configuring Persistence Attributes
- Selecting a Com Port on the Host PC
- Configuring Serial and ADC Data Formats
- Turning Event Tracking On/Off
- Broadcasting Data to All Nodes.
- Creating an Event Log File
- Viewing the Contents of an Event Log File
- Viewing MeshScape Statistics
- 4: Using the MeshScape API
- A: Running the Demo Application
- B: Using MeshScape Programmer
- Glossary
- Index
4-38 Millennial Net
Using the MeshScape API
7. ibApi_Utils_ConvertRawAdcReadingToVoltage()
ibApi_FUNC ibApi_Utils_ConvertAdcReadingToVoltage(
ibApi_DEVICEID device_id,
ibApi_UINT16 adcRaw,
ibApi_FLOAT *adcFloat
);
This function converts a device’s battery level reading from raw data to voltage.
Parameters:
device_id: (input) Device information.
adcRaw: (input) ADC reading in raw data.
adcFloat: (output) Structure to store the ADC reading as a voltage.
Return Value:
ibApi_RESULT_SUCCESS if successful, error code (<0) if not.