add toBinary.cpp file
Merge branch 'Kevin' of https://github.com/tindrum/data_logger into feature/Daniel
merged toBinary.cpp into feature/Daniel