vsergeev / python-periphery

A pure Python 2/3 library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux.
MIT License
529 stars 139 forks source link

added led support #4

Closed WallaceIT closed 7 years ago

WallaceIT commented 8 years ago

This commit add led support via sysfs.

vsergeev commented 8 years ago

Wow - thanks for this thorough contribution.

vsergeev commented 7 years ago

Thanks! I only modified the module to make the initial brightness optional and to accept booleans in the read/write methods and brightness property.