Adding Arduino functionality