Your code can have an enormous impact on overall power consumption. With sophisticated multi-level sleep modes and clock gating, today’s MCUs let you conserve power by turning off any part of the chip not being used. Careful design of interrupt handlers, judicious storage of variables and objects, and minimizing the number of cycles required to get the job done all contribute to a low power design. This class offers programming and compilation strategies that can cut power consumption by 50%.