28 lines
442 B
C
28 lines
442 B
C
#include "config.h"
|
|
#include "GPIO.h"
|
|
#include "tm1650.h"
|
|
#include "timer.h"
|
|
#include "UART.h"
|
|
#include "STDIO.H"
|
|
#include "delay.h"
|
|
#include "common.h"
|
|
#include "EEPROM.h"
|
|
|
|
void main()
|
|
{
|
|
TM1650_init();
|
|
Timer_config();
|
|
GPIO_config();
|
|
UART_config();
|
|
getconfig();
|
|
EA = 1;
|
|
delay_ms(10);
|
|
while (1)
|
|
{
|
|
shuju();
|
|
keyscan();
|
|
display();
|
|
run();
|
|
printf("%d\r\n", timex);
|
|
}
|
|
} |