servoAndStepperControl.c 185 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 #include <avr/io.h> #include <util/delay.h> int main(void){ // pin 13 DDRB = 0x80; while(1){ PORTB = 0x80; _delay_us(1000); PORTB = 0x00; _delay_us(1000); } return 0; }