I feel like this is a silly question but here goes anyways:

I feel like this is a silly question but here goes anyways:
I’m using some Bliptronic lpd6803 controlled pixels.
How do I get the library to use the deprecated function?

Thanks!

You have to use version 1 of the library, there is no support for the 6803’s in the new library.

Thanks!
I downloaded the file: FastSPI_20121014.zip

I’m looking for some documentation on how to use it and I’m struggling. I appears that the Wiki is all converted to FastSPI2.

Where should I go to learn how to use this library?

Thanks again for helping a noob get into your library!

I’m not near a computer at the moment, there should be an example program in there, though.

When you read through the sample code you will see that the chipsets are commented out. FastSPI_LED includes the code for the chipsets.

So after you add the FastSPI_LED library to your programming environment you can include the library and call to the functions for each chipset.

Got it running! Thank you so much!

Just out of curiosity, why did it get deprecated?

Am I using an outdated pixel that nobody buys?

If I am reading the data sheet the 6803 supports only 32 shades of each color (so 5-bits). http://www.adafruit.com/datasheets/LPD6803.pdf

OK, that’s a sensible reason to deprecate it.

It has more to do with the fact that unlike modern chipsets the lpd6803 doesn’t do its own pwm - or it does, but it doesn’t clock - so I’d have to run a clock line continuously and on the older avrs that meant a timer, and I wanted to get rid of all the timer based code (which is why I also got rid of 595 and hl1606 support).

Daniel, i understand, but as you have already developed the code for the 6803, could you please just drive into the right direction in order to begin porting the new library and make it to work with the 6803, at least the most important functions for color , and effects. regards

Again, no - I do not want to make the library rely on a timer again.

Daniel,

im not asking you to do that, the part of the library that drives the 6803 is there and working on the old library so i think it should not be that difficult to include the new functions and merge them into the the fastSPI library , what im asking is a starting point and guidance into the right direction to understand the code in order to modify it .

i think i can start with HSV to RGB…

The problem is that driving the 6803 properly requires using a timer. Which, again, I do not want to put back into the library.

If what you want is to use the higher level color work - you don’t need to do any porting - you can use both the old library and the new. You use the new library for the color functions and for filling your CRGB array and you use the old library for writing out the led data. In which case, there’s no code porting that needs to be done.

That’s the answer!!!
I knew that you had created all peaces already ,
I willl use both libraries and see how it works,
Thank you .

@Daniel_Garcia Daniel, it was able to compile in arduino version 1.0 , when trying to compile with 1.02 or 1.05 the exact same sketch it shows errors , like :

/Applications/Arduino 105.app/Contents/Resources/Java/libraries/FastSPI_LED/FastSPI_LED.cpp:5:10: error: #include expects “FILENAME” or
/Applications/Arduino 105.app/Contents/Resources/Java/libraries/FastSPI_LED/FastSPI_LED.cpp: In member function ‘void CFastSPI_LED::init()’:
/Applications/Arduino 105.app/Contents/Resources/Java/libraries/FastSPI_LED/FastSPI_LED.cpp:102: error: ‘delay’ was not declared in this scope

i see that there is a difference in verso 1.05 the “arduino.h” is now WProgram.h, is that the problem?, something else to try ?
thankyou!

problem solved (for now…), have to use the FastSPI_20121014.zip version ,

@Daniel_Garcia Daniel , is partially working , if im not wrong, the old library uses Display[] to hold the leds rob values, and the new functions uses led[i] which is a CRGB class member , them there is some type conversion y have to do in order to use the new functions before calling the show() function ,
will appreciate any orientation in order modify this new "fastSPI.show() function ,