Input Devices

Joystic Sensor

Due to the Modela collets issue, I did this week assignment on breadboard. I connect a joystick sensor to port analog 2 onto a button+LED board.

So this is the ADC data from port A02

Then I tried to use the Hello.temp.45.py program to visualize the data

The file format are different and the python program won't work as I thought

I tried to fix this process by asking for raw data, but failed

After review the source code from the sample file, This is the final version that works.

Because I was using the tempurature python program, so the value shown in the video is not correct, I will change it later.

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.
Based on a work at http://fabacademy.org/archives/2014/students/hung.ted/index.html.