summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortmk <tmk@users.noreply.github.com>2014-03-03 17:16:27 -0800
committertmk <tmk@users.noreply.github.com>2014-03-03 17:16:27 -0800
commit4464a288a1ab7a0bf7140a2ae6f5e89051c378c7 (patch)
treee966c427285126231f5a24333cb23f6d8f0ad340
parentf89362886595570e89017cebdd1416e52d16d6ea (diff)
Updated FAQ (markdown)
-rw-r--r--FAQ.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/FAQ.md b/FAQ.md
index bf598ef34b..e5ccdcf784 100644
--- a/FAQ.md
+++ b/FAQ.md
@@ -64,3 +64,10 @@ Without reset circuit you will have inconsistent reuslt due to improper initiali
- http://geekhack.org/index.php?topic=50176.msg1127447#msg1127447
- http://www.mikrocontroller.net/attachment/52583/tpm754.pdf
+
+
+## Can't read comlumn of matrix beyond 16
+Use `1UL<<16` intead of `1<<16` in `read_cols()` in **matrix.h** when your columns goes beyond 16.
+In C `1` means one of int type which is 16bit in case of AVR so you can't shift left more than 15. You will get unexpected `0` when you say `1<<16`.
+
+http://deskthority.net/workshop-f7/rebuilding-and-redesigning-a-classic-thinkpad-keyboard-t6181-60.html#p146279 \ No newline at end of file