15 package com.trouch.webiopi.client.devices.analog;
22 super(client, deviceName);
26 super(client, deviceName, type);
30 return Float.parseFloat(this.
sendRequest(
"POST",
"/" + channel +
"/float/" + value));
34 return Float.parseFloat(this.
sendRequest(
"POST",
"/" + channel +
"/volt/" + value));
DAC(PiClient client, String deviceName, String type)
String sendRequest(String method, String subPath)
float writeVolt(int channel, float value)
DAC(PiClient client, String deviceName)
float writeFloat(int channel, float value)