Re: TI-H: PIC's and TI-89's


[Prev][Next][Index][Thread]

Re: TI-H: PIC's and TI-89's




It's the source code to the PIC that I'm interested in. I know how the
protocol works and everything and I have made a decent attempt at getting
the PIC to receive a byte from the calculator (I wrote a small 89 ASM
program). From what I can work out the calculator is doing it's part, it's
just the PIC stuffing up some where. Basically I have a loop which loops 8
times receiving the bits from the calculator. It stores the bits to a file
and at the end puts that file on PORTB.

It all works fine accept the PIC begins a new loop as though there is more
data (when there isn't) and sits waiting for what it thinks are the
remaining 7 bits. So I decided to make it only loop 7 times any see what
happens. Strangely enough it appears to loop 7 and only 7 times. The calc
stops until the transmit times out. Obviously incomplete. For this reason I
wanted to know if it had been done and how. This is me reason for waning to
see someone else's code. Not really to  copy, just to see how it's done.

TIA

Wesley Moore

PS: I am programming the PIC an ASM also.

----- Original Message -----
From: PerErik Klarenfjord <el8klap@cse.kau.se>
To: <ti-hardware@lists.ticalc.org>
Sent: Sunday, 22 August 1999 9:39
Subject: RE: TI-H: PIC's and TI-89's


>
> I can send and receive with a PIC (16F84) and my calculator (TI-85). I
> think its the same way to do it on a TI92 too.
> Is it the source-code to the PIC or the calculator you want.. or is it
> both ?
> My routines is only in asm !
>
> >
> >Hello All,
> >I was wondering if anyone had successfully got a PIC to receive a byte
> from
> >a TI-89 and if so would they be willing to share their source code or
> give
> >me some pointers. I have tried myself and can't quite get it to work.
> >
> >TIA
> >
> >Wesley Moore
> >
>
>
>



Follow-Ups: References: