ut-ras / r5-2020

Region 5 2019-2020
0 stars 1 forks source link

Button interfacing #18

Open dimembermatt opened 4 years ago

dimembermatt commented 4 years ago

Easy task. Stick a button to the PI4, and interface it. I even give you the circuit and code for it here. Assign a pin to it and have it print a statement in a terminal or turn on an LED (bonus points). Then turn it into a callback. This will be used in the high level algorithm as a priority 1 (highest) interrupt, and stop the system.

There are buttons on the metal shelf in the RAS office. Use them.

dimembermatt commented 4 years ago

Set GPIO22 as final emergency stop button pin. Test with GPIO11 for now.