Go Down

Topic: Trick for 16-rows display using Parola :) (Read 8549 times) previous topic - next topic

Arek00

If you want to create 16-rows display using Parola library you can use my trick  :)  This is how it works:

https://www.youtube.com/watch?v=7nPCIMVUo5g

larryd

No technical PMs.
The last thing you did is where you should start looking.

pi-killer

Hello,

nice work, can you help me i became the error message:

Arduino: 1.6.4 (Windows 8.1), Platine: "Arduino Duemilanove or Diecimila, ATmega328"

big_fonts_demo.ino: In function 'void loop()':
big_fonts_demo:41: error: 'class MD_Parola' has no member named 'synchZoneStart'
big_fonts_demo:46: error: 'class MD_Parola' has no member named 'synchZoneStart'
big_fonts_demo:63: error: 'class MD_Parola' has no member named 'synchZoneStart'
big_fonts_demo:70: error: 'class MD_Parola' has no member named 'synchZoneStart'
big_fonts_demo:75: error: 'class MD_Parola' has no member named 'synchZoneStart'
big_fonts_demo:80: error: 'class MD_Parola' has no member named 'synchZoneStart'
big_fonts_demo:85: error: 'class MD_Parola' has no member named 'synchZoneStart'
big_fonts_demo:90: error: 'class MD_Parola' has no member named 'synchZoneStart'
big_fonts_demo:95: error: 'class MD_Parola' has no member named 'synchZoneStart'
'class MD_Parola' has no member named 'synchZoneStart'

can you tell me why.

Thanks for your help.

Sorry for my bad english i came from germany.

Axel


Arek00


pi-killer

Thank for your fast replay,  now it woks fine.

Axel

The_Undertaker

Nice Work... But when used Latest version MD_MAX72xx_v2.9 getting this error
Can u fix its...
But otherwise work fine with MD_MAX72xx_v2.8




Arduino: 1.6.5 (Windows XP), Board: "Arduino Nano, ATmega328"

C:\Documents and Settings\Baba\My Documents\Arduino\libraries\MD_MAX72xx\src\MD_MAX72xx.cpp:28:17: fatal error: SPI.h: No such file or directory
 #include <SPI.h>
                 ^
compilation terminated.
Error compiling.

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.

robiv8

Have you a tip for this error!


/var/folders/l9/27pqv_zs4zd0xmpx_03blk_m0000gn/T/arduino_modified_sketch_350888/big_fonts_demo.ino: In function 'void loop()':
big_fonts_demo:39: error: 'CENTER' was not declared in this scope
           P.displayZoneText(0, "Create 16-rows display using Parola library", CENTER, 30, 0, SCROLL_LEFT, SCROLL_LEFT);
                                                                               ^
big_fonts_demo:39: error: 'SCROLL_LEFT' was not declared in this scope
           P.displayZoneText(0, "Create 16-rows display using Parola library", CENTER, 30, 0, SCROLL_LEFT, SCROLL_LEFT);
                                                                                              ^
big_fonts_demo:54: error: 'PRINT' was not declared in this scope
           P.displayZoneText(0, "BIG FONT", CENTER, 30, 0, PRINT, NO_EFFECT);
                                                           ^
big_fonts_demo:54: error: 'NO_EFFECT' was not declared in this scope
           P.displayZoneText(0, "BIG FONT", CENTER, 30, 0, PRINT, NO_EFFECT);
                                                                  ^
big_fonts_demo:61: error: 'SCROLL_DOWN' was not declared in this scope
           P.displayZoneText(0, "BIG FONT", CENTER, 30, 2000, PRINT, SCROLL_DOWN);
                                                                     ^
big_fonts_demo:62: error: 'SCROLL_UP' was not declared in this scope
           P.displayZoneText(1, "BIG FONT", CENTER, 30, 2000, PRINT, SCROLL_UP);
                                                                     ^
exit status 1
'CENTER' was not declared in this scope

robiv8

OK i found it selve.

i put a PA_ to the effect.
PA_CENTER and so on.

ycmgxekwa

Hi There

I would really appreciate if someone shows me how the displays are connected together and how are they powered.

Thanks in advance.

marco_c

All this work is now incorporated into the Parola examples.

Please refer to the documentation for the Parola library (either on line or with the software download). Also look at this blog article for information on double height displays.
Arduino Libraries https://github.com/MajicDesigns?tab=Repositories
Parola for Arduino https://github.com/MajicDesigns/Parola
Arduino++ blog https://arduinoplusplus.wordpress.com

mherweg


My display is 8 modules wide and 2 modules high.
The 16-rows demo works nice after adding PA_ to the constants and setting the hardware in MD_MAX72xx.h

Thank you!


Hardware: I use 4 of those:

https://www.aliexpress.com/item/MAX7219-Dot-Matrix-Module-For-Arduino-Microcontroller-4-In-One-Display-with-5P-Line/32620800331.html


vijithcv

All this work is now incorporated into the Parola examples.


I am trying to add simple animation (FADE or SLICE) to the following code in displaying time and date . I am trying to build a simple clock.

Anyone please ,give some ideas.

Code: [Select]


#include <Wire.h>
#include <MD_DS1307.h>
#include <MD_Parola.h>
#include <MD_MAX72xx.h>
#include <SPI.h>
#include <RTClib.h>


#define MAX_DEVICES 4
#define CLK_PIN   13
#define DATA_PIN  11
#define CS_PIN    10

RTC_DS1307 rtc;

MD_Parola P = MD_Parola(DATA_PIN, CLK_PIN, CS_PIN, MAX_DEVICES);
//MD_Parola P = MD_Parola(CS_PIN, MAX_DEVICES);

void setup ()
{

  Wire.begin();
  Serial.begin(57600);
  P.begin();
 

 
 if(! rtc.begin())
  {
    Serial.println("Couldn't find RTC");
    while (1);
  }

 if(! rtc.isrunning())
  {
    Serial.println("RTC is NOT running!");
    // following line sets the RTC to the date & time this sketch was compiled
     rtc.adjust(DateTime(F(__DATE__), F(__TIME__)));
   
  }

}
void loop ()

{

 

DateTime now = rtc.now();
     
char timeStamp[15];
char dateStamp[15];



if(now.hour() > 12)

{
 
  int h = now.hour() - 12 ;
 

sprintf(timeStamp, "%3.2d:%02d", h ,now.minute());



Serial.println(timeStamp);

   
sprintf(dateStamp, "%3.2d/%02d",  now.day(),now.month());   
 
Serial.println(dateStamp);

 
P.print(timeStamp);

if (now.second() == 25 | now.second() == 35)

{
 
P.print(dateStamp);

delay(5000);

}

delay(1000);

}

}
 




marco_c

You will need to get rid of all the delay() calls. These will not work if you want good animations.

Look at the examples in the Parola library, especially those using a clock.
Arduino Libraries https://github.com/MajicDesigns?tab=Repositories
Parola for Arduino https://github.com/MajicDesigns/Parola
Arduino++ blog https://arduinoplusplus.wordpress.com

vijithcv

Look at the examples in the Parola library, especially those using a clock.
My issue is that I am able to print the output "TIME" which is stored in the char timeStamp to the LED display.

Whereas in Parola library the examples are pointing towards a string like "HELLO" and the animation is called. How can i convert my output into a string or a word so that in the library i can replace it.

I am sorry I am unable to understand the complete Animation catalog since I am a beginner. I just need a simple animation to work and if I am able to understand it I can go further .


vijithcv

My issue is that I am able to print the output "TIME" which is stored in the char timeStamp to the LED display.


Code: [Select]


#define SPEED_TIME 25
#define PAUSE_TIME 2000


P.displayText(timeStamp, CENTER, SPEED_TIME, PAUSE_TIME, SCROLL_LEFT, SCROLL_RIGHT);
P.displayAnimate();

OR

P.displayText(timeStamp, SPEED_TIME,PAUSE_TIME,PA_SLICE);
P.displayAnimate();




Since i am typing from my mobile I am unable to add these and see the endresult. So i am asking the Gurus if I can get any animation using the above lines?

Or am i missing anything here.

I just want to add animation to the time displayed in the matrix display.

Go Up