ericlathrop / LedGrid

2 stars 0 forks source link

Some errors compiling #1

Open neilclavin opened 10 years ago

neilclavin commented 10 years ago

Hi Eric

Great looking piece of code and thanks for sharing.

I can't seem to compile the program. I downloaded the folder opened it in Arduino but I get these 2 errors.. any ideas?

Thanks!, Neil

/Users/Work/Documents/Arduino/libraries/LedGrid_master/Pattern.cpp: In function 'void scrollPattern(const proguchar ()[7][5], const proguchar ()[7][5], unsigned int, unsigned int, unsigned int)': /Users/Work/Documents/Arduino/libraries/LedGrid_master/Pattern.cpp:54: error: 'delay' was not declared in this scope

ericlathrop commented 10 years ago

It's been a few years since I've done anything with this code, but I think delay() is an Arduino built-in function. http://arduino.cc/en/Reference/delay#.UxclKoVni1k I'm not sure why it's not defined for you. Unfortunately, I didn't include a Makefile in the code. Maybe it's just a missing compiler flag?

neilclavin commented 10 years ago

Hi Eric

Thanks for the response. I went through my code version and found i had a library in the wrong place.

Your code is perfect and I have it working now!

Thanks again for sharing the code and responding to me!

Neil

On 5 Mar 2014, at 14:25, Eric Lathrop notifications@github.com wrote:

It's been a few years since I've done anything with this code, but I think delay() is an Arduino built-in function. http://arduino.cc/en/Reference/delay#.UxclKoVni1k I'm not sure why it's not defined for you. Unfortunately, I didn't include a Makefile in the code. Maybe it's just a missing compiler flag?

— Reply to this email directly or view it on GitHub.