Re: [bascom] OT: 2051 Analog Comparator


From "M.C.Alberts" <mark@mcselec.com>
Date Fri, 01 Oct 1999 02:18:43 +0200
Organization MCS Electronics

Hello Dusko,

You are right. I looked it up. It was Beta code and never tested by me.
So I have attached it with the original Atmel ASM code and  BAS sample
so you can test it. Let me know if it works so it can make it to the
docs.

Best regards,
Mark Alberts

Dusko Djuricin wrote:
> 
> >Hi Steve,
> >
> >The pins have no pull up unlike the other pins.
> >The BASCOM GETAD2051() function retrieves the analog value using the
> >comparator. it was based on the example of Atmel.
> >
> >Best regards
> >Mark Alberts
> 
> Did I missed some release of BASCOM, because there is nothing about
> GETAD2051() neither in help or history file. I try to put statement:
> N = Getad2051()
> and compiler didn't report any error!? (I am using version 1.0.0.17)
> 
> Mark, could you be so kind to put a little bit more light on this function.
> 
> Thanks in advance
> Dusko Djuricin
> djdusko@eunet.yu

Attachment: Getad.zip
Description: Zip compressed data