VoiceIt Technologies, LLC

Web Based Support
It is currently Fri Sep 10, 2010 7:45 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: IrDA examples...
PostPosted: Thu Sep 22, 2005 9:51 pm 
Offline

Joined: Mon Sep 05, 2005 8:51 pm
Posts: 1
Hello Everyone,

I'm relatively new to Pocket Studio. One of the programs I want to make needs to use the IR port. I have seen some code examples but nothing on the level I want to use it. Basically, I want to capture IR data coming in from a TV remote. Then I want to broadcast that same data out to the TV. I have seen this done. Is there a way to do this in Pocket Studio?

Thank you in advance.

Sincerely,
Dave


Top
 Profile  
 
 Post subject: irda
PostPosted: Sat Nov 05, 2005 10:35 am 
function OpenPorta(Port: UInt32): Err;
const
BaudRate = 9600;
var
Buffer: array [0..30] of Char;
begin
Result := SrmOpen(Port,UInt32(BaudRate), PortID);
estaAberta := (Result = errNone);
PSButton.SetVisible(btnEnv,estaAberta);
if estaAberta then
begin
StrITOA(Buffer, PortID);
PSField.SetText(fldID, Buffer);
end;
// Enable IrDA:
SrmControl(PortID,11,nil,nil);
// WakeUp:
SrmSend(PortID, Buffer, 0, Result);
end;


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group