Hi all, i got an ads1100 AD1 chip delivered today, i copied the code from a post about this chip:-
i2cslave %10010000, i2cslow, i2cbyte
i2cwrite(%10001100)
do
i2cread(b0,b1,b2)
w5=b0*255+b1
debug
loop
Now my chip is an AD1 which states the i2c address for it is 1001001x.
x - what goes here, in the datasheet it only list seven nubers, not eight as used for example on the 24lc512 eprom ic.
I tried i2cslave %1001001 & i2cslave %10010010 to no avail.
Please help would really like to get this thing working.
The above code does nothing, it just says waiting in the debug window.
Thanks,
Mark
i2cslave %10010000, i2cslow, i2cbyte
i2cwrite(%10001100)
do
i2cread(b0,b1,b2)
w5=b0*255+b1
debug
loop
Now my chip is an AD1 which states the i2c address for it is 1001001x.
x - what goes here, in the datasheet it only list seven nubers, not eight as used for example on the 24lc512 eprom ic.
I tried i2cslave %1001001 & i2cslave %10010010 to no avail.
Please help would really like to get this thing working.
The above code does nothing, it just says waiting in the debug window.
Thanks,
Mark