generated from hulk/gd32e23x_template
finish tmp112a
This commit is contained in:
parent
de211abf4e
commit
f279251ff7
@ -14,6 +14,7 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#define LDC1612_ADDR (0x2B << 1)
|
||||
#define TMP112A_ADDR (0x49 << 1)
|
||||
|
||||
/*Register Rddr*/
|
||||
/***************************************************************************/
|
||||
|
@ -86,7 +86,6 @@ void I2C_scan(void) {
|
||||
|
||||
int LDC1612_IIC_read_16bits(void) {
|
||||
uint8_t data[2] = {0};
|
||||
uint16_t raw_temp = 0;
|
||||
uint16_t timeout = 0;
|
||||
|
||||
i2c_ack_config(I2C0, I2C_ACK_ENABLE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user