Re: Blocky with APA102 LED chains.
I finally managed to set up Blocky so that the APA102 LEDs can be controlled.
Basically; I had to set up individual tasks that each had a 'Blocky Advanced' Picaxe Basic box with the basic calls inside it. This way; when the task is called, the one line 'hspisetup spimode00, spifast' inside can be executed before others with hspiout 4 byte packets can be sent. But then there is another problem over Blocky variables being 16 bit words while Picaxe Basic also uses 8 bit byte variables . So another Blocky Advanced BASIC paste box is needed, so as to transcribe the contents of Blocky word variables into Picaxe basic Byte variables. The Blocky advanced Basic just needs Basic lines of b10=varA, b11=varB and b12=varC. Then within the Blocky program varA,varB and varC can be used to set up parameters to be transcribed into b10, b11, and b12 Basic Byte variables before calling the task that needs them. This way a task can be called to execute the line hspiout( #FF, b10, b11, b12).