资源简介
电磁检测的2轮直立车程序,包含直立平衡,速度模式,弯道检测
代码片段和文件信息
/******************************************************************************
*
* Freescale Semiconductor Inc.
* (c) Copyright 2013 Freescale Semiconductor Inc.
* ALL RIGHTS RESERVED.
*
***************************************************************************
*
* THIS SOFTWARE IS PROVIDED BY FREESCALE “AS IS“ AND ANY EXPRESSED OR
* IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL FREESCALE OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT
* INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES
* (INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE DATA OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT
* STRICT LIABILITY OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
***************************************************************************//*!
*
* @file assert.c
*
* @author Freescale
*
* @version 0.0.1
*
* @date Jun. 25 2013
*
* @brief provide macro for software assertions.
*
* ASSERT macro defined in assert.h calls assert_failed().
*******************************************************************************/
#include “common.h“
const char ASSERT_FAILED_STR[] = “Assertion failed in %s at line %d\n“;
/********************************************************************/
void
assert_failed(char *file int line)
{
int i;
printf(ASSERT_FAILED_STR file line);
while (1)
{
// platform_led_display(0xFF);
for (i = 100000; i; i--) ;
// platform_led_display(0x00);
for (i = 100000; i; i--) ;
}
}
/********************************************************************/
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 246944 2018-06-01 18:19 HSWY_TwoWheel\Debug\Exe\HSWY_TowWheel.out
文件 18283 2018-04-26 18:55 HSWY_TwoWheel\Debug\Obj\acmp.o
文件 294374 2018-04-26 18:55 HSWY_TwoWheel\Debug\Obj\acmp.pbi
文件 10200 2018-04-26 18:55 HSWY_TwoWheel\Debug\Obj\acmp.pbi.cout
文件 11812 2018-04-26 18:55 HSWY_TwoWheel\Debug\Obj\adc.o
文件 284167 2018-04-26 18:55 HSWY_TwoWheel\Debug\Obj\adc.pbi
文件 10199 2018-04-26 18:55 HSWY_TwoWheel\Debug\Obj\adc.pbi.cout
文件 7593 2018-04-26 18:55 HSWY_TwoWheel\Debug\Obj\arm_cm0.o
文件 277921 2018-04-26 18:55 HSWY_TwoWheel\Debug\Obj\arm_cm0.pbi
文件 10196 2018-04-26 18:55 HSWY_TwoWheel\Debug\Obj\arm_cm0.pbi.cout
文件 5996 2018-04-26 18:55 HSWY_TwoWheel\Debug\Obj\assert.o
文件 277965 2018-04-26 18:55 HSWY_TwoWheel\Debug\Obj\assert.pbi
文件 10198 2018-04-26 18:55 HSWY_TwoWheel\Debug\Obj\assert.pbi.cout
文件 6997 2018-04-26 18:55 HSWY_TwoWheel\Debug\Obj\button.o
文件 393568 2018-04-26 18:55 HSWY_TwoWheel\Debug\Obj\button.pbi
文件 10192 2018-04-26 18:55 HSWY_TwoWheel\Debug\Obj\button.pbi.cout
文件 85641 2018-06-01 18:24 HSWY_TwoWheel\Debug\Obj\control.o
文件 414016 2018-06-01 18:24 HSWY_TwoWheel\Debug\Obj\control.pbi
文件 10193 2018-06-01 18:24 HSWY_TwoWheel\Debug\Obj\control.pbi.cout
文件 12060 2018-04-26 18:55 HSWY_TwoWheel\Debug\Obj\crc.o
文件 286063 2018-04-26 18:55 HSWY_TwoWheel\Debug\Obj\crc.pbi
文件 10199 2018-04-26 18:55 HSWY_TwoWheel\Debug\Obj\crc.pbi.cout
文件 1623 2018-04-10 19:54 HSWY_TwoWheel\Debug\Obj\crt0.o
文件 52824 2018-04-26 19:33 HSWY_TwoWheel\Debug\Obj\debug.o
文件 410783 2018-04-26 19:33 HSWY_TwoWheel\Debug\Obj\debug.pbi
文件 10191 2018-04-26 19:33 HSWY_TwoWheel\Debug\Obj\debug.pbi.cout
文件 44996 2018-04-26 18:55 HSWY_TwoWheel\Debug\Obj\flash.o
文件 318069 2018-04-26 18:55 HSWY_TwoWheel\Debug\Obj\flash.pbi
文件 10201 2018-04-26 18:55 HSWY_TwoWheel\Debug\Obj\flash.pbi.cout
文件 15666 2018-04-26 18:55 HSWY_TwoWheel\Debug\Obj\ftm.o
............此处省略283个文件信息
相关资源
-
IAR em
bedded Workbench for MSP430 V4.20软件 - IAR VisualSTATE 6.41 part1
- IAR VisualSTATE 6.41 part2
- 基于IAR的STM32F407程序模板
- IAR for MSP430 v5.40 第二部分共两部分
- MSP-FET430UIF win10 环境下驱动
- IAR FOR 8051 7.51A 与注册机
- 山外KEA代码包
- stm8L051参考代码
- STM32H743以太网通信TCP客户端实现IAR
- IAR-C-FOR-SAM8-V221A带破解
- K60驱动LDC1000IAR
-
IAR EW8051(em
bedded Workbench for MCS-51) -
IAR EW8051(em
bedded Workbench for MCS-51) -
IAR EW8051(em
bedded Workbench for MCS-51) -
IAR EW8051(em
bedded Workbench for MCS-51) -
IAR EW8051(em
bedded Workbench for MCS-51) - IARForMSP430.rar
- 飞思卡尔智能车双车超车程序。
- IARforSTM82.10破解.rar
- Demol_Code_IAR.zip
-
IAR em
bedded Workbench for MSP430 V4.20软件 -
IAR em
bedded Workbench for MSP430 V4.20软件 - SciFiArsenal1.0.unitypackage
- ARM Cortex-M4+Wi-Fi MCU应用指南 CC3200 IAR基
- iar stm8 1.301开发环境STM8S开发包亲测可
- stm32h743 uCOS-iii
- IAR.rar
- IAR软件EW8051-EV-Web-8101.exe
- IAR for MSP430 v5.40 第一部分共两部分
评论
共有 条评论