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

BASCOM-AVR : I2C slave / TWI : NEWTOPIC

$
0
0
Hi I need / want to use a Tiny 45 as a i2c slave . It does have all the hardware inside to do that. I have the Bascom i2c slave add-on library . I tried to compile the sample i2c slave for mega8 and all is fine . Then changed the chip to attiny45.dat and the wheels came off. Lot of errors and then when I check the attiny45 dat file I get [I2CSLAVE] POSSIBLE=NO ; software slave mode not possible ???? Please advise why this is the case . I presume I am doing it wrong . The plan is to use the tiny45 as a quad encoder and then to get the count via i2c . Please advise what I should do to get a Tiny45 acting as a i2c / twi slave ? Cheers Nico [b:40b08df030][color=red:40b08df030](BASCOM-AVR version : 2.0.7.6 )[/b:40b08df030][/color:40b08df030]

Viewing all articles
Browse latest Browse all 20563

Trending Articles



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