Update README.md

This commit is contained in:
mrfaptastic 2020-08-14 10:03:28 +01:00 committed by GitHub
parent d35f4a44f1
commit 303ad944a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,10 +68,7 @@ The panel must be powered by 5V AC adapter with enough current capacity. (Curren
Below is a bare minimum sketch to draw a single white dot in the top left. You MUST call .begin() before you call ANY other function of the RGB64x32MatrixPanel_I2S_DMA class! Below is a bare minimum sketch to draw a single white dot in the top left. You MUST call .begin() before you call ANY other function of the RGB64x32MatrixPanel_I2S_DMA class!
No call to .begin() before use = Crash No call to .begin() before use = Crash
``` ```
/* -------------------------- Class Initialisation -------------------------- */
#include <ESP32-RGB64x32MatrixPanel-I2S-DMA.h> #include <ESP32-RGB64x32MatrixPanel-I2S-DMA.h>
RGB64x32MatrixPanel_I2S_DMA matrix; RGB64x32MatrixPanel_I2S_DMA matrix;