benwinding / LEDMatrix64-Arduino

Based on "tomaskovacik/arduino" but altered for a 64x32 pixel LED display
MIT License
1 stars 0 forks source link

This sketch with ESP8266 Nodemcu #1

Open Dancopy opened 5 years ago

Dancopy commented 5 years ago

Hi friend! I have a LED Matrix Panel 64x32 Bicolor (1R1G) HUB08; Is it possible to use your sketch on this panel with Arduino Uno or ESP8266 Nodemcu? If yes, how to connect the pins on Nodemcu? Thank you

benwinding commented 5 years ago

Hi Dancopy,

Thanks for reaching out!

It's been a while since I've used this library. Looking back at the README and examples, I'm ashamed at how unclear it is :disappointed: I will try and update the README documents in the next few days to be clearer.

Anyway, I used the Arduino Nano in my project, but I'm sure that the similar Arduino Uno will work too (possibly the Nodemcu too). Please refer to these libraries for more information on how to connect the wires:

Cheers, Ben

Dancopy commented 5 years ago

First, thanks for the reply! Is that my Matrix is Bicolor (1R1G) 64x32 HUB08; The pins are:

N > A N > B N > C OE > D R1 > G1 R2 > G2 N > L (Latch) N > S (CLK)

Thanks+

Dancopy commented 5 years ago

I'd love to use your sketches but, here's the startup error by opening the "queueStrings" sketch. I added the libraries "LEDMatrix64.cpp and .h" and "font5x7" into tabs; and the "Queuer" library in the Arduino libraries folder.

Arduino: 1.8.5 (Windows 10), Placa:"Arduino/Genuino Uno" In file included from D:\Arduino\LEDs Matriz 64x32\LEDMatrix64-Arduino (Jan.2019)\examples\queueStrings\queueStrings.ino:3:0:

C:\Users\Daniel\Documents\Arduino\libraries\Queuer/Queuer.h:6:31: fatal error: StandardCplusplus.h: No such file or directory

include

                           ^

compilation terminated.

exit status 1 Compiling Error for Arduino / Genuine One Card

Thanks++

Dancopy commented 5 years ago

Hi friend! This last question has been resolved; I had to add the library "StandardCplusplus" in Arduino. I have some questions: 1) The only sketch that worked was the "queueStrings" but, the message only rolls once and stops; that's right? 2) The "queueStringsRandom" sketch shows the error:

queueStringsRandom: 55: error: 'string' does not name a type

string getRandomPhrase () { ^ queueStringsRandom: 66: error: variable or field 'pushRandomRow' declared void

void pushRandomRow (string msg) { ^ queueStringsRandom: 66: error: 'string' was not declared in this scope

exit status 1 'string' does not name a type

I could not solve it!

And the other sketches did not show anything. Do you have anything else for this card, like multi-color scrolling or some sketch for a clock? Thank you very much