Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cowboy/bitmap-code-generator
Bitmap ⇔ Code Generator, Suitable for use with GyverMAX7219 and possibly other code or hardware that uses 8x8 bitmaps
https://github.com/cowboy/bitmap-code-generator
Last synced: about 1 month ago
JSON representation
Bitmap ⇔ Code Generator, Suitable for use with GyverMAX7219 and possibly other code or hardware that uses 8x8 bitmaps
- Host: GitHub
- URL: https://github.com/cowboy/bitmap-code-generator
- Owner: cowboy
- Created: 2021-10-02T19:21:52.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-16T03:10:00.000Z (about 3 years ago)
- Last Synced: 2024-04-14T22:47:02.998Z (7 months ago)
- Language: JavaScript
- Homepage: https://bitmap-code-generator.benalman.com/
- Size: 839 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bitmap ⇔ Code Generator
[![github pages](https://github.com/cowboy/bitmap-code-generator/actions/workflows/main.yml/badge.svg)](https://github.com/cowboy/bitmap-code-generator/actions/workflows/main.yml)
Convert between bitmaps and code, with a GUI bitmap editor
Suitable for use with [GyverMAX7219](https://github.com/GyverLibs/GyverMAX7219)
and possibly other code or hardware that uses 8x8 bitmaps or LED matrixes## Online Editor
https://bitmap-code-generator.benalman.com/
## Example
A bitmap like this:
![](https://github.com/cowboy/bitmap-code-generator/blob/main/public/robot.png?raw=true)
Becomes this C++ code:
```cpp
const uint8_t robot[] PROGMEM = {0x42, 0x7e, 0x81, 0xa5, 0x81, 0x7e, 0x3c, 0xff};
```Or this JavaScript code:
```js
const robot = [0x42, 0x7e, 0x81, 0xa5, 0x81, 0x7e, 0x3c, 0xff]
```And vice-versa!