Skip to content

Commit 2d3b525

Browse files
authored
feat: define Dx digital pin values (#37)
1 parent 5e1e016 commit 2d3b525

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

src/Notecard.h

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,50 @@
3636
#include "mock/mock-parameters.hpp"
3737
#endif
3838

39+
#ifdef ARDUINO_ARCH_ESP32
40+
41+
#ifdef B0
42+
#undef B0
43+
#endif
44+
#define B0 21
45+
46+
#ifdef D5
47+
#undef D5
48+
#endif
49+
#define D5 14
50+
51+
#ifdef D6
52+
#undef D6
53+
#endif
54+
#define D6 32
55+
56+
#ifdef D9
57+
#undef D9
58+
#endif
59+
#define D9 15
60+
61+
#ifdef D10
62+
#undef D10
63+
#endif
64+
#define D10 33
65+
66+
#ifdef D11
67+
#undef D11
68+
#endif
69+
#define D11 27
70+
71+
#ifdef D12
72+
#undef D12
73+
#endif
74+
#define D12 12
75+
76+
#ifdef D13
77+
#undef D13
78+
#endif
79+
#define D13 13
80+
81+
#endif
82+
3983
/**************************************************************************/
4084
/*!
4185
@brief Class that stores state and functions for interacting with the

0 commit comments

Comments
 (0)