Arduino based DLSR scanner program