This commit is contained in:
Maix0 2026-04-14 16:38:09 +02:00
parent 7eb2daf73f
commit e1f30e6f6d
12 changed files with 290 additions and 5 deletions

15
ex02/include/mystd.h Normal file
View file

@ -0,0 +1,15 @@
#ifndef MYSTDINT_H
#define MYSTDINT_H
typedef unsigned int uint16_t;
typedef signed int int16_t;
typedef unsigned char uint8_t;
typedef signed char int8_t;
typedef uint8_t bool;
#define true (1)
#define false (0)
#endif /* MYSTDINT_H */

8
ex02/include/utils.h Normal file
View file

@ -0,0 +1,8 @@
#ifndef UTILS_H
#define UTILS_H
#include "mystd.h"
void delay_ms(uint16_t count);
#endif /* UTILS_H */