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

BASCOM-AVR : interfacing ADS1115 : REPLY

$
0
0
Yes, I have a ready made little pcb with the ADS soldered on it. It has all the pullups and some filtering capacitors. Also the oscilloscope shows fine pulses 2x8 at the scl line and 2x high at ada line when reading msb and lsb. I also tried to capture the ack when reading the chip with the scan program but it never came. result 255. perhaps this is where the problem sits, or did I make a poor modification of the program. part of the modified scan program. I2cstart I2cwbyte 144 I2cwbyte 0 For B = 1 To 254 Step 2 I2cwbyte B I2crbyte lbyte, ack If Err = 0 Then cls 'we got an ack lcd "Slave at" lowerline lcd B," "; End If I2cstop 'free bus Next cls lcd "end ";B End

Viewing all articles
Browse latest Browse all 20714

Latest Images

Trending Articles



Latest Images

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