]> git.gag.com Git - fw/quantimotor/commitdiff
run through all 8 ADC inputs, even though we're only using 4 for now
authorBdale Garbee <bdale@gag.com>
Sun, 25 May 2025 19:03:35 +0000 (13:03 -0600)
committerBdale Garbee <bdale@gag.com>
Sun, 25 May 2025 19:03:35 +0000 (13:03 -0600)
ui/app.py

index 78ddfead825dd1f65f268e4af9ca625d64fa6c66..ced6ad8fc6beed7e611c63270bee6e5b64738d06 100755 (executable)
--- a/ui/app.py
+++ b/ui/app.py
@@ -25,7 +25,7 @@ ctrl = ctx.find_device('ads8688')
 # configuration for each channel on ADS8688
 OFFSET = "0"
 SCALE = "0.078127104"
-VOLTAGES = ['voltage0', 'voltage1', 'voltage2', 'voltage3']
+VOLTAGES = ['voltage0', 'voltage1', 'voltage2', 'voltage3', 'voltage4', 'voltage5', 'voltage6', 'voltage7']
 
 # set gpio output lines
 def set_line_values(chip_path, line_values):