UNO WiFi R4 AHT20 to led matrix

I want to share with you my current trials with an Arduino Uno WiFi R4 that I just received.
In Github I forked a repo from Clemens Valens (Elektor): led matrix.

I added a modified example,
see: AHT20 sensor values to led matrix

Image of R4 and AHT20

Good stuff

Can I suggest that instead of hard coding the size of led_matrix_buffer you do this instead

uint8_t led_matrix_buffer[5 * sizeof(banner_text)];

Hi @UKHeliBob, thank you for your suggestion!

Rapid answer: to the length of banner_text will be added the value of temp or humidity. Currently it will be 20 characters. So, for the moment I changed (decreased) the value of BANNER_LEN to 21.

uint8_t led_matrix_buffer[5 * BANNER_LEN];

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.