dycodex / ESPectro32

The library/component for ESPectro32 development board.
https://dycodex.github.io/ESPectro32
Apache License 2.0
3 stars 2 forks source link

FATAL ERROR #2

Open mutiakk opened 2 years ago

mutiakk commented 2 years ago

Please help me, I want to try some example of espectro32, but there is an error. I try some tutorial but didn't work and it always has the same error.

I use Button and LED Matrix example. until now, it not working. Thank you image image

alwint3r commented 2 years ago

Hi,

Please copy the contents of lib folder/directory of this repository to your Arduino library folder. If you are using windows, the Arduino library location should be in C:\Users\YOUR_USER\Documents\Arduino\library

mutiakk commented 2 years ago

i see more error like this

image
alwint3r commented 2 years ago

Can you post the whole code that you are trying to compile here? Thanks

mutiakk commented 2 years ago

I use this library and already take it in my ESPectro32-0.2.0.zip

and the error is:

#define min(a,b) ((a)<(b)?(a):(b))

the code is: `#include

include

include

ESPectro32_LedMatrix_ScrollTextAnimation ledMatrixTextAnim;

static void load_ex_ledmatrix_anim() { ledMatrixTextAnim.setLedMatrix(ESPectro32.LedMatrix()); ledMatrixTextAnim.scrollText("Hello World!!", 6000); } void setup() { load_ex_ledmatrix_anim(); } void loop() { }`