Read Analog Input
Command : analogRead
Parameters
- pin: It is the Bolt GPIO you want to control. It can take value A0.
- deviceName: The name of the Bolt device you want to control.
Example: - https://cloud.boltiot.com/remote/44b2de6b-7e68-40e7-a27f-814b58afe008/analogRead?pin=A0&deviceName=BOLT1257632
- browser output for 0 volts:
{"success":"1","value":"0"} or - browser output for 2.5 volts:
{"success": "1", "value": "245"}
Updated over 6 years ago