AllenNeuralDynamics / AllenNeuralDynamics/harp.device.environment-sensor

Flesh out Arduino Serial Shim

Aperta
#6 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The Adafruit driver for the BME680 is written for Arduino and calls various arduino-native functions. We've shimmed some of those in Arduino.h/cpp, but not the Serial class (print and println methods), as those methods have many type overloads so it's not as simple as just calling printf.

This doesn't affect normal operation, but if we wanted to use the BME680_DEBUG option to print debug info from the sensor, we'd need the shim.

Having this would also make it easier to use arduino libraries on other pico projects.

Here's an example of something that could probably be leveraged:
https://github.com/earlephilhower/ArduinoCore-API/blob/master/api/Print.h

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.