Re: [fpc-pascal] Pascal Neopixels

2018-07-29 Thread R0b0t1
On Sunday, July 29, 2018, Anthony Walter wrote: > Thanks Michael, that's some good information. I'll poke around with Pascal using the information you provided and see if I can turn an LED on/off, set its color and brightness, and whatever else then post back here with the results. > If anyone els

Re: [fpc-pascal] Pascal Neopixels

2018-07-29 Thread R0b0t1
On Sunday, July 29, 2018, Anthony Walter wrote: > Thanks Michael, that's some good information. I'll poke around with Pascal using the information you provided and see if I can turn an LED on/off, set its color and brightness, and whatever else then post back here with the results. > If anyone els

Re: [fpc-pascal] Pascal Neopixels

2018-07-29 Thread Anthony Walter
Thanks Michael, that's some good information. I'll poke around with Pascal using the information you provided and see if I can turn an LED on/off, set its color and brightness, and whatever else then post back here with the results. If anyone else cares to chime in with advice I'd much appreciate

Re: [fpc-pascal] Pascal Neopixels

2018-07-29 Thread Michael Ring
For me, the easiest way to solve this (on a microcontroller, not a raspberry) was using SPI, you can create a pretty precise timing with that method. And looking at the code in the repository you provided it looks like the SPI of the Raspberry is DMA-Enabled in kernel. In my own code I use 16

Re: [fpc-pascal] Pascal Neopixels

2018-07-29 Thread DaWorm
You should be able to use the library from Pascal directly rather than trying to recreate it from scratch. Jeff On Sun, Jul 29, 2018, 10:20 AM Anthony Walter wrote: > I'm not sure what would be the correct list for this question since it > involves writing Pascal code and not Lazarus, so here g

[fpc-pascal] Pascal Neopixels

2018-07-29 Thread Anthony Walter
I'm not sure what would be the correct list for this question since it involves writing Pascal code and not Lazarus, so here goes ... Can anyone offer me any advice or refer me to helpful resources on the subject of using Pascal code to control WS2128 led strips