Skip to content

Instantly share code, notes, and snippets.

@deadprogram
Created April 26, 2017 18:27
Show Gist options
  • Save deadprogram/a0e3c649d0fe088b0793a29a400e7bc4 to your computer and use it in GitHub Desktop.
Save deadprogram/a0e3c649d0fe088b0793a29a400e7bc4 to your computer and use it in GitHub Desktop.
pi@raspberrypi:~ $ ./raspi_ads1015
2017/04/26 18:26:02 Initializing connections...
2017/04/26 18:26:02 Initializing connection RaspberryPi-77EEC3CB ...
2017/04/26 18:26:02 Initializing devices...
2017/04/26 18:26:02 Initializing device ADS1x15-6235DFBD ...
2017/04/26 18:26:02 Robot ads1015bot initialized.
2017/04/26 18:26:02 Starting Robot ads1015bot ...
2017/04/26 18:26:02 Starting connections...
2017/04/26 18:26:02 Starting connection RaspberryPi-77EEC3CB...
2017/04/26 18:26:02 Starting devices...
2017/04/26 18:26:02 Starting device ADS1x15-6235DFBD...
2017/04/26 18:26:02 Starting work...
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 25.872
A0 9.264
A0 0
A0 0
A0 0
A0 0
A0 0
A0 0
A0 0
A0 0
A0 0
A0 0
A0 1.008
A0 2.224
A0 3.408
A0 4.192
A0 4.32
A0 4.96
A0 5.76
A0 6.448
A0 7.216
A0 8.208
A0 8.976
A0 9.744
A0 10.816
A0 11.712
A0 12.256
A0 13.616
A0 14.464
A0 15.408
A0 16.752
A0 18.288
A0 19.552
A0 20.736
A0 22.080000000000002
A0 23.584
A0 24.704
A0 25.568
A0 26.288
A0 27.344
A0 29.248
A0 30.96
A0 32.4
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.752
A0 32.064
A0 29.616
A0 26.528000000000002
A0 23.216
A0 20.592
A0 18.304000000000002
A0 15.392
A0 13.280000000000001
A0 11.536
A0 9.392
A0 7.312
A0 5.088
A0 2.7840000000000003
A0 0
A0 0
A0 0
A0 0
A0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment