AllenNeuralDynamics / AllenNeuralDynamics/harp.device.environment-sensor

Flesh out Arduino Serial Shim

Aberta
#6 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
C
Estrelas
0
Forks
0
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.