yei
Dependencies: interface mbed enc_1multi calPID motorout KondoServoLibrary
Fork of cat18_operate by
Diff: main.cpp
- Revision:
- 0:c3a72fe24137
- Child:
- 1:cc056c41ae30
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Jun 22 08:07:09 2018 +0000 @@ -0,0 +1,31 @@ +/**@file +*template +*/ +#include <mbed.h> +#include "debug.h"//DEBUG("",変数);でデバッグ。 +//setup関連を集めた +void Setups(); +void Tests(); +int main() +{ + DEBUG("setup start\r\n"); + Setups(); + DEBUG("main start"); + while(1) { + Tests(); + } +} + +void Setups() +{ +} + +void Tests() +{ + static int count = 0; + count ++; + if (count > 100000) { + count =0; + + } +}