feat(ex02): done

This commit is contained in:
Maix0 2026-04-24 14:43:35 +02:00
parent b7580c043c
commit 0fe7dbdc0f
23 changed files with 1469 additions and 0 deletions

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

@ -0,0 +1,20 @@
#ifndef MYSTDINT_H
#define MYSTDINT_H
#include <avr/io.h>
typedef unsigned char uint8_t;
typedef signed char int8_t;
typedef uint8_t bool;
#define true (1)
#define false (0)
#define BV(bit) (1 << bit)
#ifndef NULL
#define NULL ((void*)0)
#endif
#endif /* MYSTDINT_H */