AllenNeuralDynamics / AllenNeuralDynamics/harp.device.environment-sensor

Flesh out Arduino Serial Shim

未关闭
#6 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。