aboutsummaryrefslogtreecommitdiff
path: root/drivers/display
AgeCommit message (Collapse)Author
2020-04-07drivers/display/ssd1306.py: Change the SET_COM_PIN_CFG setting.robert-hh
Making it more specific to use 0x02 for display with an aspect ratio > 2 (resolutions 96x16 and 128x32) and 0x12 for all other sizes as recommended by @mcauser. Tested with a 64x32 display which did not work before.
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
This is run with uncrustify 0.70.1, and black 19.10b0.
2019-05-20drivers/display/ssd1306.py: Change to use new i2c.writevto() method.Damien George
Fixes issue #3482.
2018-09-18drivers/display/lcd160cr.py: In fast_spi, send command before flushing.Damien George
The intention of oflush() is to flush the "fast SPI" command itself so that the SPI object is ready to use when the function returns.
2018-01-10drivers/display/ssd1306: Fix super() call in SSD1306 driver.Jim Mussared
2017-12-13drivers/display/ssd1306: Make SSD1306 class inherit from FrameBuffer.Peter Hinch
2017-10-06drivers/display/ssd1306: Make poweron() work the same with SSD1306_SPI.Damien George
The poweroff() and poweron() methods are used to do soft power control of the display, and this patch makes these methods work the same for both I2C and SPI interfaces.
2017-10-06drivers/display/ssd1306: Implement SSD1306_I2C poweron method.Tiago Queiroz
After a poweroff(), the poweron() method does a soft power-on and any previous state of the display persists.
2017-09-25drivers/display/ssd1306.py: Improve performance of graphics methods.Peter Hinch
It removes the need for a wrapper Python function to dispatch to the framebuf method which makes each function call a bit faster, roughly 2.5x. This patch also adds the rest of the framebuf methods to the SSD class.
2017-05-21drivers: Replace deprecated Pin.high()/low() methods with .__call__(1/0).Paul Sokolovsky
2017-05-17drivers/display/lcd160cr_test: Allow test to take orientation parameter.Damien George
2017-05-17drivers/display/lcd160cr: Fix get_line method and enhance screen_dump.Damien George
The docs are updated and describe the new behaviour of these methods.
2017-02-27drivers/display/lcd160cr: Add check that JPEG size is less than 65536.Damien George
2017-02-24drivers/display/lcd160cr: Fix bug with save_to_flash method.Damien George
2017-02-21drivers/display/lcd160cr: Fix bugs with lcd.get_pixel().Damien George
Fixes issues #2880 and #2881.
2017-02-17drivers/display/lcd160cr: Use correct variable in set_power().Stephan Brauer
2017-01-23drivers/display: Add driver and test for uPy LCD160CR display.Damien George
2016-12-01drivers/display/ssd1306.py: Update to use FrameBuffer not FrameBuffer1Radomir Dopieralski
2016-11-03drivers: Add "from micropython import const" when const is used.Damien George
Following best-practice use of the const feature, to make it compatible with Python.
2016-06-26drivers/display/ssd1306: Add width arg and support 64px wide displays.Radomir Dopieralski
In particular, the WeMOS D1 Mini board comes with a shield that has a 64x48 OLED display. This patch makes it display properly, with the upper left pixel being at (0, 0) and not (32, 0). I tried to do this with the configuration commands, but there doesn't seem to be a command that would set the column offset (there is one for the line offset, though).
2016-06-03drivers/display/ssd1306: update SSD1306_SPI to work with new APIRadomir Dopieralski
Makes it work on the ESP8266.
2016-04-12drivers: Add SSD1306 OLED driver, with I2C and SPI interfaces.Damien George