Thanks Martyn that works. The DO stay on thus can switch on and off. How can I keep the RGBLED on so I can use a scrollbar to vary the colour? This is done using the Pico scope. It will be a good demonstration in may example App. Currently I used a loop to change from 0 to 255 for the red, green and...