Recent content by Rickg1

  1. R

    20 bit on a picaxe

    How do i read a 20bit word from an bme680?
  2. R

    Picaxe programing

    I seem to have my chip from SPARKFUN working? I get an ID of 96 instead of 60. I use your code: hi2csetup i2cmaster,$ee ,i2cslow, i2cbyte ; BMP180 address pause 20 hi2cin $D0,(b0) ; read sensor id sertxd(cr,lf,"BME280 ID= ",#b0,cr,lf) Question does this line read 6...
  3. R

    Picaxe programing

    Second thought, what about reading and writing to registers inside a chip or project? Is the hex value "true" or is it x2 like the address in i2c setup? If the data sheet reads address XX does hi2out or in become xx too?
  4. R

    Picaxe programing

    Thank you so much Sir. Makes more sense now but I will still have to sleep on it to get it in my head. Thanks
  5. R

    Picaxe programing

    Please forgive an old man but please explain again how x77 ( for an bme280) is $ec in code examples here on the forum. I using i2c to talk to a bme280 . Address is 77. What is the conversion process when writing code for a picaxe . No matter what I use for i2c setup I get all o's back. I only...
  6. R

    DAC 7571 from ti

    Once again, Thanks
  7. R

    DAC 7571 from ti

    Can someone tell me way this code does not work HI2cSetup I2CMASTER, $98 , I2CSLOW, I2CBYTE main: w1= 4094 b2 = $fe b3 = %00111111 HI2cOut (b3,b2) pause 3 w1= $00 b2 = $00 b3 = %00110000 HI2cOut (b3,b2) pause 3...
  8. R

    DAC 7571 from ti

    Hippy, I'll got a lot to learn!!! Your code worked right out of the box! Thanks. Why is the address wrong $4c vs $98 ? The scanning program gave $48 And $4c, thought i2c address is left shifted ? At 74 yo I got so so much to "learn" and get into my head. I have put in so much time and...
  9. R

    DAC 7571 from ti

    Allen, I used the I2C scanning program from the forum and got $48 and $4c as address. Spec sheet gives $4c. A0 is at gnd. All I'm trying to do right now is to get some kind of pulse out to see it on the scope. I was hoping that my code would made the output "step" to some voltage and then...
  10. R

    DAC 7571 from ti

    Did it , how to paste "the code" into forum?
  11. R

    DAC 7571 from ti

    This may not be right way to do it but here it is.. 'DAC7571 0-5v dac TI ' ' Sept11,2019 ' Start , got chip solded to carrier and put on 6 pins. ' 14 sept, byte not word out, address not know.. ' 16 sept still workin on it. ' 17 sept still workin on it. ' #picaxe 08m2 #no_data #terminal 4800...
  12. R

    DAC 7571 from ti

    am trying to put my code into here, selected copy for forum, how do i paste it in?
  13. R

    DAC 7571 from ti

    Guys thanks for the help on the AM2320, which thanks to you is working great now. But now this old man needs help on the next problem. I'm trying to get a 12 bit dac to work. Want to get a repeating sweep out of it. ( 0 to 5v) . Somewhere I missed the boat cause i get nothing out. ' ' '
  14. R

    AM2320 - temp / humidty

    thank you.
  15. R

    AM2320 - temp / humidty

    Question: how do I put a clear display in a program using the pic terminal?
Top