generated from hulk/gd32e23x_template
Merge remote-tracking branch 'origin/feature-tmp112a' into dev
# Conflicts: # src/LDC1612.c # src/main.c
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,7 @@ int main(void) {
|
||||
delay_ms(500);
|
||||
raw_value = ldc1612_get_raw_channel_result(CHANNEL_0);
|
||||
printf("data:%ld\r\n",raw_value);
|
||||
g_temperature_uint32 = TMP112A_ReadTemperature();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user