Coprocessor code and Arduino library