MajicDesigns / MD_Parola

Library for modular scrolling LED matrix text displays
GNU Lesser General Public License v2.1
438 stars 135 forks source link

Parola Zone problem reported on Arduino forum #25

Closed MajicDesigns closed 5 years ago

MajicDesigns commented 6 years ago

See details at http://forum.arduino.cc/index.php?topic=545534.0

walterdkn commented 6 years ago

Hi, I just want to let you know that I am playig around with the Parola_Zone_TimeMsg example, I changed it to 4 zones like this:

define MAX_DEVICES 32

... P.setZone(0, 0, 7); P.setZone(1, 8, 15); P.setFont(1, numeric7Seg); P.setZone(2, 16, 23); P.setZone(3, 24, 31);

P.displayZoneText(3, szTime, PA_CENTER, SPEED_TIME, PAUSE_TIME, PA_PRINT, PA_NO_EFFECT); P.displayZoneText(2, szMesg, PA_CENTER, SPEED_TIME, 0, PA_SCROLL_RIGHT, PA_SCROLL_RIGHT); P.displayZoneText(1, szTime, PA_CENTER, SPEED_TIME, PAUSE_TIME, PA_PRINT, PA_NO_EFFECT); P.displayZoneText(0, szMesg, PA_CENTER, SPEED_TIME, 0, PA_SCROLL_LEFT, PA_SCROLL_LEFT); ....

Interesting thing is this works (however, zone 2 stays blank, why ever...); at least there are no crashes and time display is updated in both zones 1 and 3. Parola_Zone_TimeMsg_mod.zip

Maybe this helps...

Greetings, Walter

walterdkn commented 6 years ago

I made my sketch as I intended. This one works with all 4 zones! I attach it for you, though it is not completely finished. BTW: why is "hPa" not displayed, but " a" instead? I did not find out so far.

walterdkn commented 6 years ago

Oops - forgot the attachment yesterday. Here it is.

RF24_Parola_Clock_eigen_180511.zip

Dancopy commented 6 years ago

Hi, I just want to let you know that I am playig around with the Parola_Zone_TimeMsg example, I changed it to 4 zones like this:

define MAX_DEVICES 32

... P.setZone(0, 0, 7); P.setZone(1, 8, 15); P.setFont(1, numeric7Seg); P.setZone(2, 16, 23); P.setZone(3, 24, 31);

P.displayZoneText(3, szTime, PA_CENTER, SPEED_TIME, PAUSE_TIME, PA_PRINT, PA_NO_EFFECT); P.displayZoneText(2, szMesg, PA_CENTER, SPEED_TIME, 0, PA_SCROLL_RIGHT, PA_SCROLL_RIGHT); P.displayZoneText(1, szTime, PA_CENTER, SPEED_TIME, PAUSE_TIME, PA_PRINT, PA_NO_EFFECT); P.displayZoneText(0, szMesg, PA_CENTER, SPEED_TIME, 0, PA_SCROLL_LEFT, PA_SCROLL_LEFT); ....

Interesting thing is this works (however, zone 2 stays blank, why ever...); at least there are no crashes and time display is updated in both zones 1 and 3. Parola_Zone_TimeMsg_mod.zip

Maybe this helps...

Greetings, Walter

Hello walterdkn! Were you able to solve your 'zone 2 blank' problem? I would like, with your permission, to use your code!

MajicDesigns commented 5 years ago

No similar issues reported.

malekhosseini commented 4 years ago

Hi I have same problem with four zone. Buffer of data only have 2 zone data.My code is very complicate. I test walterdkn code and get same result.

walterdkn commented 4 years ago

Hi malekhosseini, in the meantime I reworked the code. This one works for me, a 4-line clock display (time, date, air pressure, temperature). You must take care of variable length in the arrays (e.g. monat[12][12]. I use an Arduino Mega for this, because with a Nano it didn't work good. Greets, walterdkn

GPS_LED_PAROLA_MEGA_201001.zip

malekhosseini commented 4 years ago

Hi walterdkn Thank you. This is not my issues because i use ESP32 with 320k RAM.

Dancopy commented 4 years ago

Hello walterdkn 1) Could you post a video on youtube about what your code does and what components are you using? 2) I don't understand why you are using FastLED? Aren't you using the FC16_HW Matrix? Thank you

Dancopy commented 4 years ago

Waiting for an answer!

walterdkn commented 4 years ago

Hi Dancopy, my reply via email seems not to have reached you. So here is what I wrote and a link to a YT video at the end:

The clock has 60 neopixels for the display of seconds around the matrices. I use the following components:

1st line: static display of time (hh:mm) 2nd line: running display of date (weekday, day, written month, year) 3rd line: static display of air pressure (in hPa) 4th line: static display of temperature (degrees celsius)

I hope this helps a bit. The arduino code is not yet optimized, but runs so far without errors.

Here is a link to a short YT video: https://www.youtube.com/watch?v=qBOvnark3so

Greetings walterdkn

Dancopy commented 4 years ago

Wow! Very cool your project, congratulations and thank you!