Go Down

Topic: 3x3x3 LED cube on steroids (Read 5 times) previous topic - next topic

alparent

I've just finished building this for my son. www.instructables.com/id/LED-Cube-and-Arduino-Lib/

All is working fine except mine seams to be on steroids compared to his!

Could it be that he is not using a 16Mhz crystal but the internal 8Mhz clock instead?

How can I slow mine down?

Thanks for your help

fliggygeek

"Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent di

alparent


fliggygeek

from the sounds of it you may need to find the bit of ode where it says:

Code: [Select]
delay(100);

and change it to be something like:

Code: [Select]
delay(200);
"Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent di

alparent

I've been playing with this during the weekend. And I think the answer is in the library.
There is a bunch of "wait" values I can pass to the library to slow the action down.
I think there are some instructions on how to use is library.....but since I'm not a paying member of that site.....I don<t have access to them. =(

hexskrew

What strikes me as odd about the way yours is executing the code, is that the delay is dynamically changed within the arduino ide to reflect the speed of the board so regardless of what board or what speed you are running, it should end up being the same in the real world....

Could be an error in the libs that was given. That's where I would look.

Go Up