- Fix color blending truncation in blend(): compute the full weighted
sum as float64 before casting to uint8, avoiding double truncation
- Fix UC8159 on IMPRESSION57 incorrectly reporting height as 447;
correct it to 448 in DetectOpts
- Add Opts.String() for human-readable option printing
- Refactor update() if/else chain to a switch statement
- Add TestDevImpression_BlendPrecision to cover the blend fix
Signed-off-by: Çağlar Onur <caglar@10ur.org>
*Changed the SPI CS pin to work under automatic or manual control. This allows it to work when CS is controlled by SPI, or when it is controlled manually. We don't want it to fail in the configuration the Pimoroni python driver requires.
*Changed the wait() routine to use a 10ms debounce on WaitForEdge() as the python driver does.
*If the BUSY line is high on entry to wait to go directly to a timed wait as the python driver does.
*Fixed errors in the palette definitions. Removed extra memory allocation.
* Add support for Adafruit I2C/SPI Backpack
* Add support for PCF857x Backpacks
* Add support for conn/gpio/Group
* Implement conn/display/TextDisplay
* Add examples
* Cleanups
* Change backlight implementation
* tic: Add I²C support for Tic Stepper Motor Controllers (#1)
* Initialise buffers as arrays instead of slices
* Remove redundant step modes and improve docs
* Make Offset type private
* Remove shadowed variable
Remove quote about Google ownership and lack of affiliation with the Go
project. It's not owned by Google anymore and I don't believe there's
confusion about the Go project.
* add Sense() test
* fix IsInitialized() always returning false
* add tests for most exported Methods
* add negative test cases for Sense()
* add license to test
* fix CRC checksum of read timeout test
* fix read timeout test
* remove read timeout test
* remove opts from test case
- Removed useless ReadRaw
- Changed the scope of ReadAndCombine to private readAndCombine
- Renamed ExampleNewI2C & ExampleNewSpi to follow the recommandations. Exposed an I2CAddr for those who may need it.