Add number to Seven segment Display when darkness is detected

Have you thought about adapting the state change detection example in the IDE?