diff --git a/README.md b/README.md index 52572e6..60412e2 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ You can found more information on its fun (not official) site: https://www.tc420 I reverse engineered the USB protocol the device uses and wrote this library and CLI tool for making endless possibilities from this device. I successfully implemented all the functions PLED.exe have. -The library is cross platform, works everywhere where [libusb](https://github.com/libusb/libusb) works. But because it is a HID device, and MacOS does not allow to detach kernel drivers of HID devices, on MacOS it is extremely hard to make it work in current form. But I tested on **Windows** and **Linux**, and works fine there. It works on (all kinds of) Raspberry Pi, so it +The library is cross platform, works everywhere where [libusb](https://github.com/libusb/libusb) works. But because it is a HID device, and MacOS does not allow to detach kernel drivers of HID devices, on MacOS it is extremely hard to make it work in current form. But I tested on **Windows** and **Linux**, and works fine there. It works on (all kinds of) Raspberry Pi. (Actually there is a python library for HID devices, so theoretically it is possible to rewrite the lib using hidapi, and then it could work on MacOS as well, pull requests are welcome...) It has a full featured **CLI**, which can act as a reference for the libray. Also you can use it for automation, or just for fun. diff --git a/setup.py b/setup.py index a3f1db0..0d69f09 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ # This call to setup() does all the work setup( name="tc420", - version="0.2.0", + version="0.2.1", description="TC420 LED Controller library and command line interface", long_description=README, long_description_content_type="text/markdown", diff --git a/tc420/__main__.py b/tc420/__main__.py index 0911890..abb9e62 100644 --- a/tc420/__main__.py +++ b/tc420/__main__.py @@ -18,7 +18,6 @@ import os from random import random, randint from datetime import datetime -from time import sleep from typing import Callable, Tuple import click @@ -107,15 +106,17 @@ def time_sync(ctx: Context): @click.option("--step", "-s", "steps", multiple=True, required=True, type=( click.DateTime(formats=('%H:%M', '%H.%M', '%H%M')), - click.IntRange(-100, 100), - click.IntRange(-100, 100), - click.IntRange(-100, 100), - click.IntRange(-100, 100), - click.IntRange(-100, 100), + click.IntRange(-101, 100), + click.IntRange(-101, 100), + click.IntRange(-101, 100), + click.IntRange(-101, 100), + click.IntRange(-101, 100), ), metavar="