Jump to content


Photo

4x4x4 LED Shield N08DH examples do not compile

led shield

  • Please log in to reply
1 reply to this topic

#1 kitkat

kitkat

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 05 January 2016 - 03:17 PM

built the shield but example sketch will not complie get this error running on an UNO v3, ide 1.6.7

Arduino: 1.6.7 (Windows 10), Board: "Arduino/Genuino Uno"
CUBE_V2:8: error: 'prog_uchar' does not name a type
 prog_uchar PROGMEM PatternTable[] = {
 ^
In file included from C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:32:0,
                 from sketch\CUBE_V2.ino.cpp:1:
C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino/binary.h:34:15: error: expected unqualified-id before numeric constant
 #define B0001 1
               ^
C:\Users\paul\Documents\Arduino\sketch_cube\CUBE_V2\CUBE_V2.ino:12:1: note: in expansion of macro 'B0001'
 B0001,B0000,B0000,B0000,B0001,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,10,
 ^
CUBE_V2:248: error: expected declaration before '}' token
 };
 ^
exit status 1
'prog_uchar' does not name a type

 

Can anyone help please?

 



 



#2 youkee

youkee

    Advanced Member

  • Administrators
  • 237 posts

Posted 06 January 2016 - 01:17 AM

change:
prog_uchar PROGMEM PatternTable[] = {
 
to:
 
PROGMEM const unsigned char PatternTable[] = {





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users