Spam APM in StarCraft. Make 10 different control groups and click a button to start spamming APMs

Dependencies:   USBDevice mbed

Files at this revision

API Documentation at this revision

Comitter:
Palantir
Date:
Fri Feb 28 09:46:31 2014 +0000
Commit message:
First commit

Changed in this revision

USBDevice.lib Show annotated file Show diff for this revision Revisions of this file
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
diff -r 000000000000 -r fbff2b470041 USBDevice.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/USBDevice.lib	Fri Feb 28 09:46:31 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/USBDevice/#849c0c0f2769
diff -r 000000000000 -r fbff2b470041 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Feb 28 09:46:31 2014 +0000
@@ -0,0 +1,16 @@
+#include "mbed.h"
+#include "USBKeyboard.h"
+
+USBKeyboard kb;
+DigitalIn myInput(p5);
+
+int main(){
+    int i=0;
+    myInput.mode(PullDown);
+    while (1){
+        if(myInput.read()==1){
+            for(i=0; i<9; i++)
+                kb.printf("%d", i);
+        }
+    }
+}
\ No newline at end of file
diff -r 000000000000 -r fbff2b470041 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Feb 28 09:46:31 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/a9913a65894f
\ No newline at end of file