Arduino Controlling Multiple Things At Once

So I'm new to making my own sketches, and I wanted to make one where I can control a servo, a motor, and also have some LEDs changing at random intervals.

I have the LEDs change with a delay and a random time. But because of the delay, it means I can control anything else in that time. If someone has advice to get around that problem, that would be great.

This sketch is just for me to learn about arduino and so i can rely on myself and not use other peoples sketches to get what I want.

Thanks in advance!!

Fun_Experimental_Learning_Thing.ino (675 Bytes)

Look at
Several things at the same time to see how to use millis() for non blocking timing.

Thanks Heaps :slight_smile: