mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-29 18:52:13 +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
|
// Initialize C library
|
||||||
__libc_init_array();
|
__libc_init_array();
|
||||||
|
|
||||||
// Disable pull-up on every pin
|
// Disable pull-up on every pin except RX0
|
||||||
for (int i = 0; i < PINS_COUNT; i++)
|
for (int i = 1; i < PINS_COUNT; i++)
|
||||||
digitalWrite(i, LOW);
|
digitalWrite(i, LOW);
|
||||||
|
|
||||||
// Initialize Serial port U(S)ART pins
|
// Initialize Serial port U(S)ART pins
|
||||||
|
Loading…
x
Reference in New Issue
Block a user