RISC-V board Longan Nano using BME280 with SPI
This is the result of me trying to understand longan nano spi used with a sensor.
It contains various examples that should be reusable in other code
Nano | BME280 |
---|---|
3V3 | Vcc |
G | Gnd |
A4 (NSS0) | CSE |
A5 (SCK0) | SCL |
A6 (MISO0) | SDO |
A7 (MOSI0) | SDA |
Nano | USB2Serial | Comment |
---|---|---|
3V3 | Vcc | not needed if powered via USB or other |
Gnd | Gnd | |
A9 (T0) | Rx | |
A10 (R0) | Tx | not needed if flashing via USB/DFU or JTAG |
why do you find valuable resources only after it is too late. Ok I2C will be easier now :)