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

BASCOM-AVR : new problem with I2C : REPLY

$
0
0
Hi kimmi, It seems that the result is 127 (dec) then seems that the iqs is replying everythink....; Then I don't understand why I can read if the antenna are touch or not !!! If I send this: [code:1:54bbbe5f77] do i2cstart i2cwbyte &H80 Loop Until Err = 0 'Print "erreur = " ; Err I2cstart I2cwbyte &H80 I2cwbyte &H35 '--> new stop byte I2cstart I2cwbyte &H81 I2crbyte Valeur_byte , Nack I2cstop Waitms 5 Print "valeur= " ; Valeur_byte Goto Main [/code:1:54bbbe5f77] the result is always 0 AND I touch antenna !!!! Thanks for your help Regards Vincent

Viewing all articles
Browse latest Browse all 20596

Trending Articles



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