Thanks, yes I changed something there and this function now relies directly on the library that apparently works like that.[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Sun Nov 20, 2022 3:42 pm Hi Francesco
I have a minor problem with the new behavior of NEO.Setup and NEO.strip.
If Led_end_pos is wrongly set too high in NEO.STRIP, then the command is ignored without an error message. The "out of range" parameter was accepted in previous versions.
Took me some minutes to isolate that problem in an until now well working neopixel-code
Code: [Local Link Removed for Guests]
' TEST OF NEO.SETUP and NEO.STRIP NEO_PIN = 27 NEO_NUM = 25 NEO_END = NEO_NUM-1 neo.setup NEO_PIN,NEO_NUM ' set 25 neo rgb leds on the pin 27 neo.strip 0,NEO_END,2,2,2 ' set all leds to white For I= 1 to 10 wlog I if I <6 then wlog "All LEDs do change now to a new random value" neo.strip 0,NEO_END, rnd(100),rnd(100),rnd(100) else wlog "No more change at the LEDs as led_end_pos is out of range (to great) now" neo.strip 0,NEO_END + 1 , rnd(100),rnd(100),rnd(100) end if pause 1000 next I end
I can change and make it work like before for next release