So, if I understand this correctly....I can't just hang this on a I2C bus and have it polled for the A/D data? Guess I don't understand exactly how this I2C connection works on it. >From: Gerhard Fiedler >Reply-To: pic microcontroller discussion list >To: PICLIST@MITVMA.MIT.EDU >Subject: Re: [PIC]: IIc and analog inputs >Date: Fri, 30 Nov 2001 15:18:12 -0200 > >At 08:57 11/30/2001 -0700, Micro Eng wrote: >>ok..im lookin for a solution where I have some analog inputs and need to >>send out values via IIC. Now, I am pretty sure there is a PIC that has >>both >>analog inputs and the IIC interface, but question is, in addressing via >>IIC, >>can each analog pots register have a unique address for the IIC bus? Or >>does >>the PIC have one address. >> >>I've never used IIC before, so just investigating it now for this app > >You can't use the high level I2C functions, because these do the address >comparison for you and work only with a single slave address in slave mode. > >But if you use just the low level I2C functions (like start/stop bit >detection) or do it bit-banging by yourself, then there's nothing that >would prevent you from acting as either many slaves in one unit or as many >(multi-) masters in one unit. > >If you want to send out the data without request from a master, you have to >use the multi-master mode anyway. > >ge > >-- >http://www.piclist.com hint: The PICList is archived three different >ways. See http://www.piclist.com/#archives for details. > > _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.