AllenNeuralDynamics / AllenNeuralDynamics/harp.device.environment-sensor

Code Cleanup

未關閉
#1 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C
星號
0
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

Let's submodule the Adafruit library and implement the missing function calls. Doing so should elminate any copy-paste from external repos and keep up with any bugfixes on their end.

To get there, we need to:

## Implement a blank Adafruit_I2CDevice
This is included as `#include `, and we'll need to stub out the read and write functions.

## Implement Adafruit_SPIDevice and read/write functions
````cpp
class Adafruit_SPIDevice
{
// constructor
Adafruit_SPIDevice(cspin, 1000000, SPI_BITORDER_MSBFIRST,
SPI_MODE0, theSPI)
}
````

## Implement Arduino.h
This should be another submodule from AIND. Ask @Poofjunior for the location of this.

## File Organization
Let's submodule https://github.com/adafruit/Adafruit_BME680/tree/master into the **lib** folder.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。