Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ctboard:peripherals:button [2016/09/01 11:34] – [Programming Example] ruanctboard:peripherals:button [2022/12/23 11:00] (current) ruan
Line 1: Line 1:
-====== Button ======+====== Buttons ======
  
 The 4 buttons on the CT Board are **"active-high"**, e.g. a pressed button is read as logical **"1"**, and debounced. \\ The 4 buttons on the CT Board are **"active-high"**, e.g. a pressed button is read as logical **"1"**, and debounced. \\
Line 7: Line 7:
 > Supported [[ctboard:mode_switch|modes]]: **1**, **2**, **3**, **4**  > Supported [[ctboard:mode_switch|modes]]: **1**, **2**, **3**, **4** 
 \\ \\
 +
 +===== Registers =====
 +
 +The Registers are read only.
 +
 +\\ {{ctboard_button_reg.svg}} \\ \\
 +
 +===== Diagram =====
 +
 +\\ {{:ctboard:peripherals:ctboard_button.svg?700em}} \\ \\
  
 ===== Programming Example ===== ===== Programming Example =====
  
-The code snippet below shows how to use the Buttons.+The code snippets below show how to use the buttons.
  
 <code c> <code c>
Line 27: Line 37:
 \\ \\
  
-===== Registers ===== 
- 
-The Registers are read only. 
- 
-\\ {{ctboard_button_reg.svg}} \\ \\ 
- 
-===== Diagram ===== 
- 
-\\ {{:ctboard:peripherals:ctboard_button.svg?700em}} \\ \\ 
  • ctboard/peripherals/button.1472729642.txt.gz
  • Last modified: 2016/09/01 11:34
  • by ruan