Skip to content

Commit 74921ae

Browse files
authored
Merge pull request #313 from facchinm/led+arduinographics_fix
Arduino_LED_Matrix: add to CI and fix ArduinoGraphics begin()
2 parents 8b1c030 + 6c28783 commit 74921ae

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Diff for: .github/workflows/compile-examples.yml

+3
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,13 @@ jobs:
8787
- board:
8888
fqbn: "arduino:renesas_uno:unor4wifi"
8989
additional-sketch-paths: |
90+
- libraries/Arduino_LED_Matrix
9091
- libraries/WiFiS3
9192
- libraries/OTAUpdate
9293
- board:
9394
fqbn: "arduino-git:renesas:unor4wifi"
9495
additional-sketch-paths: |
96+
- libraries/Arduino_LED_Matrix
9597
- libraries/WiFiS3
9698
- libraries/OTAUpdate
9799
- libraries/OPAMP
@@ -157,6 +159,7 @@ jobs:
157159
- name: ArduinoDMX
158160
- name: ArduinoRS485
159161
- name: ArduinoIoTCloud
162+
- name: ArduinoGraphics
160163
platforms: |
161164
# Use Board Manager to install the latest release of Arduino Renesas Boards to get the toolchain
162165
- name: "arduino:renesas_uno"

Diff for: libraries/Arduino_LED_Matrix/src/Arduino_LED_Matrix.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ class ArduinoLEDMatrix
169169
void off(size_t pin) {
170170
turnLed(pin, false);
171171
}
172-
bool begin() {
172+
int begin() {
173173
bool rv = true;
174174
uint8_t type;
175175
int8_t ch = FspTimer::get_available_timer(type);

0 commit comments

Comments
 (0)