资源简介
The national electronic design competition in 2011 C intelligent car reference program,2011年全国电子设计竞赛C题智能小车参考程序
代码片段和文件信息
#include “lcd12864.h“
#include “msp430f149.h“
void LcdWriteType(void)//写方式
{
uchar i;
LCDCSSET;
for(i=0;i<5;i++)
{
LCDCLKCLR;
LCDSIDSET;
LCDCLKSET;//时钟上升沿
}//先发送5个1
LCDCLKCLR;
LCDSIDCLR;//再发送一个0表示写操作
LCDCLKSET;//时钟上升沿
}
void LcdReadType(void)//读方式
{
uchar i;
LCDCSSET;
for(i=0;i<5;i++)
{
LCDCLKCLR;
LCDSIDSET;
LCDCLKSET;//时钟上升沿
}//先发送5个1
LCDCLKCLR;
LCDSIDSET;//再发送一个1表示读操作
LCDCLKSET;//时钟上升沿
}
void LcdSendDat(uchar Dat)//发送一个字节的数据
{
uchar i;
for(i=0;i<4;i++)
{
LCDCLKCLR;
if(Dat & 0x80) LCDSIDSET;
else LCDSIDCLR;
LCDCLKSET;
Dat<<=1;
}//发送高4位
for(i=0;i<4;i++)
{
LCDCLKCLR;
LCDSIDCLR;
LCDCLKSET;
}//发送4个0
for(i=0;i<4;i++)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-07-28 16:36 循环超车\
目录 0 2013-07-31 08:09 循环超车\前车\
目录 0 2013-07-27 22:15 循环超车\前车\Debug\
目录 0 2013-07-28 19:41 循环超车\前车\Debug\Exe\
文件 26953 2013-07-21 08:52 循环超车\前车\Debug\Exe\motor.d43
文件 10952 2013-07-31 07:45 循环超车\前车\Debug\Exe\motor.txt
目录 0 2013-07-31 08:10 循环超车\前车\Debug\List\
目录 0 2013-07-31 08:09 循环超车\前车\Debug\Obj\
文件 19389 2013-07-23 11:24 循环超车\前车\Debug\Obj\lcd12864.r43
文件 57431 2013-07-31 07:45 循环超车\前车\Debug\Obj\main.r43
文件 400 2013-07-31 07:45 循环超车\前车\Debug\Obj\motor.pbd
文件 69632 2013-07-29 16:13 循环超车\前车\Debug\Obj\motor.r43
文件 11051 2013-07-29 16:13 循环超车\前车\Debug\Obj\status.r43
文件 8135 2013-07-26 20:51 循环超车\前车\Debug\Obj\uart.r43
文件 3298 2013-07-22 09:18 循环超车\前车\lcd12864.c
文件 1287 2013-07-23 11:23 循环超车\前车\lcd12864.h
文件 7633 2013-07-31 07:45 循环超车\前车\main.c
文件 8192 2013-07-23 13:05 循环超车\前车\motor.IAB
文件 408 2013-07-23 13:05 循环超车\前车\motor.IAD
文件 4096 2013-07-18 14:46 循环超车\前车\motor.IMB
文件 368 2013-07-18 14:46 循环超车\前车\motor.IMD
文件 36 2013-07-30 14:58 循环超车\前车\motor.PFI
文件 776 2013-07-30 14:58 循环超车\前车\motor.PO
文件 3320 2013-07-23 09:05 循环超车\前车\motor.PR
文件 18728 2013-07-23 09:05 循环超车\前车\motor.PRI
文件 31816 2013-07-30 14:58 循环超车\前车\motor.PS
文件 80 2013-07-22 08:41 循环超车\前车\motor.SearchResults
文件 33241 2013-07-30 14:58 循环超车\前车\motor.WK3
文件 9565 2013-07-29 16:13 循环超车\前车\motor.c
文件 5989 2013-07-31 08:09 循环超车\前车\motor.dep
文件 20124 2013-07-18 14:38 循环超车\前车\motor.ewd
............此处省略56个文件信息
相关资源
- 基于arduino的蓝牙智能小车.zip
- 03年全国大赛 智能小车
- 基于Arduino的智能小车的火警系统代码
- 智能小车,黑线寻迹,PCB
- 基于STM32F103RCT6单片机的智能小车实验
- Arduino智能小车例程
- CC2530+DHT11+HCSR04+蜂鸣器+串口显示=简单
- 树莓派智能小车视频教程树莓派功能
- 基于stc51单片机的循迹智能小车程序
- 智能小车无线监控系统.vi
- 51单片机红外四路循迹小车程序
- 51单片机控制智能小车
- 基于arduino的跟随小车
- 智能小车测试程序.zip
- 基于Labview的智能小车控制平台
- 2011年全国大学生电子设计大赛C题(智
- 智能小车测速+12864显示 C程序
- 2011年全国大学生电子设计竞赛B题 智
- PI-Server+Client.rar
- 用PWM波控制速度的智能小车
评论
共有 条评论