This repository has been archived by the owner on Sep 3, 2021. It is now read-only.
v2.0.0
This is a compatibility breaking update. The changes are as such:
- Lighting.BatchBegin and Lighting.BatchEnd Lua API functions now no longer return false if called incorrectly (e.g. called BatchEnd() but there was no matching call to BatchBegin()), but rather stop execution of the script and throw an error in the log
- Since there was a fix for MSIRGB to properly understand the colours from the chip (it was previously interpreting 4 colours of 24-bit depth, while the chip in fact supports 8 colours but only of 12-bit depth), there were some changes to accomodate this:
- Lighting.SetColour now only accepts values for each channel between 0x0 and 0xf
- The colour picker in the GUI was replaced with a slider-based colour picker, allowing to choose only between the 4096 available colours. Previously, the colour chosen from the colour picker was approximated to make work with the chip.