Pārlūkot izejas kodu

Update 'keypad_to_microcontroller.md'

Pat Beirne 1 mēnesi atpakaļ
vecāks
revīzija
134cc7c02f
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      keypad_to_microcontroller.md

+ 3 - 3
keypad_to_microcontroller.md

@@ -72,8 +72,8 @@ When no key is pressed, the 100k resistor will pull down the CPU pin to 0V.
 When a key is pressed, the CPU pin will rise up to a certain voltage, according to the following chart. Let's assume that
 Vcc = 3.3V.
 
-| key label |    | value | 
-| --- | --- | ---  |
+| key label |  calculation  | value |
+| ---- | ---- | ---- |
 | # | 3.3 * 100k/100k = | 3.30V |
 | 0 | 3.3 * 100k/103.3k = | 3.19V | 
 | * | 3.3 * 100k/106.6k = | 3.10V | 
@@ -266,7 +266,7 @@ can happen.
 
 
 [Here](keyboard.c) is some example code to illustrate this decode; in C; 
-look for the symbol **FOUR_PIN**.
+look for the symbol **FOUR_PIN**. Here is a working prototype. ![working](keypad.jpg)
 
 
 ### Keyboard Debounce <a name="bounce" />