Subject:
|
Re: Use of sony-ir functions in program
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Wed, 7 Apr 1999 22:42:17 GMT
|
Original-From:
|
Duncan Orthner <ORTHNER@saynotospamIDIRECT.COM>
|
Viewed:
|
1062 times
|
| |
| |
At 09:16 PM 4/7/99 +0200, MSMKatz wrote:
> My first question is about using the sony-ir functions in a program:
> After loading sony-ir.icb and executing "sony_init(1)" at the IC prompt,
> I can successfully retrieve signals from my sony remote control via the
> function
> "ir_data(0)", again given at the IC prompt.
> However, if I put these functions in a IC program (see below) and
> execute it in the Handy Board, "ir_data(0)" keeps returning the value
> "0" all the time!
There is some sample code for using irdata(); in the sonytest.c file.
Basically it needs to be put in a loop so that it will refresh the value
for the received code.
Hope this helps, Duncan
|
|
Message is in Reply To:
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|