LBP311 / Origami-Electronics

Origami with Embedded Electronics
GNU General Public License v3.0
0 stars 0 forks source link

touch_setup.py Stub Functions #31

Closed LBP311 closed 2 years ago

LBP311 commented 2 years ago

These Stub Functions would describe the direct manipulation/interactions with the component. For example: setPWM(), getStatus(), etc.

LBP311 commented 2 years ago

Initial Ideas:

  1. Stub Functions which interact with each individual touch-pad. (Total 5)
  2. Stub Function which uses interrupts to incorporate all 5 touch-pads.
    • The Stub Function can monitor each touch-pad for a single purpose.
    • The Stub Function can quickly differentiate between which touch-pad was activated.
LBP311 commented 2 years ago

touch_setup.py file was committed. I believe Tasks 2, 3, and 4 can be omitted. Will discuss with partner, @mrm815 Will be checked off until reviewed.

LBP311 commented 2 years ago

@mrm815 Please review the committed touch_setup.py file.

LBP311 commented 2 years ago

Adding a small correction. py_modules=["touch_sensor"] --> py_modules=["touch_sensor, RPi.GPIO"]