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 d9eff10 commit 65bf207Copy full SHA for 65bf207
cores/nRF5/Arduino.h
@@ -92,7 +92,7 @@ void loop( void ) ;
92
93
#define bit(b) (1UL << (b))
94
95
-#define digitalPinToPort(P) ( &(NRF_GPIO]) )
+#define digitalPinToPort(P) ( &(NRF_GPIO) )
96
#define digitalPinToBitMask(P) ( 1 << g_ADigitalPinMap[P] )
97
//#define analogInPinToBit(P) ( )
98
#define portOutputRegister(port) ( &(port->OUTSET) )
0 commit comments