Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
pyledctrl / test / data / compiler / fade_and_step.led
Size: Mime:
# When running this test, you should see a fade to green for one second,
# followed by an abrupt jump to light blue, held for one second.
#
# If the executor cannot handle fades-followed-by-jumps properly, you will
# see a fade to light blue instead.
with loop():
	set_color(0, 0, 0)
	fade_to_color(0, 255, 0, duration=1)
	set_color(0, 128, 255)
	sleep(1)