# LED on and off based on comparison of float values

**URL:** https://discourse.nodered.org/t/led-on-and-off-based-on-comparison-of-float-values/32099
**Category:** General
**Created:** [27 August 2020 13:22 UTC](https://discourse.nodered.org/t/led-on-and-off-based-on-comparison-of-float-values/32099 "2020-08-27T13:22:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![vishalk](https://avatars.discourse-cdn.com/v4/letter/v/b9e5f3/32.png) [@vishalk](https://discourse.nodered.org/u/vishalk)
#### Post date: [27 August 2020 13:22 UTC](https://discourse.nodered.org/t/led-on-and-off-based-on-comparison-of-float-values/32099/1 "2020-08-27T13:22:37Z")

</div>

Hello,

I am beginner in Node Red.  
I want to make a LED on and off based on comaprison of float value coming from a function node.

Regards  
Vishal

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [27 August 2020 13:28 UTC](https://discourse.nodered.org/t/led-on-and-off-based-on-comparison-of-float-values/32099/2 "2020-08-27T13:28:48Z")

</div>

So show us what you have tried and where you are having a problem.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [26 October 2020 13:29 UTC](https://discourse.nodered.org/t/led-on-and-off-based-on-comparison-of-float-values/32099/3 "2020-10-26T13:29:03Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
