代码搜索结果
找到约 7,992 项符合
Motor 的代码
motor._c
//ICC-AVR application builder : 2008-7-3 10:08:15
// Target : M8
// Crystal: 4.0000Mhz
#include
#include
#define uchar unsigned char
#define unint unsigned int
#define
motor.h
/////////////////////////////////////////////////////////////////////////////////////
//PB1(RE1),PB2(RE2): 1: 向后走,0: 向前走。PB1控制左路电机,PB2控制右路
//PWM1(OC1B),PWM2(OC1A): 0:导通电机,1关闭电机
//PC0为左行程开关输入,P
motor.c
#include "motor.h"
void motor(unsigned char address, short left_speed, short right_speed )
{
static union {
char string[4];
short left_right[2];
} TWI_speed;
static unsigned char TWI_s
motor.lst
1 .file "motor.c"
2 __SREG__ = 0x3f
3 __SP_H__ = 0x3e
4 __SP_L__ = 0x3d
5 __CCP__ = 0x34
6
motor.h
#ifndef MOTOR_H
#define MOTOR_H
#include "twi.h"
void motor(unsigned char address, short left_speed, short right_speed);
#endif
motor.hex
:0A3175003F065B4F666D7D077F6F1C
:102F2B00012700010B0001320001330001080001F1
:102F3B001200013800013D0002360000023B000088
:102F4B00024200000246000002480000024A000054
:102F5B00024C0000024E00000250000
motor.plg
礦ision2 Build Log
Project:
D:\Program Files\Proteus 6 Professional\myfiles\MOTOR.uv2
Project File Date: 10/20/2007
Output:
Build target 'Targe
motor.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.s*; *.src; *.a*)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt; *.h; *.inc)
pExt (*.plm)
CppX (*.cpp)
DaveTm {