You can't run two things at once.
Check out the blink without delay example, which should show you how to get rid of the delays and be able to run your two parts directly after each other (and so close you won't notice)
You can't run two things at once.
Check out the blink without delay example, which should show you how to get rid of the delays and be able to run your two parts directly after each other (and so close you won't notice)