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:f567a36d6872
- Child:
- 1:46016c55c501
diff -r 000000000000 -r f567a36d6872 main.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Tue Dec 25 02:50:52 2012 +0000
@@ -0,0 +1,27 @@
+//Test upload
+
+//This 'L6470' example program is maked by Brid.
+//This program is free ,but
+//
+
+#include "mbed.h"
+#include "L6470.h"
+
+Serial pc(USBTX, USBRX);
+L6470 step1(p5, p6, p7,p8); // mosi, miso, sclk
+L6470 step2(p5, p6, p7,p11); // mosi, miso, sclk
+
+
+
+int main()
+{
+ step1.Resets();
+ step2.Resets();
+
+ step1.Run(1,0xFFF);
+ step2.Run(1,0xFFF);
+
+
+
+ wait_us(1);
+}
\ No newline at end of file