Project

General

Profile

Revision 658

red works?

View differences:

orb.c
76 76
	OCR2B = 0;
77 77
	
78 78
	
79
	/*red is here. it goes on timer 1 which counts to the value in ICR1 instead of 8 bits
79
	red is here. it goes on timer 1 which counts to the value in ICR1 instead of 8 bits
80 80
	//TCCR1A = _BV(COM1B1)|_BV(COM1B0)|_BV(WGM11);
81
	TCCR1A |= 0b00110001;
81
	TCCR1A |= 0b00110010;
82 82
	
83 83
	//TCCR1B = _BV(WGM13)|_BV(WGM12)|_BV(CS10);
84 84
	TCCR1B |= 0b00011001;
85 85
	ICR1 = 0x9C40;
86 86
	OCR1B = 0;
87
   */
87
   
88 88
	return 0;
89 89
}
90 90

  

Also available in: Unified diff