Reply to topic  [ 14 posts ]  Go to page Previous  1, 2
Colorduino RGB matrix development board (HCDVBD0015) 
Author Message

Joined: Sat Nov 25, 2017 6:37 pm
Posts: 8
Post Re: Colorduino RGB matrix development board (HCDVBD0015)
Greetings!
"Hello_World.cpp" for me worked perfectly but "Hello_World_Using_HCTimer2" did not light anything in the Matrix;
I would also like to know how to link several Colorduino together to display text; Thanks for the code


Sat Nov 25, 2017 8:21 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 779
Post Re: Colorduino RGB matrix development board (HCDVBD0015)
It looks like the while(1) line is being optimised out causing the print line to be repeatedly run. The library and sketches are quite old now so my guess is something has changed it in a recent version of the Arduino IDE to break the sketch. I've fixed the problem simply by moving the print line to the setup() section so it's only run once then removed the while() function. See updated sketch in first post.

Quote:
I would also like to know how to link several Colorduino together to display text;


You would need to program each board separately and then use either the serial interface or I2C interface to send serial commands to and from each board to synchronize them with one another. So for instance you could send a serial command to each board to trigger when to start automatic scrolling with each one being offset by one character, or use the DisplayPos(Position) function to directly control what part of the text string is displayed and then send the position for each board via the serial port.

_________________
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.


Mon Nov 27, 2017 11:58 am
Profile

Joined: Sat Nov 25, 2017 6:37 pm
Posts: 8
Post Re: Colorduino RGB matrix development board (HCDVBD0015)
Greetings andrew! First, thanks for the reply, my friend!
Sorry, my knowledge is very little about it and I do not understand.
If you could, for goodness, explain to me, I have 2 Colorduinos and would like to write a scrolling message, for example, Happy Easter;
How would I do this in the code you posted (Hello_World)?
Thanks again


Thu Jan 18, 2018 8:46 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 779
Post Re: Colorduino RGB matrix development board (HCDVBD0015)
I'm afraid what you're trying to do would be too complicated to explain in one post but my first suggestion is that what you are tying to do would be too complicated using the auto scroll feature of the library. So I would suggest turning this feature off with the HCColorDuino.ScrollOff() library function and manually setting the position of your message on the module with the HCColorDuino.DisplayPos(Position) function.

You can find more information about these two library functions in the first post of this thread:

viewtopic.php?f=58&t=1675

If you can master the DisplayPos() function you can move on from there.

_________________
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.


Fri Jan 19, 2018 4:52 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 14 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Thank you to phpBB.com & phpBB.ro.
Design created by Florea Cosmin Ionut.
© 2011 All contents of this site are © Hobby Components LTD