/* Project: 3x3x3 Mono LED Cube (r3). * File: MVAllOn.cpp * Description: * Movie -- mv_AllOn * Turn all LEDs on for a period, then fade out. * * Copyright (C) 2014 Marc Symonds * All rights reserved. * * This software may be used and redistributed, with or without * modification, as long as it is understood that this software * is provided as-is without any explicit or implied warranties * of merchantablity or fitness of purpose. */ #include "Arduino.h" #include "Movies.h" #include "DisplayFrame.h" void mv_AllOn() { unsigned long ts; ts = millis() + (DEF_MOVIE_TIME / 10); df_allOn(); while (millis() < ts) ; df_fadeOut(); delay(500); }
Recent Comments