12-16-2022 09:54 AM
Hello. I have an issue. I have a project where I want a beep when the temperature changes.
I have 3 categories. Hot, warm, and cold. Cold(0-25 degrees), Warm (26- 60 degrees) Hot (61-100 degrees).
Is there any function I can use to get a beep for when the temperature changes from its category?
I know how to get the beep. The problem I'm facing is preventing the beep when it is still within the same category.
Solved! Go to Solution.
12-16-2022 10:05 AM
@Rayhl wrote:
Hello. I have an issue. I have a project where I want a beep when the temperature changes.
I have 3 categories. Hot, warm, and cold. Cold(0-25 degrees), Warm (26- 60 degrees) Hot (61-100 degrees).
Is there any function I can use to get a beep for when the temperature changes from its category?
I know how to get the beep. The problem I'm facing is preventing the beep when it is still within the same category.
Sounds like you want a function that checks if a threshold has been crossed. Then set a boolean to true, then check if you need to "beep".
Are getting hung up on the logic? Or just cant find the correct BD functions palette?
12-16-2022 10:26 AM
Use a feedback node and compare the previous category to the current category and beep if they differ.
12-17-2022 02:04 AM
Hellooo thanks for both of your replies. I managed to get the simulation to work. I used the (is value changed) pallet to prevent the beep from reoccurring even tho its within the range of the category.
12-17-2022 04:15 AM - edited 12-17-2022 04:16 AM