M5Stack-Core2-Love-Globe
A small application that turns a M5Stack Core2 into a digital Love Globe.
Prerequisites
This project use the VS Code Plugin PlatformIO
as Development IDE.
Technicals
Image formats
RGB565:
To convert a PNG image to RGB565, the three bytes for RGB are converted to two bytes. The red component is reduced to 5 bits, the green component to 6 bits and the blue component to 5 bits, so that the three RGB bytes are converted into two bytes.
XBM:
XBM is a monochrome bitmap format that stores data as a data array. It is mainly used to store cursor and icon bitmaps for use in graphical user interfaces.
Images can be converted to XBM format using the online converter here:
https://www.online-utility.org/image/convert/to/XBM
The output must be placed in a header file, renamed, and adjusted to appear as a constant UINT8 array in PROGMEM (FLASH program memory).
Contact
Konrad Hauke - @K0NRADhauke - hauke.konrad@gmail.com
Project Link: https://github.com/K0NRAD/M5Stack-Core2-Love-Globe
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'feat:Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Please use Conventional Commits messages. Details about Conventional Commits find youn on https://www.conventionalcommits.org
License
Distributed under the MIT License. See LICENSE.txt
for more information.