This program displays heart rate and time between heart beats on LCD, prints it to a USB serial port, print it to a bluetooth serial port and store it on a USB mass storage device. The program has two interrupt routines: 1.Every 1ms a counter is increased with one, 2. On every heart beat the counter is value copied. In the main loop the beats per minute are calculated. Ext.Modules:- Polar RMCM-01 heart rate module connected to pin8. - 2x16 LCD - a RF-BT0417CB bluetooth serial device connected to p27 and p28 - an USB mass storage device
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
2:e660e68a91fa | 2011-01-04 | jrsikken | Now the heart rate is also send over a serial port to a bluetooth device. |
1:8b001f936bb0 | 2010-11-27 | jrsikken | Now heart rate is stored on USB mass storage device. |
0:939617e180e8 | 2010-11-24 | jrsikken | The first post |