Skip to content

Commit 87bd7ac

Browse files
added a software mitigation for LED ghosting
When the row power switching is slow to turn off and cannot be mitigated in hardware, sending the shift registers an all-off configuration and waiting a short period mitigates the ghosting as it creates a wait for the row power to completely turn off before the new row is powered.
1 parent fdf3ed1 commit 87bd7ac

11 files changed

+204
-65
lines changed

CHANGELOG.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1010
- Refactored the image classes to have a common, templated base class. This consolidates similar logic to a single location.
1111

1212
### Added
13-
- Added support for the Arduino Zero and Due boards (and related)
14-
- Added support for older ATmega8535, ATmega16 and ATmega32 microcontrollers
15-
- Added support for ATmega1284 and ATmega1284P microcontrollers
16-
- Added method to LEDImage for drawing circles
17-
- Added a Red-Blue-Green bit layout mode for the RGB matrix object
13+
- Support for the Arduino Zero and Due boards (and related)
14+
- Support for older ATmega8535, ATmega16 and ATmega32 microcontrollers
15+
- Support for ATmega1284 and ATmega1284P microcontrollers
16+
- A method to LEDImage for drawing circles
17+
- A Red-Blue-Green bit layout mode for the RGB matrix object
18+
- An option to shift out an "all off" signal for a short period of time in between row updates to the shift registers. This helps mitigate LEF ghosting when the time to turn off for the row power switch is appreciable and cannot be mitigated in hardware. For example, when using 2981 source drivers for the row power switching.
19+
1820

1921
## [1.0.1] - 2017-12-24
2022
### Changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ Find at more about this library and hardware that it is designed for at:
88
[www.kamprath.net/led-matrix/](http://www.kamprath.net/led-matrix/)
99

1010
# Design and Usage
11+
## Hardware support
12+
13+
1114
## Architecture
1215
This library has three general facets: image handling, matrix driver, and animation management.
1316

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version=1.0.1
33
author=Michael Kamprath <michael@kamprath.net>
44
maintainer=Michael Kamprath <michael@kamprath.net>
55
sentence=A driver for LED matrices that use shift registers to control rows and columns.
6-
paragraph=Provides a high level API for managing and drawing to the LED matrix. Can drive either a single color and RGB LED matrices. Color shading is enabled using PWM-style updates to the matrix shift registers. Uses a clock interrupt. Designed to be used with 74HC595 and/or DM13A type shift registers, or similar. See website for hardware designs supported.
6+
paragraph=Provides a high level API for managing and drawing to the LED matrix. Can drive either a single color or RGB LED matrices. Color shading is enabled using PWM-style updates to the matrix shift registers. Uses a clock interrupt. Designed to be used with 74HC595 and/or DM13A type shift registers, or similar. See website for hardware designs supported.
77
category=Display
88
url=http://www.kamprath.net/led-matrix/
99
architectures=*

0 commit comments

Comments
 (0)