- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 27kb
- Update:
- 2013-11-21
- Downloads:
- 0 Times
- Uploaded by:
- jie
Description: #include <reg51.h>
#define uchar unsigned char
sbit P1_0=P1^0
sbit P1_1=P1^1
sbit P1_3=P1^3
sbit P1_4=P1^4
sbit P1_5=P1^5
sbit P1_6=P1^6
sbit P1_7=P1^7
uchar RRR,flg,KKK //RRR用于调速控制;flg=0正转;flg=1反转 flg=2不转;KKK为P1的状态寄存
uchar loop[2][4]={{0x0c,0x06,0x03,0x09},{0x09,0x03,0x06,0x0c}}
void loop1(void)
void loop2(void)
void step(void)
To Search:
File list (Check if you may need any files):
步进电机C版本\步进电机C版本\ME.DSN
.............\.............\ME.PWI
.............\.............\Text1.c
.............\.............\yang.hex
.............\.............\yang.M51
.............\.............\yang.plg
.............\.............\yang_Uv2.Bak
.............\.............\Text1.LST
.............\.............\yang_Opt.Bak
.............\.............\yang.Uv2
.............\.............\yang.Opt
.............\.............\STARTUP.A51
.............\.............\00000.plg
.............\.............\Text1
.............\.............\00000_Uv2.Bak
.............\.............\00000.Opt
.............\.............\00000.Uv2
.............\步进电机C版本
步进电机C版本