c235:parameter 1:different types#include#include #define uint unsigned int#define uchar unsigned charuchar temp;void delay(unit);void main(){temp=0xfe;P1=temp;while(1){temp=_crol_(temp,1);delay(60);P1=temp;}}void delay(uint z){uint x,y;
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/26 17:46:00
c235:parameter 1:different types#include#include #define uint unsigned int#define uchar unsigned charuchar temp;void delay(unit);void main(){temp=0xfe;P1=temp;while(1){temp=_crol_(temp,1);delay(60);P1=temp;}}void delay(uint z){uint x,y;
c235:parameter 1:different types
#include
#include
#define uint unsigned int
#define uchar unsigned char
uchar temp;
void delay(unit);
void main()
{
temp=0xfe;
P1=temp;
while(1)
{
temp=_crol_(temp,1);
delay(60);
P1=temp;
}
}
void delay(uint z)
{
uint x,y;
for(x=100;x>0;x--)
for(y=z;y>0;y--);
}
c235:parameter 1:different types#include#include #define uint unsigned int#define uchar unsigned charuchar temp;void delay(unit);void main(){temp=0xfe;P1=temp;while(1){temp=_crol_(temp,1);delay(60);P1=temp;}}void delay(uint z){uint x,y;
慢慢玩啊,孩子