Dependencies:
MAE433_Library
Revision 1:2ff0b2e16716, committed 2016-06-26
- Comitter:
- Electrotiger
- Date:
- Sun Jun 26 19:35:52 2016 +0000
- Parent:
- 0:ba8d8b12f8cc
- Commit message:
- Some Commit
Changed in this revision
diff -r ba8d8b12f8cc -r 2ff0b2e16716 MAE433_Library.lib
--- a/MAE433_Library.lib Fri Jun 24 23:13:05 2016 +0000
+++ b/MAE433_Library.lib Sun Jun 26 19:35:52 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/users/Electrotiger/code/MAE433_Library/#2c175218c12a
+https://developer.mbed.org/users/Electrotiger/code/MAE433_Library/#2d38ad348e0d
diff -r ba8d8b12f8cc -r 2ff0b2e16716 main.cpp
--- a/main.cpp Fri Jun 24 23:13:05 2016 +0000
+++ b/main.cpp Sun Jun 26 19:35:52 2016 +0000
@@ -89,7 +89,7 @@
Timer t;
t.start();
while(true) {
- float output = 1 * arm_sin_f32(2*M_PI*t.read() / 8);
+ float output = 1 * arm_sin_f32(2*PI*t.read() / 8);
leftMotor.write(output);
rightMotor.write(output);
Thread::wait(controlSampleRateMS);