From 61156f797b0585f4c8fcc04a7666adf829dee3ec Mon Sep 17 00:00:00 2001 From: fritzlb <106099434+fritzlb@users.noreply.github.com> Date: Mon, 11 Mar 2024 19:03:35 +0100 Subject: [PATCH 1/2] Add hint MISO/MOSI -> CIPO/COPI The Arduino documentation uses the new CIPO/COPI terminology while the whole arduino core still uses the old MISO/MOSI. While I thought about changing everything in the arduino cores, this would break many old sketches so I figuered adding a hint is the way to go. Also, only changing terminology in this sketch doesn't work for consistency reasons, eg. beginning in line 106. --- examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino b/examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino index bbbcdc9..c614c91 100644 --- a/examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino +++ b/examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino @@ -3,6 +3,9 @@ // If you require a license, see // https://opensource.org/licenses/bsd-license.php // +// Please note that this sketch still uses MISO/MOSI instead of CIPO/COPI. +// For further details, see https://docs.arduino.cc/learn/communication/spi +// // This sketch turns the Arduino into a AVRISP using the following Arduino pins: // // Pin 10 is used to reset the target microcontroller. From 58cf44a15a18560087ac18fc23238e437867dac9 Mon Sep 17 00:00:00 2001 From: fritzlb <106099434+fritzlb@users.noreply.github.com> Date: Mon, 11 Mar 2024 22:54:11 +0100 Subject: [PATCH 2/2] Update examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino Co-authored-by: per1234 --- examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino b/examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino index c614c91..6ceb85f 100644 --- a/examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino +++ b/examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino @@ -3,7 +3,8 @@ // If you require a license, see // https://opensource.org/licenses/bsd-license.php // -// Please note that this sketch still uses MISO/MOSI instead of CIPO/COPI. +// Note that this sketch refers to the SPI bus pins using the legacy MISO/MOSI +// names rather than the modern CIPO/COPI names. // For further details, see https://docs.arduino.cc/learn/communication/spi // // This sketch turns the Arduino into a AVRISP using the following Arduino pins: