timer int LED
This commit is contained in:
@@ -37,6 +37,7 @@ OF SUCH DAMAGE.
|
||||
#include <stdio.h>
|
||||
#include "main.h"
|
||||
// #include "gd32e230c_eval.h"
|
||||
#include "timer.h"
|
||||
#include "board_init.h"
|
||||
#include "chirp_board_config.h"
|
||||
#include "chirp_bsp.h"
|
||||
@@ -277,10 +278,12 @@ int main(void)
|
||||
}
|
||||
printf("Starting measurements\n");
|
||||
|
||||
timer_config();
|
||||
|
||||
while (1)
|
||||
{
|
||||
handle_data_ready(grp_ptr);
|
||||
chbsp_led_toggle(dev_num);
|
||||
// chbsp_led_toggle(dev_num);
|
||||
delay_ms(MEASUREMENT_INTERVAL_MS);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user