used defines instead of integers
This commit is contained in:
parent
6e16be8d16
commit
41723c6d3e
@ -1,13 +1,13 @@
|
|||||||
// An example of how you could make a 7 segment display, display different numbers
|
// An example of how you could make a 7 segment display, display different numbers
|
||||||
|
|
||||||
static int A = 13;
|
#define A 13
|
||||||
static int B = 11;
|
#define B 11
|
||||||
static int C = 8;
|
#define C 8
|
||||||
static int D = 9;
|
#define D 9
|
||||||
static int E = 7;
|
#define E 7
|
||||||
static int F = 12;
|
#define F 12
|
||||||
static int G = 10;
|
#define G 10
|
||||||
static int DP = 6;
|
#define DP 6
|
||||||
|
|
||||||
void setNumber(int n);
|
void setNumber(int n);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user