S88-N implementation for Atmega48 microcontrollers