mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 11:54:30 +03:00
add command reset, fix some troubles
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
#define TSYS01_START_CONV (0x48)
|
||||
#define TSYS01_PROM_ADDR0 (0xA0)
|
||||
// conversion time (with reserve)
|
||||
#define CONV_TIME (15)
|
||||
#define CONV_TIME (25)
|
||||
|
||||
uint8_t read_i2c(uint8_t addr, uint32_t *data, uint8_t nbytes);
|
||||
uint8_t write_i2c(uint8_t addr, uint8_t data);
|
||||
|
||||
Reference in New Issue
Block a user