An Arduino library that implements the control chain protocol