A 3D printer control implementation for SAM4L series MCU