More specifically the "All Off" button works and the "Set All" seems to just turn them all on to white but not to the color determined by the silders.
The sliders do seem to be working because when you press the "Stats" button the code prints the correct values of the three sliders.
The "Set One" button does not seem to work at all.
The code is designed to work with an 8 LED neopixel strip.
Can anyone else confirm if any of the neopixel commands work in the later versions of espbasic ?
Here is the codel...
wprint "Red ====> "
slider rd 0 255
wprint "<br>"
wprint "Green ===> "
slider gn 0 255
wprint "<br>"
wprint "Blue ====> "
slider bu 0 255
wprint "<br>"
button "Set All" [Setall]
button "All Off" [Alloff]
wprint "<br>"
wprint "<br>"
button "Set One" [Setone]
wprint "<br>"
listbox "0,1,2,3,4,5,6,7" pix
wprint "<br>"
wprint "<br>"
wprint "<br>"
button "Exit" [Exit]
button "Stats" [Stats]
wait
[Setall]
neostripcolor(0,7,rd,gn,bu)
wait
'
[Stats]
serialprintln ramfree()
serialprintln flashfree()
serialprintln ip()
serialprint rd
serialprint gn
serialprintln bu
serialprintln " "
wait
'
[Alloff]
neocls()
wait
'
[Setone]
neo(pix,rd,gn,bu)
wait
'
[Exit]
end
thanks
dwight