Jump to content
Sign in to follow this  
Guest james

led cube kit example code wont compile

Recommended Posts

Guest james

I bought the led shield kit out the other day finaly finished soldering it but cant compile the code im using a arduino uno and keep getting theses errors

 

sketch_nov08a.ino:8:1: error: ‘prog_uchar’ does not name a type
sketch_nov08a.ino: In function ‘void loop()’:
sketch_nov08a.ino:290:29: error: ‘PatternTable’ was not declared in this scope
 

im new to arduino this is my first time making anything for it im using the example code linkspirit provided I just want to see it working for now is there any other code written by anyone else i could try out i would realy apreiciate it

Share this post


Link to post
Share on other sites

I bought the led shield kit out the other day finaly finished soldering it but cant compile the code im using a arduino uno and keep getting theses errors

 

sketch_nov08a.ino:8:1: error: ‘prog_uchar’ does not name a type

sketch_nov08a.ino: In function ‘void loop()’:

sketch_nov08a.ino:290:29: error: ‘PatternTable’ was not declared in this scope

 

im new to arduino this is my first time making anything for it im using the example code linkspirit provided I just want to see it working for now is there any other code written by anyone else i could try out i would realy apreiciate it

Which code did you use?

Share this post


Link to post
Share on other sites
Guest james

im using linux and i have arduino IDE 1:104 im going to upgrade now and see if it will compile thanks for helping me out :)

Share this post


Link to post
Share on other sites
Guest james

tried compiling with arduino1.06 and now im getting these errors:

 

sketch_nov12a:8: error: ‘PROGEM’ does not name a type
sketch_nov12a.ino: In function ‘void loop()’:
sketch_nov12a:289: error: ‘PatternTable’ was not declared in this scope

 

Share this post


Link to post
Share on other sites
Guest james

i just changed line 8 from: PROGEM prog_uchar PatternTable[] = {

 

to:     PROGMEM const unsigned char PatternTable[] = {

 

it compiled now so im going to try it when i fix the headers some of them came loose when taking it off the board thats my bad soldering ha

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×