feat(ex01): done

This commit is contained in:
Maix0 2026-04-15 23:06:26 +02:00
parent 20cab5c109
commit 3b45f18fa0
No known key found for this signature in database
5 changed files with 159 additions and 0 deletions

15
ex01/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 */

10
ex01/include/utils.h Normal file
View file

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