Added conversion from Arduino program