Samples and embedded system practices using the Lego NXT 9797 brick