How does a microprocessor work? Dr. Jens Vygen Everyone has met the vexing problem of having to wait too long at traffic lights. Here we will design a simple chip for controlling traffic lights and will show how essential discrete mathematics is for this job.