You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qmk-fw/keyboards/tkc1800
TerryMathews d12d058bae Autodetect lack of screen presence
This is the simplest, most efficient way I could come up with to silence
the "Failed to start write 60" error that occurs when QMK tries to talk
to a screen that doesn't exist.

iota_gfx_init passes a success boolean. We catch that into a global bool
(we could rewrite multiple functions to pass this as an argument, but
given the number of keyboards using this code it seemed less disruptive
this way) and then use that as a conditional on running the
iota_gfx_task in matrix_scan_user.

Tl;dr: if the screen doesn't init, the screen write code doesn't run.
7 years ago
..
keymaps Autodetect lack of screen presence 7 years ago
README.md Initial support for TKC1800 PCB (#2062) 8 years ago
config.h Turn backlight support on by default for tkc1800 (#3353) 7 years ago
i2c.c Add SSD1306 OLED display support to TKC1800 (#2293) 7 years ago
i2c.h Add SSD1306 OLED display support to TKC1800 (#2293) 7 years ago
info.json Remove bootloader from info.jsons 7 years ago
rules.mk TKC1800: Correct error on LED backlight support (#3408) 7 years ago
tkc1800.c Initial support for TKC1800 PCB (#2062) 8 years ago
tkc1800.h Add TKC1800 info.json 7 years ago

README.md

The Key Company TKC1800

TKC1800

The Key Company TKC1800 is a Cherry 1800 form factor replacement PCB utilizing the AT90USB1286 microcontroller.

Keyboard Maintainer: Terry Mathews
Hardware Supported: AT90USB1286
Hardware Availability: Via GB

Make example for this keyboard (after setting up your build environment):

make tkc1800

See build environment setup then the make instructions for more information.