tinue / apa102-pi

Pure Python library to drive APA102 LED stripes; Use with Raspberry Pi.
GNU General Public License v2.0
201 stars 71 forks source link

feature or bug print statements #54

Closed wilwet closed 1 year ago

wilwet commented 1 year ago

When starting the driver in def init the type of interface is always printed. It would be nicer if you could add an debug flag or something like that to suppress the printing.

`

Debug

    if self.use_ce:
        print("Use software chip enable")
    if self.use_bitbang:
        print("Use bitbang SPI")
    else:
        print("Use hardware SPI")

`

tinue commented 1 year ago

Sorry, I meant to commit this a long time ago... Please check the "develop" branch and see if this is what you would expect. Thanks!

tinue commented 1 year ago

There will be a minor release soon, which includes this.