Subtract From Analog Value: Difference between revisions
Jump to navigation
Jump to search
Created page with "File:TSubtractFromAnalogValue.png == Summary == {{:Summaries:Subtract From Analog Value}} == Description == In Visuino, the "Subtract Analog Value" component is used to subtract an analog value from another analog value. Example: If you set the constant value in the component to 15 and the value on the "In" pin is 5, then the "Subtract Analog Value" component will subtract the value on the "In" pin (5) from the constant value (15). So, the output value on the "Out"..." |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
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