Added Arduino mode.