File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ bool OpampClass::begin() {
8282}
8383
8484bool OpampClass::begin (OpampSpeedMode speed) {
85- return this ->begin (1u << ARDUINO_DEFAULT_OPAMP_CHANNEL , speed);
85+ return this ->begin (1u << ARDUINO_UNO_R4_DEFAULT_OPAMP_CHANNEL , speed);
8686}
8787
8888bool OpampClass::begin (uint8_t const channel_mask, OpampSpeedMode speed) {
Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ enum OpampSpeedMode {
1212
1313/* The supported boards have 4 OPAMP channels, however, only channel 0 is accessible. */
1414/* All other channels are connected to the LED matrix or not exposed. */
15- #define ARDUINO_DEFAULT_OPAMP_CHANNEL 0
15+ #define ARDUINO_UNO_R4_DEFAULT_OPAMP_CHANNEL 0
1616
1717/* *
1818 * Pin Mapping for OPAMP
19- * Uno R4 (Minima, WiFi):
19+ * Arduino UNO R4 (Minima, WiFi):
2020 * ~Channel 0~
2121 * Plus: Analog A1 (Renesas P0.00)
2222 * Minus: Analog A2 (Renesas P0.01)
You can’t perform that action at this time.
0 commit comments