diff options
author | Pekaso <[email protected]> | 2018-09-28 10:06:19 +0900 |
---|---|---|
committer | Drashna Jaelre <[email protected]> | 2018-09-27 18:06:19 -0700 |
commit | a65085a89354e89ddd3517aa63c74ef6dd32ca8b (patch) | |
tree | 7fa976bcd86055d56c6c3be9528c2aaf976ae1c7 /keyboards/fortitude60/serial_config.h | |
parent | 8ef747accf6e59ff50a3dde1cb34f56e4edce9fe (diff) | |
download | qmk_firmware-a65085a89354e89ddd3517aa63c74ef6dd32ca8b.tar.gz qmk_firmware-a65085a89354e89ddd3517aa63c74ef6dd32ca8b.zip |
Keyboard: [Fortitude60] LED fix and Serial improvement (#3982)
* arrangement Underglow
* modified serial function references from helix
* Remove defines (ws2812_*REG)
Diffstat (limited to 'keyboards/fortitude60/serial_config.h')
-rw-r--r-- | keyboards/fortitude60/serial_config.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/fortitude60/serial_config.h b/keyboards/fortitude60/serial_config.h new file mode 100644 index 0000000000..96a54afbd8 --- /dev/null +++ b/keyboards/fortitude60/serial_config.h @@ -0,0 +1,14 @@ +#ifndef SOFT_SERIAL_CONFIG_H +#define SOFT_SERIAL_CONFIG_H + +/* Soft Serial defines */ +#define SERIAL_PIN_DDR DDRD +#define SERIAL_PIN_PORT PORTD +#define SERIAL_PIN_INPUT PIND +#define SERIAL_PIN_MASK _BV(PD2) +#define SERIAL_PIN_INTERRUPT INT2_vect + +#define SERIAL_SLAVE_BUFFER_LENGTH MATRIX_ROWS/2 +#define SERIAL_MASTER_BUFFER_LENGTH 1 + +#endif /* SOFT_SERIAL_CONFIG_H */
\ No newline at end of file |