AberdeenRSS / AberdeenRSS/FlightComputer
Implement I2C support for raspberry pi
- Lenguaje dominante
- Python
- Estrellas
- 0
- Forks
- 2
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Implement a part that can talk to other micro controllers over the I2C bus utilizing the GPIO headers on the raspberry.
This part needs to be able to be configured from the outside to register different actual components on the bus, like sensors. This could be inspired by how the current ArduinoSerial part is implemented. This part lets you either send commands over the serial port or register callbacks to be received if certain messages are coming in. For I2C we would probably want to center this implementation around the I2C device addresses such that callbacks can be defined for each of them and any outgoing commands are centered around them.
In addition to this it would also be useful to collect general statistic in the part, like if the connection is healty, how many incoming and outgoing messages have been sent, etc.
Note: Depending on the sensors used there might be dedicated I2C libraries, using those instead in a dedicated part could be simpler and quicker, see issues
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.