We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57784ca commit ac7870dCopy full SHA for ac7870d
avr/cores/picocore/constants.h
@@ -1,11 +1,8 @@
1
// global constants
2
#include <stdint.h>
3
4
-static const uint8_t LOW = 0;
5
-static const uint8_t HIGH = 1;
6
-//static const uint8_t LED_BUILTIN = 2;
+enum {LOW = 0, HIGH};
7
enum {LED_BUILTIN = 2};
8
-//static const uint8_t NUM_DIGITAL_PINS = 6;
9
enum {NUM_DIGITAL_PINS = 6};
10
11
typedef enum {MSBFIRST = 0, LSBFIRST} _bitOrder;
0 commit comments