Code with Millis()

to determine the time it takes to reach max brightness