Blame view

tests/atmega2560/servoControl.c 171 Bytes
0168f2ba   pfrison   premier tests pou...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  #include <avr/io.h>
  #include <util/delay.h>
  
  int main(void){
  	DDRC = 0x01;
  
  	while(1){
  		PORTC = 0x01;
  		_delay_ms(200);
  		PORTC = 0x00;
  		_delay_ms(200);
  	}
  	return 0;
  }