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: mbed
Revision 0:c86e9047cf33, committed 2018-12-24
- Comitter:
- taknokolat
- Date:
- Mon Dec 24 07:54:24 2018 +0000
- Commit message:
- a
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Mon Dec 24 07:54:24 2018 +0000
@@ -0,0 +1,20 @@
+#include "mbed.h"
+
+Serial g_Serial1(USBTX,USBRX,115200);
+//Serial g_serial2(PB_6, PB_7);skipper
+Serial g_serial2(PA_9, PA_10);
+int main() {
+ g_serial2.baud(115200);
+
+ while(1) {
+ g_serial2.printf( "S");
+ g_serial2.printf( "N");
+ g_serial2.printf( "A");
+ g_serial2.printf( "A");
+ g_serial2.printf( "F");
+
+ //wait(1.0);
+ g_Serial1.printf("a\r\n");
+ wait_ms(31);
+ }
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Dec 24 07:54:24 2018 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/3a7713b1edbc \ No newline at end of file