
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.
If the two arrays would be too big you could consider the BlinkM however it is only a single RGB LED.
Grab the datasheet for them and post it and I'll gladly point you in the right direction. Without a datasheet it's like shooting in the dark while blindfolded and being spun around at the same time
:loop
PWMRandom(d9,0,100)
PWMRandom(d10,0,100)
PWMRandom(d11,0,100)
Sleep(500)
goto (loop)
oh plus your
# Simple emergency stop script
it's so handy it should be a default
no worries I'll learn a lot while I fumble along
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
Code:
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...