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

Dependencies:   TextLCD mbed

USBHostLite/usbhost_inc.h

Committer:
jrsikken
Date:
2011-01-04
Revision:
2:e660e68a91fa
Parent:
1:8b001f936bb0

File content as of revision 2:e660e68a91fa:

/*
**************************************************************************************************************
*                                                 NXP USB Host Stack
*
*                                     (c) Copyright 2008, NXP SemiConductors
*                                     (c) Copyright 2008, OnChip  Technologies LLC
*                                                 All Rights Reserved
*
*                                                  www.nxp.com
*                                               www.onchiptech.com
*
* File           : usbhost_inc.h
* Programmer(s)  : Ravikanth.P
* Version        :
*
**************************************************************************************************************
*/

#ifndef  USBHOST_INC_H
#define  USBHOST_INC_H

/*
**************************************************************************************************************
*                                       INCLUDE HEADER FILES
**************************************************************************************************************
*/

#include  "usbhost_cpu.h"
#include  "usbhost_err.h"
#include  "usbhost_lpc17xx.h"
#include  "usbhost_ms.h"
#include  "mbed.h"


#ifdef TARGET_LPC2368
#error "There is no USB host on the LPC2368!"
#endif

#endif