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

This topic contains 1 reply, has 2 voices, and was last updated by Author Image Anders Søborg 2 years, 2 months ago.

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
    Key Master

    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