Loading ...
Sorry, an error occurred while loading the content.

Re: Si570 PicAXE Read Freq Configuration

Expand Messages
  • mikecol2
    ... Hi Charles, Read is something like: i2cslave $AA,i2cslow,i2cbyte initialize I2C main: readi2c 7,(b0,b1,b2,b3,b4,b5) Registers 7-12 sertxd(CR, LF, #b0,
    Message 1 of 2 , Jan 6, 2008
    • 0 Attachment
      > 1) what code you use in your PicAXE to "read" the frequency
      > configatation
      >
      > 2) as well as what data string comes back, perhaps a screen-shot or
      > text capture of a real session would be nice.
      Hi Charles,

      Read is something like:
      i2cslave $AA,i2cslow,i2cbyte 'initialize I2C
      main:
      readi2c 7,(b0,b1,b2,b3,b4,b5) 'Registers 7-12
      sertxd(CR, LF, #b0, " ", #b1," ", #b2," ", #b3," ", #b4," ", #b5)
      goto main

      My chip responds with (all in decimal, i.e. the #):
      5 66 182 7 11 22


      73, Mike Collins KF4BQ
    Your message has been successfully submitted and would be delivered to recipients shortly.