HW_Lib/main.c

36 lines
858 B
C
Raw Normal View History

2024-05-09 05:56:55 +00:00
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
2024-09-21 05:18:06 +00:00
#include "t_spi.h"
#include "t_iic.h"
#include "t_task.h"
#include "t_arg.h"
#include "t_list.h"
#include "t_key.h"
#include "t_oled.h"
#include "t_lvgl.h"
2024-08-29 08:46:54 +00:00
#include "t_tft.h"
2024-06-02 04:57:33 +00:00
#include "tool.h"
2024-06-22 14:51:58 +00:00
#include <windows.h>
2024-06-25 14:09:23 +00:00
#include <stdint.h>
2024-06-22 15:06:40 +00:00
2024-05-09 05:56:55 +00:00
int main() {
2024-06-02 04:57:33 +00:00
srand((unsigned) time(NULL));
2024-06-22 14:51:58 +00:00
// int i = 1;
// POUT((++i) + (++i));
//
// char str[] = "123.456";
// float result = Str2Float(str);
// printf("Result: %.3f\n", result);
// Test_RunTime("SPI", Test_spi);
// Test_RunTime("IIC", Test_iic);
// Test_RunTime("ArgPase", Test_argpase);
// Test_RunTime("List", Test_List);
// Test_RunTime("Key", Test_Key);
// Test_RunTime("Queue", Test_Queue);
2024-06-22 03:08:31 +00:00
// Test_RunTime("Task", Test_task);
2024-09-16 14:51:12 +00:00
// Test_RunTime("OLED", Test_OLED);
2024-09-21 04:48:44 +00:00
Test_RunTime("TFT", Test_tft);
2024-05-09 05:56:55 +00:00
return 0;
}