mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 11:54:30 +03:00
Add BME280 over SPI
This commit is contained in:
@@ -13,21 +13,29 @@ Protocol:
|
||||
|
||||
```
|
||||
|
||||
dn - draw nth image in ASCII
|
||||
gn - get nth image 'as is' - float array of 768x4 bytes
|
||||
l - list active sensors IDs
|
||||
mn - show temperature map of nth image
|
||||
tn - show nth image aquisition time
|
||||
B - reinit BME280
|
||||
E - get environment parameters (temperature etc)
|
||||
G - get MLX state
|
||||
R - reset device
|
||||
T - print current Tms
|
||||
Debugging options:
|
||||
aa - change I2C address to a (a should be non-shifted value!!!)
|
||||
c - continue MLX
|
||||
d - draw image in ASCII
|
||||
i0..4 - setup I2C with speed 10k, 100k, 400k, 1M or 2M (experimental!)
|
||||
p - pause MLX
|
||||
r0..3 - change resolution (0 - 16bit, 3 - 19-bit)
|
||||
t - show temperature map
|
||||
C - "cartoon" mode on/off (show each new image)
|
||||
D - dump MLX parameters
|
||||
G - get MLX state
|
||||
Ia addr - set device address
|
||||
s - stop MLX (and start from zero @ 'c')
|
||||
C - "cartoon" mode on/off (show each new image) - USB only!!!
|
||||
Dn - dump MLX parameters for sensor number n
|
||||
Ia addr [n] - set device address for interactive work or (with n) change address of n'th sensor
|
||||
Ir reg n - read n words from 16-bit register
|
||||
Iw words - send words (hex/dec/oct/bin) to I2C
|
||||
Is - scan I2C bus
|
||||
T - print current Tms
|
||||
Us - send string 's' to other interface
|
||||
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user