rgreen103
Joined: 21 Nov 2006 Posts: 1
|
Posted: Tue Nov 21, 2006 12:47 pm Post subject: Help - digging deeper into the Motion/Light Sensor example |
|
|
| I am trying to understand a little deeper the example code here on accessing the Motion/Light Sensor. What I am looking for is the technique that was used to get the function index used in IOConnectMethodScalarIScalarO. From the example I see for instance that kGetLEDBrightnessID = 1 which is the index of getSensorReading(int *, int *) . I would like to know how this index value of 1 was determined. Any help would be greatly appreciated. |
|