LEGO Mindstorms EV3


Read Third Party NXT Dumb Input Device (with "typedataXX.rcf")
                                                                      //
subcall   Read3PNxtDumbInputDevice2                                   //  void Read3PNxtDumbInputDevice2(Value,hName,Layer,Port)
{                                                                     //  
  IO_F    Value                                                       //
  IO_16   hName                                                       //
  IO_8    Layer                                                       //                   Type from "typedataXX.rcf" file
  IO_8    Port                                                        //                                      |
                                                                      //  {                                   |
  INPUT_DEVICE(READY_SI,Layer,Port,53,0,1,Value)                      //    INPUT_DEVICE(READY_SI,Layer,Port,Type,Mode,DataSets,Value)
  INPUT_DEVICE(GET_NAME,Layer,Port,-1,@hName)                         //    INPUT_DEVICE(GET_NAME,Layer,Port,Length,@hName)
}                                                                     //  }
                                                                      //  

LEGO® Robotics Firmware Documentation
Confidential Information © 2013 The LEGO Group