Searching \ for 'One-wire routines of the CCS C compiler' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/language/index.htm?key=c
Search entire site for: 'One-wire routines of the CCS C compiler'.

Truncated match.
PICList Thread
'One-wire routines of the CCS C compiler'
1998\03\16@065011 by wterreb

flavicon
face
Hi

Anybody out there using the CCS one-wire routines?   I tried
unsuccesfully this weekend to use the example routines that came
with the compiler to interface to the Dallas DS1820 one-wire digital
thermometer and I was wondering if anybody else have had success
doing this?

Rgds
Werner

1998\03\16@072829 by wterreb

flavicon
face
{Quote hidden}

Not yet.   I was rather hoping to find some other user of the
compiler here on the Piclist who has used these routines before.  It
does not seem a big enough deal to bother CCS with something which
is most probably a programming fault on my side.   Mind you, reading
my own message again, it looks as if I was trying to say that the CCS
routines are not working.  This is actually not what I meant....
What I meant to say was that I was unsuccessfull in implementing
their routines in trying to use it in my own application to
interface to a DS1820.    It does not mean that their routines are
incorrect and I feel that it is only fair that I correct myself
here. I'm actually very happy with the CCS compiler and have used it
successfully in a number of projects.
--
Werner Terreblanche     users.iafrica.com/w/we/wernerte/index.htm
wterrebspamKILLspamplessey.co.za (work)  OR  .....wernerteKILLspamspam.....iafrica.com  (home)
Plessey SA, PO Box 30451,Tokai 7966, Cape Town, South Africa
or at home : Suite 251, PostNet X5061, Stellenbosch, 7599
Tel +27 21 7102251  Fax +27 21 7102886  Home +27 21 8523249
------------------------------------------------------------

1998\03\17@034921 by wterreb

flavicon
face
>
> Anybody out there using the CCS one-wire routines?   I tried
> unsuccesfully this weekend to use the example routines that came
> with the compiler to interface to the Dallas DS1820 one-wire digital
> thermometer and I was wondering if anybody else have had success
> doing this?

I played with this again last night and got it working.  It was my
fault.  I forgot to put a 4K7 pull-up resistor on the one-wire input
line.  The examples given by CCS works well and I am now able to
read the DS1820 without problems.  Thanks to those of you that
offered advice.

Rgds
Werner

1998\03\17@170512 by John Sanderson

flavicon
face
Hello Werner & other PIC.ers,

Could be CCS are having a hard time keeping up at the moment.
I've been implementing the ex_pbusm.c routine to hang a bunch of
'F84s onto a one-wire bus, using the B0 pin as serial send/serial
receive (receive under isr.).

After hours of `after hours' grinding my brain against inscrutable code
(for me, anyway) I finally had to swallow my pride & call  for help
- which they promptly gave me.
Turns out there really was a bug or two in the source, and I've now
got a revised edition from them.
Haven't emerged from `Monday fire-fighting mode' yet
to run it.
..
To answer your question "can you help with DS1820 routine?", well......
not exactly, er.. but..... please be aware that the CCS routines as
published with the docs. aren't necessarily infallible.
However, the guys there have not dragged their fingers in coming up
with answers, and I thank them for that.

Best regards,   John
..
email from John Sanderson   /   JS Controls, Boksburg, RSA
Manufacturer & purveyor of laboratory force testing apparatus
and related products and services.
Tel/fax: Johannesburg 893 4154    Cellphone 082 453 4815

More... (looser matching)
- Last day of these posts
- In 1998 , 1999 only
- Today
- New search...