Skip to content

Some output from 08 Analog Joystick Color Wheel Test

Grant edited this page May 7, 2019 · 6 revisions

Sample Output

DATA is: 1023
ADC is: [0, 2, 20]
DATA is: 532
ADC is: [0, 1, 250]
DATA is: 506
ADC is: [0, 3, 255]
DATA is: 1023
ADC is: [0, 2, 21]
DATA is: 533
ADC is: [0, 1, 250]
DATA is: 506
ADC is: [0, 3, 255]
DATA is: 1023
ADC is: [0, 2, 21]
DATA is: 533
ADC is: [0, 1, 250]
DATA is: 506
ADC is: [0, 3, 255]
DATA is: 1023
ADC is: [0, 2, 21]
DATA is: 533
ADC is: [0, 1, 250]



ADC is: [0, 3, 255]
DATA is: 1023
ADC is: [0, 2, 21]
DATA is: 533
ADC is: [0, 0, 0]
DATA is: 0
Coordinate : (533,0)  --  Angle : 89.65895772114115
ADC is: [0, 3, 255]
DATA is: 1023
ADC is: [0, 2, 21]
DATA is: 533
ADC is: [0, 0, 0]
DATA is: 0
Coordinate : (533,0)  --  Angle : 89.65895772114115
ADC is: [0, 3, 255]
DATA is: 1023
ADC is: [0, 2, 21]
DATA is: 533
ADC is: [0, 0, 0]
DATA is: 0
Coordinate : (533,0)  --  Angle : 89.65895772114115
ADC is: [0, 3, 255]
DATA is: 1023
ADC is: [0, 2, 21]
DATA is: 533
ADC is: [0, 0, 0]
DATA is: 0
Coordinate : (533,0)  --  Angle : 89.65895772114115



ADC is: [0, 3, 255]
DATA is: 1023
ADC is: [0, 0, 0]
DATA is: 0
ADC is: [0, 3, 21]
DATA is: 789
Coordinate : (0,789)  --  Angle : 208.2685127871291
ADC is: [0, 3, 255]
DATA is: 1023
ADC is: [0, 0, 0]
DATA is: 0
ADC is: [0, 3, 21]
DATA is: 789
Coordinate : (0,789)  --  Angle : 208.2685127871291
ADC is: [0, 3, 255]
DATA is: 1023
ADC is: [0, 0, 0]
DATA is: 0
ADC is: [0, 3, 22]
DATA is: 790
Coordinate : (0,790)  --  Angle : 208.352303911804
ADC is: [0, 3, 254]
DATA is: 1022
ADC is: [0, 0, 0]
DATA is: 0
ADC is: [0, 3, 21]
DATA is: 789
Coordinate : (0,789)  --  Angle : 208.2685127871291





ADC is: [0, 3, 255]
DATA is: 1023
ADC is: [0, 3, 255]
DATA is: 1023
ADC is: [0, 3, 13]
DATA is: 781
Coordinate : (1023,781)  --  Angle : 330.6698429195353
ADC is: [0, 3, 255]
DATA is: 1023
ADC is: [0, 3, 255]
DATA is: 1023
ADC is: [0, 3, 12]
DATA is: 780
Coordinate : (1023,780)  --  Angle : 330.7582520227367
ADC is: [0, 3, 254]
DATA is: 1022
ADC is: [0, 3, 255]
DATA is: 1023
ADC is: [0, 3, 13]
DATA is: 781
Coordinate : (1023,781)  --  Angle : 330.6698429195353



(adc[1] % 4) * 256 + adc[2]

Another Header

test

Another Header 22

test

Third Header

testy