Hi!
I have a problem in translating “ReadSensorColorEx(IN_1,colorval,raw,norm,scaled)” which is written in NXC to MonoBrickFirmware library.
ReadSensorColorEx (const byte & port, int & colorval, unsigned int & raw[], unsigned int & norm[], int & scaled[])
In NXC, this function lets you read the LEGO color sensor. It returns the color value, and three arrays containing raw, normalized, and scaled color values for red, green, blue, and none indices.
How can I write a statement in MonoBrickFirmware library to get the same product with the function ReadSensorColorEx() in NXC?
Follow