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
mbed.bld@2:e660e68a91fa, 2011-01-04 (annotated)
- Committer:
- jrsikken
- Date:
- Tue Jan 04 21:33:59 2011 +0000
- Revision:
- 2:e660e68a91fa
- Parent:
- 0:939617e180e8
Now the heart rate is also send over a serial port to a bluetooth device.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jrsikken | 0:939617e180e8 | 1 | http://mbed.org/users/mbed_official/code/mbed/builds/e2ac27c8e93e |