mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-18 07:52:14 +01:00
Enable pull-up on pin 0.
This commit is contained in:
parent
05a2d77f15
commit
c2e872149c
@ -348,8 +348,8 @@ void init( void )
|
||||
// Initialize C library
|
||||
__libc_init_array();
|
||||
|
||||
// Disable pull-up on every pin
|
||||
for (int i = 0; i < PINS_COUNT; i++)
|
||||
// Disable pull-up on every pin except RX0
|
||||
for (int i = 1; i < PINS_COUNT; i++)
|
||||
digitalWrite(i, LOW);
|
||||
|
||||
// Initialize Serial port U(S)ART pins
|
||||
|
Loading…
x
Reference in New Issue
Block a user