Bayley Wang
/
foc-ed_in_the_bot_compact
robot
Diff: main.cpp
- Revision:
- 46:748aba7d111d
- Parent:
- 45:cf8ad81fb0f0
- Child:
- 47:1c9868e226d0
--- a/main.cpp Sun Jan 08 09:07:39 2017 +0000 +++ b/main.cpp Tue Jan 10 04:47:38 2017 +0000 @@ -112,9 +112,13 @@ vc = vc - voff; /*output to timers*/ - set_dtc(io.a, 0.5f + 0.5f * va); - set_dtc(io.b, 0.5f + 0.5f * vb); - set_dtc(io.c, 0.5f + 0.5f * vc); + //set_dtc(io.a, 0.5f + 0.5f * va); + //set_dtc(io.b, 0.5f + 0.5f * vb); + //set_dtc(io.c, 0.5f + 0.5f * vc); + + set_dtc(io.a, 0.95f); + set_dtc(io.b, 0.05f); + set_dtc(io.c, 0.05f); } void slow_loop() {