This commit is contained in:
2026-06-12 12:40:08 -04:00
parent 200156c432
commit 8303ea9d10
18 changed files with 567 additions and 0 deletions

14
08-74HC595-Snake/error.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef _ERROR_H_
#define _ERROR_H_
#define ERRNO_SUCCESS 0
#define ERRNO_NULLPOINTER 1
#define ERRNO_IO 2
#define ERRNO_TIMEOUT 3
#define ERRNO_CALIBRATION 4
#define ERROR(x) errno=x; return x;
extern int errno;
#endif // _ERROR_H_