From 669a32ca2d508ceb7857e043aa4a5b108c7df426 Mon Sep 17 00:00:00 2001 From: Gonzalo Martinez Date: Fri, 7 Apr 2023 13:47:22 -0600 Subject: [PATCH 1/2] Stream class doumentation is now added to the Arduino Style Guide for Creating Libraries --- .../arduino-library-style-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/learn/08.contributions/01.arduino-library-style-guide/arduino-library-style-guide.md b/content/learn/08.contributions/01.arduino-library-style-guide/arduino-library-style-guide.md index 4232971cea..a7bd57623c 100644 --- a/content/learn/08.contributions/01.arduino-library-style-guide/arduino-library-style-guide.md +++ b/content/learn/08.contributions/01.arduino-library-style-guide/arduino-library-style-guide.md @@ -25,7 +25,7 @@ This is a style guide to writing library APIs in an Arduino style. Some of these **Use the established core libraries and styles.** * Use `read()` to read inputs, and `write()` to write to outputs, e.g. `digitalRead()`, `analogWrite()`, etc. -* Use the `Stream` and `Print` classes when dealing with byte streams. If it’s not appropriate, at least try to use its API as a model. For more on this, see below +* Use the [`Stream`](https://www.arduino.cc/reference/en/language/functions/communication/stream/) and `Print` classes when dealing with byte streams. If it’s not appropriate, at least try to use its API as a model. For more on this, see below * For network applications, use the `Client` and `Server` classes as the basis. * Use `begin()` to initialize a library instance, usually with some settings. Use `end()` to stop it. * Use camel case function names, not underscore. For example, **analogRead**, not **analog_read**. Or **myNewFunction**, not **my_new_function**. We've adopted this from Processing.org for readability's sake. From be6dadf5ed1412aa85c880307db82d35d6b4f020 Mon Sep 17 00:00:00 2001 From: Gonzalo Martinez Date: Mon, 10 Apr 2023 00:40:04 -0600 Subject: [PATCH 2/2] mapped pin name changed on due pin 71 --- content/hacking/02.hardware/PinMappingSAM3X/PinMappingSAM3X.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/hacking/02.hardware/PinMappingSAM3X/PinMappingSAM3X.md b/content/hacking/02.hardware/PinMappingSAM3X/PinMappingSAM3X.md index 5aa80cc10c..2130bac571 100644 --- a/content/hacking/02.hardware/PinMappingSAM3X/PinMappingSAM3X.md +++ b/content/hacking/02.hardware/PinMappingSAM3X/PinMappingSAM3X.md @@ -80,7 +80,7 @@ tags: |68| PA1| CANRX| 3| 6| |69| PA0| CANTX| 15| 9| |70| PA17| SDA1| 3| 6| -|71| PA18| SCL2| 15| 9| +|71| PA18| SCL1| 15| 9| |72| PC30| LED "RX"| 15| 9| |73| PA21| LED "TX"| 3| 6| |74| PA25| (MISO)| 15| 9|