kiibohd / controller

Kiibohd Controller
GNU General Public License v3.0
810 stars 274 forks source link

Teensy 3.2 is not working at all #356

Open nazar-pc opened 5 years ago

nazar-pc commented 5 years ago

Here is a simple config for a keyboard based on Teensy 3.2 with simple button using pins 0 and 1: https://github.com/nazar-pc/controller/commit/ea380e0e4c55b2ac8ecce1e0809c9584c2297e3b This is the simplest thing possible, but even it doesn't work on master for me.

I've tried GPIO_Config_Pulldown, GPIO_Config_Pullup and GPIO_Config_Pullup with ScanCodeMatrixInvert = 1, nothing works, result ranges from infinite overflow messages in debug console to no debug console at all.

Also tutorial is unfortunately completely outdated and it is not clear how to write scan_loop.* files.

nazar-pc commented 5 years ago

@haata commenting-out a block of code helped going past Overflow error and it seems to work now. Not sure it is correct, but that may help you create a proper fix: https://github.com/nazar-pc/controller/commit/b93be2805e65802ae9d6a1ef0ef3e2b797ef7a09

nazar-pc commented 4 years ago

@haata kindly pinging you again here, hope you have time to take a look