The disclosure relates to a tunable microring resonator, comprising a primary waveguide having first and second ends, a plurality of secondary waveguides each having a different length and each having first and second ends and a Micro-Electro-Mechanical System (MEMS) adjustable to optically couple at least a first end of the primary waveguide with a first respective end of a selected secondary waveguide thereby allowing light to circulate within the tunable microring resonator.