log heartrate to an SD/MMC card on a small AVR microcontroller