Comments (8)
Made this thing https://github.com/joric/qle
from crkbd.
@nicolai86 I was under the impression that since this uses a really similar OLED setup to the Helix's (ssd1306.h/c present in both repos), the instructions for Helix should apply here.
Give the Helix firmware guide a shot, if you haven't already.
from crkbd.
@jeffreykxiao Yes I tried, also with the python conversion scripts, but it didn't work unfortunately.
from crkbd.
but it didn't work unfortunately
Really?
Please show me error messages and logs.
from crkbd.
@foostan So I'm trying to use the helix FontConverter
When I run it on a 128x32 bmp file I get
python img2hex.py /tmp/aws.bmp
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
0x78, 0x3C, 0x3C, 0x3C, 0x1E, 0x1E,
0x1E, 0x1E, 0x1E, 0x1E, 0x1E, 0x1E,
0x3E, 0x7E, 0xFC, 0xFC, 0xF8, 0xF0,
0xE0, 0x00, 0x00, 0x00, 0x00, 0x1C,
0xFC, 0xFC, 0xFC, 0xFC, 0xF0, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x80, 0xF8, 0xFC, 0xFC, 0xFC,
0xFC, 0xFC, 0xF0, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xF0, 0xFC, 0xFC, 0xFC, 0xFC, 0x1C,
0x00, 0x00, 0x00, 0xC0, 0xF0, 0xF8,
0xF8, 0xFC, 0x3C, 0x3E, 0x1E, 0x1E,
0x1E, 0x1E, 0x1E, 0x1E, 0x1E, 0x1E,
0x3C, 0x3C, 0x38, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
Traceback (most recent call last):
File "img2hex.py", line 31, in <module>
b = 1 if im[fontw*rowc+fontwc][fonth*(colmax-1)-fonth*colc+fonthc][0]<128 else 0
IndexError: index 128 is out of bounds for axis 0 with size 128
When I run it on a 64x32 bmp I get a similar error:
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x18, 0x18, 0x0C, 0x0C, 0x0C, 0x0C,
0x1C, 0xF8, 0xF8, 0xE0, 0x00, 0x00,
0x78, 0xF8, 0xE0, 0x00, 0x00, 0x00,
0xC0, 0xF8, 0x38, 0xF8, 0xE0, 0x00,
0x00, 0x00, 0x80, 0xF8, 0xF8, 0x18,
0x00, 0x40, 0xF0, 0xF8, 0x9C, 0x0C,
0x0C, 0x0C, 0x0C, 0x18, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
Traceback (most recent call last):
File "img2hex.py", line 31, in <module>
b = 1 if im[fontw*rowc+fontwc][fonth*(colmax-1)-fonth*colc+fonthc][0]<128 else 0
IndexError: index 64 is out of bounds for axis 0 with size 64
I've tried pasting the above matrix anyways into logo_reader.c
but the display just remains black if I do that.
from crkbd.
I tried using the image data from logo_reader.c to generate an image with this: http://javl.github.io/image2cpp/
Maybe thereโs a way but I can't get it to generate the image displayed on the OLED... :(
Same with monochrome and black-and-white bmps..
from crkbd.
Okay, slowly making progress. I can feed the font from glcdfont.c
into http://javl.github.io/image2cpp/ , select 128x80
and read vertical
This means I probably have to modify my understanding on how this entire thing works: the font contains the glyphs which makup the image. This might help me figure out how to modify it...
from crkbd.
okay, http://teripom.x0.com/ can load the font from glcdfont.c
and it allows me to edit it too. Downloading the modified glcdfont.c
allows me to update the everything :) thanks!
from crkbd.
Related Issues (20)
- corne-light-v2.0.0 Pre-release Alps Top Plate gerber issue
- About 3x6 acrylic case
- link to the CRKBD via firmware is not a download, its just a txt file HOT 1
- Question about v2 to v3 pcb schematic HOT 1
- corne-cherry cherry mx low profile support. HOT 1
- Buy HOT 3
- Default key mapping not adding normal : HOT 1
- Corne cherry v3 into mini HOT 3
- Available pins for a handwired encoder HOT 2
- Can corne-light-v2.0.0 be printed and used for project HOT 1
- Deleteme
- corne_light_2.0_alps-switchplate HOT 1
- Add 5th pin to support the nice view HOT 1
- Mouse key doesn't work on corne keyboard with VIA HOT 1
- using pi pico instead of pro micro controller possible? HOT 4
- v4 questions HOT 12
- four switches on the pcb of the left hand not working HOT 3
- Where is v3 pcb? HOT 1
- Schematic Cleanup + PCB stackup considerations HOT 6
- Corne Cherry v2 detailed manual needed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crkbd.