IO Expansion methods

Do you have a question on how to do something.
Ask in here.

Posts: 12288
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sun Jan 08, 2017 9:04 pm
You got the wrong version.
The new I/O modules are version 2.2.
I updated the download page with the v2.2 eagle files.
They no longer use 328p. They use PCF8574 as I mentioned above.
Roberto.

Posts: 33
Joined: Thu Nov 24, 2016 7:19 am
PostPosted: Mon Jan 09, 2017 9:23 am
I read about the PCF8574 chip on TI's site. Seems straight forward - less complex than using the 328P. But the question remains. How do I get more than just an on/off value from it?

BTW - I cannot seem to locate the 2.2 eagle files for IO on the download page. :-(

Posts: 12288
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Mon Jan 09, 2017 10:48 am
What do you mean as more than on/off?
Try refreshing the browser.
Roberto.

Posts: 33
Joined: Thu Nov 24, 2016 7:19 am
PostPosted: Thu Jan 19, 2017 3:30 pm
Like
X = analogRead( i2cio-pin1)

Also didn't find newer Eagle files

And how do you send data to pin 1 vs pin3? I get the example above except for this.

Sent from my iPhone using Tapatalk

Posts: 12288
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Thu Jan 19, 2017 6:07 pm
No. For reading, just use the code I posted before:
viewtopic.php?p=54240#p54240
Roberto.

Posts: 33
Joined: Thu Nov 24, 2016 7:19 am
PostPosted: Thu Jan 19, 2017 7:05 pm
rimai wrote:No. For reading, just use the code I posted before:
viewtopic.php?p=54240#p54240


Not sure how I missed the 0 in channel.


Sent from my iPhone using Tapatalk
Previous

Return to How do I code ...

Who is online

Users browsing this forum: No registered users and 3 guests