Giter Site home page Giter Site logo

Comments (3)

mamin27 avatar mamin27 commented on August 20, 2024

Excuse Tim,

I forgot to document it.

Here is example of the file:

comet@orangepizero2:~/.comet $ cat config.yaml
--- # The I2C config file

i2c:
    smb: i2c-3 # set bus i2c-1
    smb_detect: 0..3 # list of monitored smb bus by i2cdetect
    eeprom:
      ic: '24c01'
      slaveaddr: 0x50
      writestrobe: 26 # hold pin low to write to eeprom
parameter sub-parameter description example value
smb: name of active i2c in /dev i2c-1
smb_detect: list of monitored i2c neworks used by command i2c_ecomet_detect 0..1
eeprom: eeprom section
ic: 24x00 series of eeprom chip name '24c01'
slaveaddr: address of eeprom chip in hex 0x50
writestrobe: GPIO pin number used as CS (chip select) signal for eeprom IC 26

Note: Currently only one eeprom chip could be added.

from ecomet_i2c_raspberry_tools.

mamin27 avatar mamin27 commented on August 20, 2024

Documentation added in main page.

from ecomet_i2c_raspberry_tools.

boneymoy avatar boneymoy commented on August 20, 2024

Great, thanks a lot. It works :)

from ecomet_i2c_raspberry_tools.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.