Code Monkey home page Code Monkey logo

i2cdriver's Introduction

logo

Build Status

I2CDriver is a tool for controlling any I2C device from your PC's USB port, and can also monitor and capture I2C traffic. It connects as a standard USB serial device, so there are no drivers to install. On the main site i2cdriver.com, there are drivers for

  • Windows/Mac/Linux GUI
  • Windows/Mac/Linux command-line
  • Python 2 and 3
  • Windows/Mac/Linux C/C++

front

Full documentation is at i2cdriver.com.

For developers: How to make a release

To release Python:

rm -rf dist/*
python setup.py sdist
twine upload dist/*

To build the Windows installer, you first need to build the two executables i2ccl.exe and i2cgui.exe then use an NSIS script to create the installer.

On Linux cross-compile i2ccl:

cd c
make -f win32/Makefile

On Windows first make sure that you can run the GUI on the command-line, e.g.

python python\samples\i2cgui.py

(You may need to install i2cdriver, wxPython and pySerial).

Then build the GUI executable using pyinstaller:

cd python\samples
pyinstaller --onefile --windowed --icon=../../images/i2cdriver.ico i2cgui.py

This builds the executable in python\samples\dist\i2cgui.exe.

The Windows installer is built with NSIS (Nullsoft Scriptable Install System). Download and install it.

Copy the two executables i2ccl.exe and i2cgui.exe into nsis/.

Then build the installer with NSIS:

cd nsis
"C:\Program Files\NSIS\makensis.exe" i2cdriver.nsi

The script go.bat in nsis has an example complete flow.

i2cdriver's People

Contributors

crustyauklet avatar jamesbowman avatar justinh24 avatar lakidd avatar

Watchers

 avatar

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.