commit b5b22473951b12ea25fbd28827a7f7463035a01f from: Matthias L. Jugel date: Wed Nov 15 19:37:23 2023 UTC add references commit - b0e7ce9d4ab7e0099ef603a08c0e885a8f5a1143 commit + b5b22473951b12ea25fbd28827a7f7463035a01f blob - 8f9cfd7c970523459d91b93b2ab4fb3db32e54f7 blob + b04e3fd0a19405a09dd6eeabb30efe1c1b8f313f --- README.md +++ README.md @@ -15,6 +15,14 @@ I2S implementation that is a bit out of date. 3. write the contents of [src/](src) into the root of the device 4. reset device to start +## References + +- ledmatrix - [ledmatrix](https://github.com/Winkelkatze/ledmatrix) code compiled into firmware bin +- mpy-miniterm - [dev tool](https://github.com/jeffmakes/mpy-miniterm) for syncing code to the device +- hsv2rgb - [some stackoverflow answer](https://stackoverflow.com/a/26856771) +- CEST time conversion - [from a discussion]('https://github.com/orgs/micropython/discussions/11173) on the micropython + forum + ## [License](LICENSE.txt) ``` blob - 5c936f0d0ba83b9788367a0bba670d6f83d99628 blob + 0f1da6d0f60900a3f6ea25475f6c174ed867505a --- src/hsvrgb.py +++ src/hsvrgb.py @@ -1,3 +1,4 @@ +# https://stackoverflow.com/a/26856771 def rgb565(red, green, blue): return (int(red / 255 * 31) << 11) | (int(green / 255 * 63) << 5) | (int(blue / 255 * 31))