AllenNeuralDynamics / AllenNeuralDynamics/harp.device.environment-sensor
Flesh out Arduino Serial Shim
- Ngôn ngữ chính
- C
- Star
- 0
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.