Subtract From Analog Value: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[ | [[Image:TSubtractFromAnalogValue.png]] | ||
== Summary == | == Summary == | ||
Subtracts the input analog value from a constant. | |||
== Description == | == Description == | ||
The **Subtract From Analog Value** component outputs the result of subtracting the input analog signal from a fixed constant. | |||
Example: If | This is useful for reversing relationships, offset correction, or ensuring outputs decrease as inputs increase. | ||
**Example:** | |||
If the constant is set to `15` and the value on the **In** pin is `5`, the output on the **Out** pin will be: | |||
15 - 5 = 10. | |||
<b>Diagram:</b> | <b>Diagram:</b> | ||
[[ | [[Image:TSubtractFromAnalogValue.Preview.png]] | ||
== Properties == | |||
*'''Enabled''' – Enables or disables the component. | |||
*'''Value''' – The constant value from which the input is subtracted. | |||
== Pins == | |||
=== Input Pins === | |||
*'''In''' – Analog input signal. | |||
=== Output Pins === | |||
*'''Out''' – Analog output after subtraction. | |||
== Categories == | == Categories == | ||
Line 17: | Line 31: | ||
*[[File:TMathToolbarCategory.png|link=Category:Math]] [[Category:Math]] - {{:Summaries:Summary Category Math}} | *[[File:TMathToolbarCategory.png|link=Category:Math]] [[Category:Math]] - {{:Summaries:Summary Category Math}} | ||
*[[File:TArduinoFilterToolbarCategory.png|link=Category:Analog]] [[Category:Filter]] - {{:Summaries:Summary Category Filter}} | *[[File:TArduinoFilterToolbarCategory.png|link=Category:Analog]] [[Category:Filter]] - {{:Summaries:Summary Category Filter}} | ||
[[Category:Components]] | [[Category:Components]] |
Latest revision as of 06:49, 18 September 2025
File:TSubtractFromAnalogValue.png
Summary
Subtracts the input analog value from a constant.
Description
The **Subtract From Analog Value** component outputs the result of subtracting the input analog signal from a fixed constant. This is useful for reversing relationships, offset correction, or ensuring outputs decrease as inputs increase.
- Example:**
If the constant is set to `15` and the value on the **In** pin is `5`, the output on the **Out** pin will be: 15 - 5 = 10.
Diagram:
Properties
- Enabled – Enables or disables the component.
- Value – The constant value from which the input is subtracted.
Pins
Input Pins
- In – Analog input signal.
Output Pins
- Out – Analog output after subtraction.
Categories
- Analog components category
- Math components category
- File:TArduinoFilterToolbarCategory.png - Summaries:Summary Category Filter