It uses hall effect sensors(4x N.O. buttons) to turn on the next coil(4x white lamps). To change the direction counter clock wise(blue LED), turn on the SPST switch. The coils move the magnet and the hall effect sensors know which coil to turn on to keep it turning.