Difference between revisions of "Sensor Key Reference"

From Microduino Wiki
Jump to: navigation, search
(Created page with "{| style="width: 800px;" |- | {| border="0" cellpadding="10" width="100%" |- |width="65%" valign="top" align="left"| <p style="color: #E87E05;font-size:155%">Description</p> T...")
 
 
Line 15: Line 15:
 
<p style="color: #E87E05;font-size:155%">Samples</p>
 
<p style="color: #E87E05;font-size:155%">Samples</p>
 
*[[Short press and long press of switches]]: identify long press and short press actions of analog and digital sensors, and the duration of long pressed is configurable.  
 
*[[Short press and long press of switches]]: identify long press and short press actions of analog and digital sensors, and the duration of long pressed is configurable.  
*[[Switches’ states and actions]]: identify the [release] and [press] actions and states of analog and digital sensors.  
+
*[[States and actions of switches]]: identify the [release] and [press] actions and states of analog and digital sensors.  
 
|width="35%" valign="top" align="left"|
 
|width="35%" valign="top" align="left"|
 
::<p style="color: #E87E05;font-size:155%">Functions</p>
 
::<p style="color: #E87E05;font-size:155%">Functions</p>

Latest revision as of 09:02, 18 September 2017

Description

This library is used for Microduino cores to identify digital and analog switch-typed sensors’ actions including [long press-and the holding time can be configured], [short press], [release] and [press] and states. At the same time, it can identify switches virtualized by variable bool.

Pins

When the switch is connected to pin 0 and 1, you can’t upload the program directly.

Samples

Functions



Return to Sensor-Crash
Return to Sensor-Touch_Button
Return to Sensor-Hall
Return to Sensor-Joystick
Return to Sensor-Shake