Skip to content

Commit 4ad6141

Browse files
committed
the pin mode is changed to INPUT mode, arduino#28
1 parent 7b881bb commit 4ad6141

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cores/arduino/wiring.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ void init( void )
9797
PM->APBCMASK.reg |= PM_APBCMASK_ADC | PM_APBCMASK_DAC ;
9898

9999
// Setup all pins (digital and analog) in INPUT mode (default is nothing)
100-
for ( ul = 0 ; ul < NUM_DIGITAL_PINS ; ul++ )
101-
{
102-
pinMode( ul, INPUT ) ;
103-
}
100+
// for ( ul = 0 ; ul < NUM_DIGITAL_PINS ; ul++ )
101+
// {
102+
// pinMode( ul, INPUT ) ;
103+
// }
104104

105105
// Initialize Analog Controller
106106
// Setting clock

0 commit comments

Comments
 (0)