This Forum is Dedicated For all The Object Oriented PIC Lovers .......... The concept behind OOPic is straight forward. Use preprogrammed multitasking Objects from a library of highly optimized Objects to do all the work of interacting with the hardware. Then write small scripts in Basic, C, or Java syntax styles to control the Objects. During operation, the Objects run continuously and simultaneously in the background while the scripts run in the foreground telling the objects what to do.

Tuesday, September 11, 2007

[oopic] Re: Digital Potentiometers

--- In oopic@yahoogroups.com, carson hoyt <carr6565@...> wrote:
>
> Hi everyone,
>
> From what I've read digital potentiometers use I2C ports to
interface with other devices, but some only require a I/O line. From a
programing perspective it would be really great if I could pretend
they were servos. I also couldn't find an object specifically related
to them. Does anyone have any experience with them, some advice about
'what kind to use' would be great? Thanks for the help I'm just
trying to get a variety of perspectives on the subject before I go out
and buy one for my next project.
>
> Carson

I have used the I2C version with great success. You would just
connect it to same I2C bus as the EEPROM and use oI2C to talk to it.

You can use the SPI version as well with oSPIL but there may be issues
with the oSPIL object not talking to standard SPI devices. YMMV...

Richard



Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

1 comment:

Anonymous said...

These devices are extremely useful in the modern, digitally controlled world, but have some limitations.

digital potentiometer