LEGO Mindstorms EV3


Read LEGO EV3 Dumb Input Device
                                                                      //
subcall   ReadLegoEv3DumbInputDevice                                  //  void ReadLegoEv3DumbInputDevice(Value,hName,Layer,Port)
{                                                                     //  
  IO_F    Value                                                       //
  IO_16   hName                                                       //
  IO_8    Layer                                                       //
  IO_8    Port                                                        //
                                                                      //  {
  INPUT_DEVICE(READY_SI,Layer,Port,0,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