Arduino working principle