We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b418483 commit 574a2baCopy full SHA for 574a2ba
1 file changed
sduino/hardware/sduino/stm8/cores/sduino/Arduino.h
@@ -128,6 +128,7 @@ void yield(void);
128
#define clockCyclesToMicroseconds(a) ( (a) / clockCyclesPerMicrosecond() )
129
#define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() )
130
131
+#define byte(w) ((uint8_t)(w))
132
#define lowByte(w) ((uint8_t) ((w) & 0xff))
133
#define highByte(w) ((uint8_t) ((w) >> 8))
134
0 commit comments