Preliminary firmware for the TeaCR device