Magnetic stirrer peripheral interface library