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: EPOS2 NetServices mbed
Fork of SMTPClient_HelloWorld by
Revision 2:3e35b0631651, committed 2016-10-27
- Comitter:
- joe_feubli
- Date:
- Thu Oct 27 14:04:31 2016 +0000
- Parent:
- 1:808150b7aebc
- Commit message:
- Programm f?r MarsRover mit MailFunktion ver. 1.0
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 808150b7aebc -r 3e35b0631651 main.cpp
--- a/main.cpp Fri Oct 21 15:13:21 2016 +0000
+++ b/main.cpp Thu Oct 27 14:04:31 2016 +0000
@@ -139,7 +139,7 @@
printf("Setting up %d...\n", ++count);
ethErr = eth.setup();
if (ethErr) printf("Timeout\n", ethErr);
- current_step = 1;//zusätzlich hinzugefügt um wiederholungen zu unterbinden
+// current_step = 1;//zusätzlich hinzugefügt um wiederholungen zu unterbinden
break;//zusätzlich hinzugefügt um wiederholungen zu unterbinden
} while (ethErr != ETH_OK);
@@ -633,22 +633,14 @@
wait_ms(10);
msg.printf("Subject: mbed at %s", ctime(&ctTime));
wait(0.1);
- msg.printf("Resetversuche: %d\n", error_mails);
- wait(0.1);
- msg.printf("Resetversuche: %d\n", error_mails);
- wait_ms(10);
+ msg.printf("mbed lpc1768\n\n");
+ msg.printf("Resetversuch: %d\n", error_mails);
msg.printf("Errorcode Motor 1: %d\n", ErrorState1);
- wait_ms(10);
msg.printf("Errorcode Motor 2: %d\n", ErrorState2);
- wait_ms(10);
msg.printf("Errorcode Motor 3: %d\n", ErrorState3);
- wait_ms(10);
msg.printf("Errorcode Motor 4: %d\n", ErrorState4);
- wait_ms(10);
msg.printf("Errorcode Motor 5: %d\n", ErrorState5);
- wait_ms(10);
msg.printf("Errorcode Motor 6: %d\n", ErrorState6);
- wait_ms(10);
msg.printf("Errorcode Motor 7: %d\n\n", ErrorState7);
msg.printf("Zähler Buzzer: %d\n", zaehler_buzzer);
msg.printf("Zähler USV: %d\n", zaehler_usv);
