Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20773

BASCOM-AVR : I can use 3 sets of Config Sda/Scl one at time ? : REPLY

$
0
0
I'm using Atmega328. But I want make I2C by software, not by hardware. I tried declare two pins as SCL and SDA, and the make I2CInit, make all comunications with one chip, then declare OTHER two pins as SDA and SCL, make again I2CInit, make all comunications, and go on this way for the 3 chips. I see that Bascom permit this is code without compiling error, but don't know if this works with the real hardware. Maybe Mark can tell something about this procedure ? Thanks ! Paulo

Viewing all articles
Browse latest Browse all 20773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>