Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
HeartBeat.h@1:c102c32513b2, 2012-11-28 (annotated)
- Committer:
- mbj898
- Date:
- Wed Nov 28 21:18:23 2012 +0000
- Revision:
- 1:c102c32513b2
- Parent:
- 0:2c23c9830f31
- Child:
- 2:fc8dbf3231ee
initial library;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| mbj898 | 1:c102c32513b2 | 1 | #include "mbed.h" |
| mbj898 | 1:c102c32513b2 | 2 | #include <string> |
| mbj898 | 1:c102c32513b2 | 3 | #include "definitions.h" |
| mbj898 | 1:c102c32513b2 | 4 | |
| mbj898 | 1:c102c32513b2 | 5 | class HeartBeat |
| mbj898 | 1:c102c32513b2 | 6 | { |
| mbj898 | 1:c102c32513b2 | 7 | |
| mbj898 | 1:c102c32513b2 | 8 | public: |
| mbj898 | 1:c102c32513b2 | 9 | //object creator method, call this to initialize a heartbeat object |
| mbj898 | 1:c102c32513b2 | 10 | HeartBeat(PinName LEDPin); |
| mbj898 | 1:c102c32513b2 | 11 | |
| mbj898 | 1:c102c32513b2 | 12 | |
| mbj898 | 1:c102c32513b2 | 13 | |
| mbj898 | 1:c102c32513b2 | 14 | private: |
| mbj898 | 1:c102c32513b2 | 15 | string _globalResponse; |
| mbj898 | 1:c102c32513b2 | 16 | }; |
