AllenNeuralDynamics / AllenNeuralDynamics/harp.device.environment-sensor

Flesh out Arduino Serial Shim

オープン
#6 コメント 0 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。