OpenMarine
ADS1115 works in only one input - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://forum.openmarine.net/forumdisplay.php?fid=4)
+--- Thread: ADS1115 works in only one input (/showthread.php?tid=356)



ADS1115 works in only one input - kste - 2017-02-10

I use GY-ADS1115 with openplotter 0.9
ADS1115 works in only one entrance, the first active entry into the openplotter_analog.conf file.
If all inputs are active=1 only works the first
if the first input the are active=0 only works the second ...


RE: ADS1115 works in only one input - e-sailing - 2017-02-13

Good to hear that someone tries the adc part.
analog_ads1115.py and ads1115.py are tools and not main part of OpenPlotter. Tools can be added manually to OpenPlotter like add-ons.

In analog_ads1115.py line 81 delete one tab it has to look like this.

Code:
for i in range(0,len(list_signalk1)):
   Erg += '{"path": "'+list_signalk_path1[i]+'","value":'+list_signalk1[i]+'},'
SignalK +=Erg[0:-1]+']}]}\n'
sock.sendto(SignalK, ('127.0.0.1', 55557))



RE: ADS1115 works in only one input - kste - 2017-02-14

Now all ok!
many thanks from italy