I modified the Serial test program that came with the nsbasic program
to use the ir port. it was cake. Put this in your startup code:
Global e as Integer
Global gstrReceived as String
'open port
e = SerialOpen(0, 9600)
e = SerialSet("Stopbits", 1)
e = SerialSet("Handshake", 0)
e = SerialSet("IR", 1)
If e > 0 Then MsgBox "startup error " + str(e)
This is mostly from other posts. Order of above is important.
tim
--- In nsbasic-palm@y..., gary@i... wrote:
> Michael,
>
> We're having fun with serialset("IR",1) with the data being totally
> wrong coming out of the IR Port.
>
> Did you get anywhere?
>
>
> --- In nsbasic-palm@y..., "Michael Verive" <mverive@p...> wrote:
> > I'm experimenting with serial I/O and the IR port, and I need to
> know if
> > anyone has been successful in getting two Palm devices to
> communicate using
> > serial I/O and the IR port (using serialset("IR",1)).
> >
> > Mike Verive
> > mverive@p...