Show Posts
Pages: [1]
1  Products / Arduino Due / Re: LPD8806 RGB LED strip support on: December 02, 2012, 10:44:42 pm
Thanks, that helped to clear a bunch of my errors.  I still have a few more.  I'm not sure if the type RwReg and uint8_t are the
same, and also the SPI_CLOCK_DIV8 doesn't seem to be declared, and I'm not sure what value it should be.

Thanks,
Jon

C:\Users\Jon\Downloads\arduino\arduino-1.5.1r2\libraries\LPD8806_master\LPD8806.cpp: In member function 'void LPD8806::updatePins(uint8_t, uint8_t)':
C:\Users\Jon\Downloads\arduino\arduino-1.5.1r2\libraries\LPD8806_master\LPD8806.cpp:62: error: cannot convert 'volatile RwReg*' to 'volatile uint8_t*' in assignment
C:\Users\Jon\Downloads\arduino\arduino-1.5.1r2\libraries\LPD8806_master\LPD8806.cpp:64: error: cannot convert 'volatile RwReg*' to 'volatile uint8_t*' in assignment
C:\Users\Jon\Downloads\arduino\arduino-1.5.1r2\libraries\LPD8806_master\LPD8806.cpp: In member function 'void LPD8806::startSPI()':
C:\Users\Jon\Downloads\arduino\arduino-1.5.1r2\libraries\LPD8806_master\LPD8806.cpp:84: error: 'SPI_CLOCK_DIV8' was not declared in this scope
2  Products / Arduino Due / Re: LPD8806 RGB LED strip support on: November 30, 2012, 12:11:29 am
bump.

I have a similar problem.  I'm getting compile errors when trying to verify the LEDbeltKit example.  I'm doing
this in Arduino 1.5.1r2.  Any ideas on what header file needs updating?

Thanks,
Jon



C:\Users\Jon\Downloads\arduino\arduino-1.5.1r2\libraries\LPD8806_master\LPD8806.cpp: In member function 'void LPD8806::updatePins(uint8_t, uint8_t)':
C:\Users\Jon\Downloads\arduino\arduino-1.5.1r2\libraries\LPD8806_master\LPD8806.cpp:62: error: cannot convert 'volatile RwReg*' to 'volatile uint8_t*' in assignment
C:\Users\Jon\Downloads\arduino\arduino-1.5.1r2\libraries\LPD8806_master\LPD8806.cpp:64: error: cannot convert 'volatile RwReg*' to 'volatile uint8_t*' in assignment
C:\Users\Jon\Downloads\arduino\arduino-1.5.1r2\libraries\LPD8806_master\LPD8806.cpp: In member function 'void LPD8806::startSPI()':
C:\Users\Jon\Downloads\arduino\arduino-1.5.1r2\libraries\LPD8806_master\LPD8806.cpp:84: error: 'SPI_CLOCK_DIV8' was not declared in this scope
C:\Users\Jon\Downloads\arduino\arduino-1.5.1r2\libraries\LPD8806_master\LPD8806.cpp:89: error: 'SPDR' was not declared in this scope
C:\Users\Jon\Downloads\arduino\arduino-1.5.1r2\libraries\LPD8806_master\LPD8806.cpp: In member function 'void LPD8806::show()':
C:\Users\Jon\Downloads\arduino\arduino-1.5.1r2\libraries\LPD8806_master\LPD8806.cpp:129: error: 'SPSR' was not declared in this scope
C:\Users\Jon\Downloads\arduino\arduino-1.5.1r2\libraries\LPD8806_master\LPD8806.cpp:129: error: 'SPIF' was not declared in this scope
C:\Users\Jon\Downloads\arduino\arduino-1.5.1r2\libraries\LPD8806_master\LPD8806.cpp:130: error: 'SPDR' was not declared in this scope
Pages: [1]