Merged with dev0.1.0

This commit is contained in:
klassents authored and KLASSENTS committed 2025-02-04 14:24:49 +07:00
1 parent 49882b2eb6
commit 0cc714ccf9
22 files changed
+71 -84

No files matched your search

+3 -1
View File
@@ -21,6 +21,7 @@
#include <stdbool.h>
#include <stdint.h>
#include "wiring_private.h"
#define HIGH 0x1
#define LOW 0x0
@@ -80,7 +81,8 @@ enum BitOrder
#define sq(x) ((x)*(x))
// Bits and Bytes
#define bit(b) (1UL << (b))
#define _BV(bit) (1 << (bit)) // from avr-gcc (some arduino libs uses it)
#define bit(b) (1UL << (b))
#define lowByte(w) ((uint8_t) ((w) & 0xff))
#define highByte(w) ((uint8_t) ((w) >> 8))