Multi purpose arduino library