Project

General

Profile

Revision 656

Set color(int) is better now

View differences:

orb.c
117 117
	*/
118 118
	while(1){
119 119
		PORTD |= 0b00010000;
120
   }
120
    }
121 121
	return 0;
122 122
}
123 123

  
......
130 130
 * @see orb_init
131 131
 **/
132 132
 
133
 int set_orb(int color){
133
 int Set_orb(int color){
134
	int red = (color>>16)&BYTEMASK;
135
	int blue = (color>>8)&BYTEMASK;
136
	int green = color&BYTEMASK;
137
	return set_orb(red, green, blue);
134 138
 }
135 139

  
136 140
/** @} **/ //end group

Also available in: Unified diff