Loop run for period and begin another cycle

OP: Your calculator needs new batteries. 5000 on and 50000 off is not a 10% duty cycle. 5000/55000 = 8.8889%