Keyboard firmwares for Atmel AVR and Cortex-M
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

7 лет назад
1234567891011121314151617181920212223242526272829303132333435363738
  1. ## KWARK keyboard firmware
  2. ![KWARK 1.0 Assembled](kwark.jpg)
  3. ======================
  4. KWARK dual matrix, dual controller. Per key LED control, reactive lighting.
  5. Based on the GNAP!
  6. Dual Pro Micro's. One running TMK, the other running an Arduino sketch driving the LEDs. Pro Micro's are connected to each other via hardware serial UART.
  7. Pinout
  8. Rows D1, D0, D4, C6
  9. Cols D7, E6, B4, B5, B6, B2, B3, B1, F7, F6, F5, F4
  10. keymap_gnap.c contains functions to send bytes to the LED controller. The Arduino code interprets these to change modes or brightness.
  11. //GNAP keymap functions
  12. void gnaplight_step(void) {
  13. serial_send(101);
  14. }
  15. void gnaplight_toggle(void) {
  16. serial_send(100);
  17. }
  18. \tmk_core\common\keyboard.c was modified to send the row/column of the key being pressed encoded as as single byte over the serial link to the LED controller.
  19. #ifdef GNAP_ENABLE
  20. //send single byte with value of row column
  21. serial_send((r*16)+c);
  22. #endif
  23. The example Arduino sketch [LED_FastGPIO.ino](LED_FastGPIO.ino) uses the fastGPIO and TimerOne libraries. These can be installed with the Library manager.
  24. [FastGPIO](https://github.com/pololu/fastgpio-arduino)
  25. [TimerOne](https://www.pjrc.com/teensy/td_libs_TimerOne.html)
  26. [Original Quark Keyboard](https://deskthority.net/workshop-f7/quark-keyboard-40-staggered-layout-that-fits-all-planck-cases-t10474.html)