The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: RE: What 50" Plasma?


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

Re: Serial PIC Programming


  • To: ukha_d@xxxxxxx
  • Subject: Re: Serial PIC Programming
  • From: "galeforce9" <ian@xxxxxxx>
  • Date: Thu, 27 Dec 2001 14:16:00 -0000
  • Delivered-to: mailing list ukha_d@xxxxxxx
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx

Hi

I beleive that I2C is similar, in which case there are loads of
example code bits on the net, just use google with 16c84 I2C and you
should find it.

If not it's fairly easy to code detect the clock, wait 1/2 clock
pulse width and read the data as either high or low and build up the
bytes. You can make it more complex if you want but only required
really if you expect noisy signals.

Thinking whilst typing I beleive the PC keyboard is the same format
and again there is code on the net for that to.

Ian D.


--- In ukha_d@y..., Stuart Poulton <swp@s...> wrote:
> Hi,
>
> Does anyone have experience of Microcontroller programming to read
a
> clocked serial input. Of the type where 2 io lines are used 1 to
provide
> the clock the other to provide that data.
> Ideally I'd like to do this on on PIC.
>
> Thanks
>
> Stuart



Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.