diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..caed0cc --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +language: generic +script: ./testall + +matrix: + include: + - os: linux + sudo: required + python: 2.7 + install: pip install pyserial + env: TOXENV=py27 + - os: linux + sudo: required + python: 3.4 + install: pip install pyserial + env: TOXENV=py34 + - os: linux + sudo: required + python: 3.5 + install: pip install pyserial + env: TOXENV=py35 + - os: osx + sudo: required + install: pip install pyserial + env: TOXENV=py33 diff --git a/README.md b/README.md index d35d28d..533e34f 100644 --- a/README.md +++ b/README.md @@ -1 +1,19 @@ -# i2cdriver \ No newline at end of file +![logo](/images/logo.png) + +[![Build Status](https://travis-ci.org/jamesbowman/i2cdriver.svg?branch=master)](https://travis-ci.org/jamesbowman/i2cdriver) + +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. +The serial protocol is [very simple](/protocol.md), +and there are included drivers for + +* Windows/Mac/Linux GUI +* Windows/Mac/Linux command-line +* Python 2 and 3 +* Windows/Mac/Linux C/C++ + +![front](/images/hero.jpg) + +Full documentation is at +[i2cdriver.com](http://i2cdriver.com). diff --git a/firmware/README.md b/firmware/README.md index 3b46f9b..bcc72a7 100644 --- a/firmware/README.md +++ b/firmware/README.md @@ -1,7 +1,6 @@ -This is the firmware for the SPIDriver. +This is the firmware for the I2CDriver. It uses the [MyForth](http://www.kiblerelectronics.com/myf/myf.shtml) compiler written by Charley Shattuck and Bob Nash. -To compile the fonts go into ``st7735s`` -and unpack the [IBM Plex OpenType](https://github.com/IBM/plex/releases) font set. -then run ``mkfont.py``. This builds the font sources in ``fonts.fs`` +To compile the fonts go into ``assets`` +and run ``mkfont.py``. This builds the font sources in ``fonts.fs`` diff --git a/images/hero.jpg b/images/hero.jpg new file mode 100644 index 0000000..2f14166 Binary files /dev/null and b/images/hero.jpg differ diff --git a/images/logo.png b/images/logo.png new file mode 100644 index 0000000..a5f589a Binary files /dev/null and b/images/logo.png differ diff --git a/testall b/testall new file mode 100755 index 0000000..4213165 --- /dev/null +++ b/testall @@ -0,0 +1,16 @@ +#!/bin/sh + +set -e + +# cd python +# if [[ $TRAVIS_OS_NAME == 'osx' ]]; +# then +# python setup.py install +# else +# python setup.py install --user +# fi +# cd .. +# python -c 'from spidriver import SPIDriver' + +# cd c +# make -f linux/Makefile