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.
Dependencies: TextLCD mbed-rtos mbed
Fork of 541-pacemaker-heart by
Revision 6:53fa082961d2, committed 2016-12-09
- Comitter:
- ems316
- Date:
- Fri Dec 09 11:07:18 2016 +0000
- Parent:
- 5:ba77f2da6fc5
- Commit message:
- here is 2
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Dec 09 06:51:47 2016 +0000
+++ b/main.cpp Fri Dec 09 11:07:18 2016 +0000
@@ -41,7 +41,7 @@
int avi = 150;
int pvarp = 300;
int vrp = 200;
-int arp = 50;
+int arp = 25;
int twait = 10;
@@ -80,6 +80,7 @@
void vpace_irq()
{
+ //lcd.printf("In vpace IRQ/n");
//heartmodeThread->signal_set(0x1);
if(tmm)
{
@@ -92,6 +93,7 @@
void apace_irq()
{
//heartmodeThread->signal_set(0x10);
+ //lcd.printf("In apace IRQ/n");
if(tmm)
{
osSignalSet(heartmodeTid, 0x10);
@@ -862,9 +864,9 @@
vsignal_led = 0;
apace_led = 0;
vpace_led = 0;
- osSignalClear (HeartSenseTid,0);
+ osSignalClear (heartmodeTid,0);
displayTid = osThreadCreate(osThread(displayThread), NULL);
- HeartSenseTid = osThreadCreate(osThread(testmode), NULL);
+ heartmodeTid = osThreadCreate(osThread(testmode), NULL);
if (testresults != NULL) {
fclose(testresults);
