You are on page 1of 1

main()

Entry main function

while(1) Initial setup

Call
Press is Status = Change blink
True False ChangeSpeed
detected? stop? speed of led
function

True

Turn on the
False current led

Status = Toggle Turn off all


True state = off? True
blink? led

False

Turn on the
False current led

You might also like