For testing, I have one potentiometer between VCC and GND with the wiper connected to A0, A1, A2 and A3 (all 4 are tired together for the test). My goal for this test is for my TX to display 4 identical voltage readings that change as I rotate the pot.
Code: Select all
#define PIN_VOLTAGE 0 , 1 , 2 , 3 , 8 , 8
#define RESISTOR_TO_GROUND 0 , 0 , 0 , 0 , 0 , 0
#define RESISTOR_TO_VOLTAGE 0 , 0 , 0 , 0 , 0 , 0
I have tried the following approaches:
1. VFAS:
Code: Select all
#define VFAS_SOURCE VOLT_1
2. FLVSS:
Code: Select all
#define NUMBEROFCELLS 4
3. A3, A4, T1, T2:
Code: Select all
#define A3_SOURCE VOLT_3
#define A4_SOURCE VOLT_4
#define T1_SOURCE VOLT_1
#define T2_SOURCE VOLT_2
I would appreciate suggestions on how I can configure openXsensor to transmit and display 4 individual voltages.