A library to extend the LeJOS firmware for Lego Mindstorms NXT