This repository has been archived on 2024-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
justhomework/MCU/Final_Design/main.c

20 lines
224 B
C
Raw Normal View History

2022-05-07 05:56:47 +00:00
#include "delay.h"
#include "main.h"
#include "display.h"
2022-05-07 11:39:50 +00:00
extern unsigned char isGAMEOVER;
extern unsigned char isVICTROY;
2022-05-07 05:56:47 +00:00
int main()
{
init();
clear();
while(1)
{
2022-05-07 11:39:50 +00:00
if(!isGAMEOVER && !isVICTROY);
2022-05-07 05:56:47 +00:00
draw();
2022-05-07 11:39:50 +00:00
2022-05-07 05:56:47 +00:00
}
}