src/main/cpp/LightRingController.cpp
// Our current LRC's support light rings on pins 0, 1, and 2- don't try to set the color of other ones, please
Our current LRC's support light rings on pins 0, 1, and 2- don't try to set the color of other ones, please
Our current LRC ' s support light rings on pins 0 1 and 2 - don ' t try to set the color of other ones please
bool LightRingController::SetColor(int device, int r, int g, int b) {
	uint8_t out[4];
	out[0] = device;
	out[1] = r;
	out[2] = g;
	out[3] = b;
	return a_I2C.WriteBulk(out, 4);
}
bool LightRingController :: SetColor ( int device , int r , int g , int b ) { uint8_t out [ 4 ] ; out [ 0 ] = device ; out [ 1 ] = r ; out [ 2 ] = g ; out [ 3 ] = b ; return a_I2C . WriteBulk ( out , 4 ) ; }
Our current LRC's support light rings on pins 0, 1, and 2- don't try to set the color of other ones, please
Our current LRC ' s support light rings on pins 0 1 and 2 - don ' t try to set the color of other ones please
// return a_I2C.Transaction(out, 3, NULL, 0);