8.4.4 编写嵌入式智能车的主文件.pptxVIP

  • 1
  • 0
  • 约5.22千字
  • 约 12页
  • 2026-07-08 发布于湖南
  • 举报

8.4.4编写嵌入式智能车的主文件

嵌入式智能车主文件嵌入式智能车的主文件主要包括:能完成嵌入式智能车的基本任务,如嵌入式智能车前进、后退、打开道闸等任务函数;完成本任务的嵌入式智能车综合控制函数。

编写main.h头文件main.h头文件,代码如下:#includestdio.h#includestm32f4xx.h#includedelay.h#includeinfrared.h#includecba.h#includeultrasonic.h#includecanp_hostcom.h#includehard_can.h#includebh1750.h#includepower_check.h#includecan_user.h#includedata_base.h#includeroadway_check.h#includetba.h#includecan_user.h#includedata_base.h#includeroadway_check.h#includetba.h#includedata_base.h#includeswopt_drv.h#includeuart_a72.h#includeCan_check.h#includedelay.h#includecan_user.h#includeTimer.h#i

文档评论(0)

1亿VIP精品文档

相关文档