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 89184a3 commit 8d95899Copy full SHA for 8d95899
build/shared/examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino
@@ -176,7 +176,6 @@ static BitBangedSPI SPI;
176
void setup() {
177
SERIAL.begin(19200);
178
179
- SPI.beginTransaction(SPISettings(SPI_CLOCK, MSBFIRST, SPI_MODE0));
180
181
pinMode(LED_PMODE, OUTPUT);
182
pulse(LED_PMODE, 2);
@@ -360,6 +359,7 @@ void set_parameters() {
360
359
361
void start_pmode() {
362
SPI.begin();
+ SPI.beginTransaction(SPISettings(SPI_CLOCK, MSBFIRST, SPI_MODE0));
363
// SPI.begin() has configured SS as output,
364
// so SPI master mode is selected.
365
// We have defined RESET as pin 10,
0 commit comments