Learning an RTOS isn't your first step.... The microcontroller 8051 is easy to learn on ( hence why its used in schools ) Build a circuit and down load the RTOS and compile it.. once you can get task 1 to blink an LED at 4 hz and task 2 to blink one at 2hz you are there.. RTOS can be simple tasks..