Using second microcontroller for datalogging