Source code for training kit LESO6 based on ATMEGA