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

Share your working BASCOM-AVR code here : Use of the MCS I2C Slave Library : REPLY

$
0
0
Alan, why do you initiate a write cycle, if you are not going to write anything? like this: ' I2cstart I2cwbyte &H40 I2cstop ' Also, you do not need the case statement if you read high and low, the byte count would take care of that. If an array is used with the byte count, then you can consecutively read as many bytes as predetermined in one session. Best regards Hubert

Viewing all articles
Browse latest Browse all 20716

Latest Images

Trending Articles



Latest Images

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