Page 1 of 1

DMD2 Flashing Problem

Posted: Thu Aug 27, 2015 4:17 pm
by kocaeliy
I have a data coming from industrial device as int or float. Total digit are max 5. I can see the all datas on my P10 Led panel. When the datas 1 digit I have no problem. If the digits coming 2 or more, old digits which I can see on P10 flashing in very short time like 50ms. Also at same condition some od LEDs doens't off. In this case I am using DMD2 library. I couln't solve with "DELAY", because the datas coming continuously.

How can I fix this problem?

Can you help me about the transform DMD2 code below to DMD?

Code: Select all

 float Deneme;
Thanks in advance.

Re: DMD2 Flashing Problem

Posted: Thu Aug 27, 2015 11:07 pm
by andrew
Most likely the data is coming in too quckly for the system to display, your sketch will need a short period of time between displaying data to clear the display before showing the new data. You may want to consider using a single-board computer that is faster and has a video output such as a Raspberry Pi - and display the data using an LCD TV-style display.

Re: DMD2 Flashing Problem

Posted: Mon Sep 28, 2015 12:14 pm
by kocaeliy ...

Code: Select all

#include <SPI.h>
#include <DMD2.h>
#include <fonts/Arial_Black_16.h>
#include <fonts/Droid_Sans_16.h>

int counter = 1;
float counter1 = 1;
float counter2;
int sayi,sayi1;
SoftDMD dmd(1,1);  // DMD controls the entire display
DMD_TextBox box(dmd, 0, 0);
// the setup routine runs once when you press reset:
void setup() {

// the loop routine runs over and over again forever:
void loop() {
  if (counter1>1) 
   // box.print(counter);