yei
Dependencies: interface mbed enc_1multi calPID motorout KondoServoLibrary
Fork of cat18_operate by
Diff: interrupt/interrupt.cpp
- Revision:
- 5:af5ccfce1b90
- Parent:
- 4:187c62291654
- Child:
- 7:35972aae0647
--- a/interrupt/interrupt.cpp Thu Aug 09 05:37:04 2018 +0000 +++ b/interrupt/interrupt.cpp Thu Aug 09 07:22:46 2018 +0000 @@ -11,7 +11,7 @@ CAN can(pin_can_rd,pin_can_td); int counterpart_is_in_common; char can_pub_data[kCanlength_rightleft]; - +const double kTicker_s = 0.01; const int kCanCount = kCanTicker_s / kTicker_s; void TimerInterrupt();