File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 15
15
// Define a symbolic constant for the LOVE button (special pin).
16
16
#define LOVE_BUTTON 20
17
17
18
- # define CALIBRATION_SAMPLES 16 // /< Number of samples for calibration.
19
-
18
+ // Number of samples for calibration.
19
+ # define CALIBRATION_SAMPLES 16
20
20
/* *
21
21
* @struct CapTouchPinMapping
22
22
* @brief Defines the mapping between an Arduino pin and its capacitive touch hardware settings.
@@ -32,7 +32,6 @@ struct CapTouchPinMapping {
32
32
uint8_t chac_val; // /< Bit mask used to enable the sensor channel.
33
33
};
34
34
35
- // / @endcond
36
35
37
36
#if defined(ARDUINO_UNOR4_MINIMA)
38
37
static const CapTouchPinMapping capTouchMappings[] = {
@@ -105,8 +104,8 @@ class CapacitiveTouch {
105
104
106
105
/* *
107
106
* @brief Initializes the sensor.
108
- *
109
107
* Configures the pin and initializes the CTSU/DTC hardware.
108
+ * @return true if initialization is successful, false otherwise.
110
109
*/
111
110
bool begin ();
112
111
You can’t perform that action at this time.
0 commit comments