travisgoodspeed / goodwatch

Replacement board for Casio Calculator Watches using the CC430F6147
504 stars 55 forks source link

Keypad Pinouts #2

Closed travisgoodspeed closed 6 years ago

travisgoodspeed commented 7 years ago

Use this issue to track reverse engineering of the keypad pinouts and close when:

travisgoodspeed commented 7 years ago

The pads are currently wired to GPIO pins. The proper alignment can be figured out either by careful photography or by a searching script.

travisgoodspeed commented 6 years ago

In terms of GPIO pins, the pinout is as follows:

      2.2  2.1  2.0  1.7
       |    |    |    |
2.3----+----+----+----+
       |    |    |    |
2.4----+----+----+----+
       |    |    |    |
2.5----+----+----+----+
       |    |    |    |
2.6----+----+----+----+
       |    |    |    |

I'll update the wiki, then close this issue when a proper module for scanning the keyboard is ready.

travisgoodspeed commented 6 years ago

Input now works well. Use getchar() to get the ASCII character of the pressed key.