To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 5981
5980  |  5982
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:
  1. Use of sony-ir functions in program; 2. smooth PWM
 
Hi everybody! 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 (...) (25 years ago, 7-Apr-99, to lugnet.robotics.handyboard)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR