
bborastero
Gibraltar
Asked
— Edited
has anyone got a picture of an RGB array out of its casing . I want to see if it can be widened to fit my bots eyes.
has anyone got a picture of an RGB array out of its casing . I want to see if it can be widened to fit my bots eyes.
@bborastero one possibility only if you have lots of space is to use two RGB arrays then you could use one array for left and one for right I am considering this option at present but I have plenty of space
@bborasteroyour script is good... it will change the color randomly. what you can do, is use the ServoSpeed() command to add a little bit of smooth transition between random colors. Such as this...
I set the sleep() to a longer delay so you can wait for the transition to complete. The ServoSpeed() sets the ramping between two different PWM positions. Here is a video example...
This shows the PWM for the servo...
This shows how the ramping occurs...
Ok, that is something I did not know... Nice tip!
thanks @DJ Sures always good to hear from you