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-STM32F103C8T6 mbed
Revision 0:7379e65596b6, committed 2017-04-29
- Comitter:
- BaserK
- Date:
- Sat Apr 29 15:28:36 2017 +0000
- Commit message:
- *
Changed in this revision
diff -r 000000000000 -r 7379e65596b6 main.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Sat Apr 29 15:28:36 2017 +0000
@@ -0,0 +1,21 @@
+#include "stm32f103c8t6.h"
+#include "mbed.h"
+
+// Digital In Example
+// Reads the input from a button and changes the state of the
+// on-board led accordingly
+
+DigitalOut led(PB_12);
+DigitalIn button(PB_13);
+
+bool data = 0;
+
+int main()
+{
+ confSysClock(); //Configure system clock (72MHz HSE clock, 48MHz USB clock)
+
+ while (1)
+ {
+ led = 1 - button;
+ }
+}
\ No newline at end of file
diff -r 000000000000 -r 7379e65596b6 mbed-STM32F103C8T6.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-STM32F103C8T6.lib Sat Apr 29 15:28:36 2017 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/hudakz/code/mbed-STM32F103C8T6/#09d8c2eacb4d
diff -r 000000000000 -r 7379e65596b6 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Sat Apr 29 15:28:36 2017 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/b0220dba8be7 \ No newline at end of file