mirror of https://github.com/noisymime/Arduino.git
The delay between reset and the enter progmode command got lost when introducing the SPI library. Put it back in.
This commit is contained in:
parent
93b31b6cfa
commit
56e09109df
|
@ -251,6 +251,7 @@ void start_pmode() {
|
||||||
digitalWrite(SCK, LOW);
|
digitalWrite(SCK, LOW);
|
||||||
delay(20);
|
delay(20);
|
||||||
digitalWrite(RESET, LOW);
|
digitalWrite(RESET, LOW);
|
||||||
|
delay(50);
|
||||||
spi_transaction(0xAC, 0x53, 0x00, 0x00);
|
spi_transaction(0xAC, 0x53, 0x00, 0x00);
|
||||||
pmode = 1;
|
pmode = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue