You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

37 lines
488 B
C

/*
* oracle.c
*
* Created: 5/3/2020 7:24:09 PM
* Author: Penguin
*/
#include "oracle.h"
#include "p_usart.h"
#include "p_gpio.h"
#include "p_i2c.h"
#include "p_tcc.h"
#include "lvgl/lvgl.h"
#include "p_ssd1963.h"
#include "p_screen.h"
void oracle_init(void)
{
// init mcu
init_mcu();
// uart init
p_usart_init();
// i2c init
p_i2c_init();
// gpio init
p_gpio_init();
// time init
p_time_init();
p_screen_init();
}
void oracle_service(void)
{
p_screen_service();
}