Right now, there are four Current sensing pins that are set up as analog GPIOs. We need these to actually use the ADC peripherals (ADC1 fits the pins best i think) in order to get analog readings from these.
One problem is that only 3 of these 4 pins are analog, so we cant actually do anything with the 4th.
Pending information on why there are 4 curretn sesnig pins and not 2 (shepherd compute 1 had two pins, high channel and low), and pending what we are doing about the 4th non analog pin, set up the adc1 peripehal and connect them to these curretn sensing pins, and then update the reads of these pins in compute.c (currently commented out because it used the old analog read functions)
Right now, there are four Current sensing pins that are set up as analog GPIOs. We need these to actually use the ADC peripherals (ADC1 fits the pins best i think) in order to get analog readings from these.
One problem is that only 3 of these 4 pins are analog, so we cant actually do anything with the 4th.
Pending information on why there are 4 curretn sesnig pins and not 2 (shepherd compute 1 had two pins, high channel and low), and pending what we are doing about the 4th non analog pin, set up the adc1 peripehal and connect them to these curretn sensing pins, and then update the reads of these pins in compute.c (currently commented out because it used the old analog read functions)