Hello sayzer, Mister-e and Acetronics
this is true. I sampled this section from the hole code to test your help1. You have two "goto" s one after the other. When the first one runs, the second one will not run!but there are some " ' " missing there.
However, removing the missing links and compiling errors the final result is the same.
This is my biggest problem. What you suggested was my first written code and it didnt worked.
Code:
I2CREAD SDA,SCL,CTW,ADDR.highbyte,addr.lowbyte,[tempe]
Why do you split addr in 2 ?
Code:
I2CREAD SDA,SCL,CTW,ADDR,[tempe]
This have to be changed in ALL I2CREAD AND I2CWRITE lines
This was my problem in the past and resolved with the help of Skimask.
(see post...)
http://www.picbasic.co.uk/forum/showthread.php?t=8153
Frankly,i didnt understood then as i still dont now, but it worked.
The problem now is that it's not returning good values after the 127 mark and i believe that it's related with 1111111 going to 10000000 since that i read nothing but 000.x from there.
( see attached pic )
.


but there are some " ' " missing there.


Bookmarks