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.
Diff: main.cpp
- Revision:
- 0:cbe746b508b4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Sun May 22 20:17:54 2022 +0000
@@ -0,0 +1,16 @@
+#include "mbed.h"
+DigitalOut T1(p5);
+DigitalOut T2(p6);
+DigitalOut T3(p7);
+DigitalOut T4(p8);
+
+int main() {
+ while(1) {
+ T1=T3= 1;
+ T2=T4= 0;
+ wait(1);
+ T1=T3= 0;
+ T2=T4= 1;
+ wait(1);
+ }
+}