diff options
author | tmk <tmk@users.noreply.github.com> | 2014-03-03 17:17:50 -0800 |
---|---|---|
committer | tmk <tmk@users.noreply.github.com> | 2014-03-03 17:17:50 -0800 |
commit | 700a77a0f3d73526283ccc5ec38c314ffdb161e5 (patch) | |
tree | ad3fdee8668f2f89263abafd657e446dd15708a9 | |
parent | 4464a288a1ab7a0bf7140a2ae6f5e89051c378c7 (diff) |
Updated FAQ (markdown)
-rw-r--r-- | FAQ.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -68,6 +68,7 @@ Without reset circuit you will have inconsistent reuslt due to improper initiali ## 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`. + +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 zero 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 |