generated from hulk/gd32e23x_template
finish tmp112a
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
#include "RS485.h"
|
||||
#include "LDC1612.h"
|
||||
|
||||
uint32_t g_temperature_uint32;
|
||||
|
||||
void led_config(void)
|
||||
{
|
||||
rcu_periph_clock_enable(LED_RCU);
|
||||
@@ -64,6 +66,8 @@ int main(void)
|
||||
delay_ms(1000);
|
||||
|
||||
while(1){
|
||||
g_temperature_uint32 = TMP112A_ReadTemperature();
|
||||
delay_ms(500);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user