adafruit / adafruit/RGB-matrix-Panel

Compatible with Arduino uno R4?

Open
#85 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
328
Forks
147
PR merge metrics
No merged PRs in 30d

Description

In member function 'void RGBmatrixPanel::init(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, boolean, uint8_t)':
Library/Arduino15/packages/arduino/hardware/renesas_uno/1.5.3/cores/arduino/Arduino.h:75:92: error: cannot convert 'volatile uint16_t* {aka volatile short unsigned int*}' to 'volatile PortType* {aka volatile long unsigned int*}' in assignment
#define portOutputRegister(port) &(((R_PORT0_Type *)IOPORT_PRV_PORT_ADDRESS(port))->PODR)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the RGBmatrixPanel::init compilation error on an Arduino Uno R4 and read the reported Arduino.h portOutputRegister definition. Compare the library's expected port types with the renesas_uno core; done means the library compiles for the Uno R4 without this conversion error.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino, cpp
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.