My implementation of Arduino firmware