diff --git a/library/UnicornHat/CHANGELOG.txt b/library/UnicornHat/CHANGELOG.txt index e87fa97..7c417cf 100644 --- a/library/UnicornHat/CHANGELOG.txt +++ b/library/UnicornHat/CHANGELOG.txt @@ -1,3 +1,8 @@ +2.2.2 +----- + +* Bugfix: Switched to DMA channel 10 to avoid SD card locking + freezing + 2.2.1 ----- diff --git a/library/UnicornHat/setup.py b/library/UnicornHat/setup.py index ff45c97..b380e6a 100755 --- a/library/UnicornHat/setup.py +++ b/library/UnicornHat/setup.py @@ -36,15 +36,15 @@ setup( name = 'unicornhat', - version = '2.2.1', + version = '2.2.2', author = 'Philip Howard', author_email = 'phil@pimoroni.com', description = """Python library for UnicornHAT/pHAT""", - long_description= open('README.txt').read() + open('CHANGELOG.txt').read(), + long_description= open('README.txt').read() + "\n" + open('CHANGELOG.txt').read(), license = 'MIT', keywords = 'Raspberry Pi Unicorn HAT', url = 'http://shop.pimoroni.com', classifiers = classifiers, py_modules = [ 'unicornhat' ], - install_requires= ['rpi_ws281x >= 3.0.1'] + install_requires= ['rpi_ws281x >= 3.0.2'] ) diff --git a/library/UnicornHat/unicornhat.py b/library/UnicornHat/unicornhat.py index 0f4a2c7..045e013 100644 --- a/library/UnicornHat/unicornhat.py +++ b/library/UnicornHat/unicornhat.py @@ -12,7 +12,7 @@ LED_COUNT = 64 # Number of LED pixels. LED_PIN = 18 # GPIO pin connected to the pixels (must support PWM!). LED_FREQ_HZ = 800000 # LED signal frequency in hertz (usually 800khz) -LED_DMA = 5 # DMA channel to use for generating signal (try 5) +LED_DMA = 10 # DMA channel to use for generating signal LED_BRIGHTNESS = 128 # Set to 0 for darkest and 255 for brightest LED_CHANNEL = 0 # PWM channel LED_INVERT = False # True to invert the signal (when using NPN transistor level shift)