Releases: adafruit/Adafruit_CircuitPython_CharLCD
Complete refactor plus cursor_position fix
THIS RELEASE CHANGES HOW THE ENTIRE LIBRARY IS USED. THE API HAS CHANGED ENTIRELY.
NOW I2C/SPI BACKPACK REQUIRES EXTERNAL LIBRARIES:
- Adafruit_CircuitPython_MCP2300x for I2C
- Adafruit_CircuitPython_74HC595 for SPI
Adds support for RGB I2C shield kit and Pi plate. REQUIRES EXTERNAL LIBRARY:
- Adafruit_CircuitPython_MCP2300x
Change log:
- Import method has changed -
Character_LCD
is a base class withCharacter_LCD_Mono
andCharacter_LCD_RGB
as subclasses. character_lcd_i2c
,character_lcd_spi
andcharacter_lcd_rgb_i2c
are separate files and should be imported separately for use with backpacks, shields or plates.cursor
,blink
,display
,message
,text_direction
are now properties.- Includes fix for backlight polarity issue - set
backlight_inverted=True
in the constructor if necessary. - Includes fix for keeping cursor displayed on screen when using
cursor_position
to set a coordinate location for the cursor on the display.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip install adafruit-circuitpython-charlcd
.
Read the docs for info on how to use it.
Complete refactor!
THIS RELEASE CHANGES HOW THE ENTIRE LIBRARY IS USED. THE API HAS CHANGED ENTIRELY.
NOW I2C/SPI BACKPACK REQUIRES EXTERNAL LIBRARIES:
- Adafruit_CircuitPython_MCP2300x for I2C
- Adafruit_CircuitPython_74HC595 for SPI
Adds support for RGB I2C shield kit and Pi plate. REQUIRES EXTERNAL LIBRARY:
- Adafruit_CircuitPython_MCP2300x
Change log:
- Import method has changed -
Character_LCD
is a base class withCharacter_LCD_Mono
andCharacter_LCD_RGB
as subclasses. character_lcd_i2c
,character_lcd_spi
andcharacter_lcd_rgb_i2c
are separate files and should be imported separately for use with backpacks, shields or plates.cursor
,blink
,display
,message
,text_direction
are now properties.- Includes fix for backlight polarity issue - set
backlight_inverted=True
in the constructor if necessary.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip install adafruit-circuitpython-charlcd
.
Read the docs for info on how to use it.
Update to example
Updates pins assignments in example to match Learn guide.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip install adafruit-circuitpython-charlcd
.
Read the docs for info on how to use it.
Now with RGB non-PWM options
Added the ability to use digitalio
pin setup for RGB character LCD backlights for use in place of PWM pins.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip install adafruit-circuitpython-charlcd
.
Read the docs for info on how to use it.
Now on PyPi!
- Added
setup.py
- Added PyPI release info to
.travis.yml
- Updated
requirements.txt
- Added a more comprehensive
.gitignore
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip install adafruit-circuitpython-charlcd
.
Read the docs for info on how to use it.
Sphinx update.
Thanks to @brentru for the great work!
New release with new Travis integration.
New release to trigger new Travis CI generation.
NOTE: There was also a breaking change to the API for the RGB LCD. The setColor function has been renamed set_color.
Updates to method calling parameters and documentation
Two calling parameters which were not implemented were removed . Both Character_LCD and Character_LCD_RGB classes had the changes in preparation for putting this library into the Adafruit_CircuitPython_Bundle.
2.1 Release refactor
This is an update to refactor the library closer to current CircuitPython library conventions. There is a breaking change in this release! The import structure for the module has changed from explicit imports of files:
import adafruit_character_lcd
or
import adafruit_character_lcd_RGB
To a single module which contains both normal and RGB LCD classes. In addition the class names have been changed from cirpyth_char_lcd
and cirpyth_char_lcd_RGB
to Character_LCD
and Character_LCD_RGB
respectively. No other functional changes were made to the LCD classes themselves.
You will need to update your imports and class creation to match what the examples now show. For example to use the normal LCD:
import adafruit_character_lcd
lcd = adafruit_character_lcd.Character_LCD(...)
Or the RGB LCD:
import adafruit_character_lcd
lcd = adafruit_character_lcd.Character_LCD_RGB(...)
The binary mpy files for this release are only compatible with CircuitPython 2.x. Note they might not work on CircuitPython 3.0+!
2.0.0 compatible
Same as 1.0.0 but mpys should be 2.x compatible.