READMEs, images, travis stub

This commit is contained in:
James Bowman 2019-02-10 07:07:27 -08:00
parent 3b0edf3382
commit 085754dcc5
6 changed files with 62 additions and 5 deletions

24
.travis.yml Normal file
View File

@ -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

View File

@ -1 +1,19 @@
# i2cdriver ![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).

View File

@ -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 It uses the [MyForth](http://www.kiblerelectronics.com/myf/myf.shtml) compiler written by
Charley Shattuck and Bob Nash. Charley Shattuck and Bob Nash.
To compile the fonts go into ``st7735s`` To compile the fonts go into ``assets``
and unpack the [IBM Plex OpenType](https://github.com/IBM/plex/releases) font set. and run ``mkfont.py``. This builds the font sources in ``fonts.fs``
then run ``mkfont.py``. This builds the font sources in ``fonts.fs``

BIN
images/hero.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

BIN
images/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

16
testall Executable file
View File

@ -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