Project

General

Profile

Revision 657

plz work now red

View differences:

orb.c
109 109
	OCR2B = green;
110 110
	
111 111
	
112
	/*red is here. it goes on timer 1
112
	/*red is here. it goes on timer 1*/
113 113
	red = red%256;
114 114
	red *= 0x9C40;
115 115
	red = (int)(red/256); 
116
	OCR1B = red;
117
	*/
118
	while(1){
119
		PORTD |= 0b00010000;
120
    }
116
	OCR1B = 1;
117

  
121 118
	return 0;
122 119
}
123 120

  

Also available in: Unified diff