This repository has been archived by the owner on Dec 17, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding on_settings_migrate() to add the 2 new default options to older
configurations. This should fix all the KeyErrors people are seeing. Set the pigpiod pwm dutycycle to range from 0-100 so that it matches RPi.GPIO. The startup pwm value should be 0 or 100. This should fix the ValueError users were seeing. Removed some of the debugging cruft I had added trying to fix the original bugs, but I didn't have an actual printer around to test with.
- Loading branch information
Showing
2 changed files
with
17 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters