HW_Lib/main.c

28 lines
600 B
C
Raw Normal View History

2024-05-09 05:56:55 +00:00
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "t_spi.h"
2024-05-09 06:38:55 +00:00
#include "t_iic.h"
2024-05-10 05:47:39 +00:00
#include "t_task.h"
#include "t_arg.h"
2024-06-21 05:25:01 +00:00
#include "t_list.h"
2024-06-02 04:57:33 +00:00
#include "tool.h"
2024-05-20 13:53:19 +00:00
#include <time.h>
2024-05-10 05:47:39 +00:00
2024-06-02 04:57:33 +00:00
2024-05-09 05:56:55 +00:00
int main() {
2024-06-02 04:57:33 +00:00
srand((unsigned) time(NULL));
int i = 1;
2024-06-21 05:25:01 +00:00
// POUT((++i) + (++i));
2024-06-02 04:57:33 +00:00
2024-06-21 05:25:01 +00:00
// char str[] = "123.456";
// float result = Str2Float(str);
// printf("Result: %.3f\n", result);
// Test_RunTime("SPI", Test_spi);
2024-06-20 13:58:30 +00:00
// Test_RunTime("IIC", Test_iic);
// Test_RunTime("ArgPase", Test_argpase);
// Test_RunTime("Task", Test_task);
2024-06-21 05:25:01 +00:00
Test_RunTime("List", Test_List);
2024-05-09 05:56:55 +00:00
return 0;
}