SumProject/my_pro/my_func.h

29 lines
572 B
C
Raw Normal View History

2024-08-05 20:57:09 +08:00
#include <drv_lcd.h>
#include <rtthread.h>
#include <stdio.h>
#include <malloc.h>
2024-08-11 15:39:46 +08:00
#define PAGE_MAX 4
2024-08-12 22:40:38 +08:00
#define LCD_MAX 240
2024-08-11 15:39:46 +08:00
#define EVENT_MQTT_ENABLE (1<<3)
// struct rt_event my_event;
2024-08-05 20:57:09 +08:00
void mytime();
2024-08-10 01:11:15 +08:00
void greattime();
2024-08-05 20:57:09 +08:00
void xy_round(int x, int y, int x2, int y2, int r, int ii);
void my_round(int r);
void xy_sink();
void lcd_black(int x, int y);
void lcd_white(int x, int y);
void snake_address(int x, int y, int r, const rt_uint16_t da);
// typedef int QDataType;
// typedef struct QListNode
// {
// QDataType data;
// struct QListNode* next;
// } QueueNode;