The translation of ReadSensorColorEx(IN_1,colorval,raw,norm,scaled) from NXC

HomeForumsMonoBrick Communication LibraryThe translation of ReadSensorColorEx(IN_1,colorval,raw,norm,scaled) from NXC

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5140
    Author Image
    Hasan Sait ARSLAN
    Participant

    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?

    #5146
    Author Image
    Anders Søborg
    Keymaster

    Hi Again

    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 🙂

    /Anders

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Posted in

Make a donation