adding OF code and arduino code
merge