Untitled

mail@pastecode.io avatar
unknown
abc
a year ago
238 B
1
Indexable
Never
// forward for 2sec ,, stop 3sec ,, backward 2.5sec
void main() {
trisd.f0=0;
trisd.f1=0;
while(1){
portd.f0=1;
portd.f1=0;
delay_ms(2000);
portd.f0=0;
portd.f1=0;
delay_ms(3000);
portd.f0=0;
portd.f1=1;
delay_ms(2500);
}
}