Home→Forums→MonoBrick Communication Library→The translation of ReadSensorColorEx(IN_1,colorval,raw,norm,scaled) from NXC
This topic contains 1 reply, has 2 voices, and was last updated by Anders Søborg 2 years, 2 months ago.
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?
Is this a question regarding the Mono Brick Communication library or the MonoBrick firmware?
I think that you (again) asked the question in the wrong forum
You must be logged in to reply to this topic.