next up previous contents
Next: 9.3 Time Commands Up: 9.2.2 Infrared Subsystem Previous: int sony_init(0)

int ir_data(int dummy)

Returns the data byte last received by the driver, or zero if no data has been received since the last call. A value must be provided for the dummy argument, but its value is ignored.

The infrared sensor is the dark green component in the Handy Board's lower right hand corner.

Fred G. Martin
Fri Mar 29 17:44:15 EST 1996