PSG library for Arduino