Arduino code
Data logging added