Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Add support for GPIO input/output #9

Open
tictacmenthe opened this issue Apr 7, 2020 · 2 comments
Open

Add support for GPIO input/output #9

tictacmenthe opened this issue Apr 7, 2020 · 2 comments
Assignees
Labels
feature New feature HL High Level project related
Milestone

Comments

@tictacmenthe
Copy link
Member

tictacmenthe commented Apr 7, 2020

Specifically, we have to be able to read at least 1 GPIO (Image of Raspberry PI GPIOs)

It would be best if we had a generic code that could use any GPIOs.

We musn't use the GPIOs associated with the SPI interface (used for CAN) : MOSI/MISO/SCLK/CE.
These are GPIOs 8, 9, 10, 11 and 25.

For instance, we could use GPIO 16 for the Start of Match input.

This would be useful for a control interface of the robot.

@Melanie-Co Melanie-Co transferred this issue from outech-robotic/hl-flowing-clean-arch Apr 15, 2020
@tictacmenthe tictacmenthe added this to the Homologuable milestone Apr 15, 2020
@tictacmenthe tictacmenthe added feature New feature HL High Level project related labels Apr 15, 2020
@tictacmenthe tictacmenthe assigned tictacmenthe and unassigned bonnetn May 19, 2020
@tictacmenthe
Copy link
Member Author

Add a condition for simulation or when running outside of the PI, since the GPIO libraries aren't available/functionnal that way.

@tictacmenthe
Copy link
Member Author

Maybe have a script that launches/starts the main script when the start condition occurs.
Also can kill and restart it, select color or other parameters depending on buttons/switches.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature HL High Level project related
Projects
None yet
Development

No branches or pull requests

2 participants