![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
pissa pepper
Fork of Nucleo by
main.cpp@0:a9ea0137c16b, 2018-04-20 (annotated)
- Committer:
- donghuoyinzi
- Date:
- Fri Apr 20 02:49:37 2018 +0000
- Revision:
- 0:a9ea0137c16b
pissa pepper
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
donghuoyinzi | 0:a9ea0137c16b | 1 | #include "mbed.h" |
donghuoyinzi | 0:a9ea0137c16b | 2 | |
donghuoyinzi | 0:a9ea0137c16b | 3 | /****my头文件*****/ |
donghuoyinzi | 0:a9ea0137c16b | 4 | #include "main.h" |
donghuoyinzi | 0:a9ea0137c16b | 5 | /******************************* |
donghuoyinzi | 0:a9ea0137c16b | 6 | Desc.:whattime/where setting/clearing all Flag/Stat/Sequ |
donghuoyinzi | 0:a9ea0137c16b | 7 | Auth.:ZY |
donghuoyinzi | 0:a9ea0137c16b | 8 | Date.:2017.7.2 |
donghuoyinzi | 0:a9ea0137c16b | 9 | *******************************/ |
donghuoyinzi | 0:a9ea0137c16b | 10 | int main() |
donghuoyinzi | 0:a9ea0137c16b | 11 | { |
donghuoyinzi | 0:a9ea0137c16b | 12 | f401Act::init(); //映射硬件初始化 |
donghuoyinzi | 0:a9ea0137c16b | 13 | bc95Act::init(); |
donghuoyinzi | 0:a9ea0137c16b | 14 | f401Act::ready(); |
donghuoyinzi | 0:a9ea0137c16b | 15 | //f401Act::reiwdg(); //Refresh iwdg |
donghuoyinzi | 0:a9ea0137c16b | 16 | |
donghuoyinzi | 0:a9ea0137c16b | 17 | while(1){ |
donghuoyinzi | 0:a9ea0137c16b | 18 | |
donghuoyinzi | 0:a9ea0137c16b | 19 | /****非节拍任务响应*****/ |
donghuoyinzi | 0:a9ea0137c16b | 20 | /****节拍任务响应*****/ |
donghuoyinzi | 0:a9ea0137c16b | 21 | if(F401script::poC_ticisrS==1){ |
donghuoyinzi | 0:a9ea0137c16b | 22 | F401script::poC_ticisrS=0; |
donghuoyinzi | 0:a9ea0137c16b | 23 | bc95Act::put(); |
donghuoyinzi | 0:a9ea0137c16b | 24 | } |
donghuoyinzi | 0:a9ea0137c16b | 25 | } |
donghuoyinzi | 0:a9ea0137c16b | 26 | } |
donghuoyinzi | 0:a9ea0137c16b | 27 | |
donghuoyinzi | 0:a9ea0137c16b | 28 |