Difference between revisions of "Component: Rotary Encoder (Sensors: EBM Modules)"
(XML import BR) |
|||
Line 22: | Line 22: | ||
==Examples== | ==Examples== | ||
This example scans the encoder for changes and displays a counter on the LCD based on the movement of the encoder. | This example scans the encoder for changes and displays a counter on the LCD based on the movement of the encoder. | ||
− | |||
{{Fcfile|EBM007 - Test Program.fcfx|EBM007 Example}} | {{Fcfile|EBM007 - Test Program.fcfx|EBM007 Example}} | ||
− | |||
==Downloadable macro reference== | ==Downloadable macro reference== |
Latest revision as of 15:45, 16 February 2017
Author | Matrix TSL |
Version | 1.0 (Release) |
Category | Sensors: EBM Modules |
Contents
Rotary Encoder component
Provides a rotary encoder with dual digital outputs that provide rotation and direction information. When connected to two digital inputs of a microcontroller a “digital pot” can be implemented to convert to digital values.
Examples
This example scans the encoder for changes and displays a counter on the LCD based on the movement of the encoder.
EBM007 Example
Downloadable macro reference
CheckForChanges
No additional information
Parameters
- This macro has no parameters
Return value
Disable
No additional information
Parameters
- This macro has no parameters
Return value
- This call does not return a value
Enable
No additional information
Parameters
- This macro has no parameters
Return value
- This call does not return a value
ReadCounter
No additional information
Parameters
- This macro has no parameters
Return value
ResetCounter
No additional information
Parameters
- This macro has no parameters
Return value
- This call does not return a value
Simulation macro reference
This component does not contain any simulation macros
Property reference
Channel 1
This property is of type Single digital pin and can be referenced with the variable name Channel1.
No additional information
Channel 2
This property is of type Single digital pin and can be referenced with the variable name Channel2.
No additional information