# On boot, pulse bool value

**URL:** <https://forum.xod.io/t/on-boot-pulse-bool-value/6773>\
**Category:** Uncategorized\
**Created:** [January 27, 2024, 2:43pm UTC](https://forum.xod.io/t/on-boot-pulse-bool-value/6773 "2024-01-27T14:43:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![trom-24](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@trom-24](https://forum.xod.io/u/trom-24)\
**Post date:** [January 27, 2024, 2:43pm UTC](https://forum.xod.io/t/on-boot-pulse-bool-value/6773/1 "2024-01-27T14:43:04Z")

</div>

Sorry for my english!  
I tried many things, but cannot find a way to pulse a bool from the boot node!

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [January 28, 2024, 1:07am UTC](https://forum.xod.io/t/on-boot-pulse-bool-value/6773/2 "2024-01-28T01:07:47Z")

</div>

There is a ‘boot’ node that will send a pulse on boot, but a pulse is different than bool (a true/false value). Feeding a pulse to a bool pin will trigger the node to process because inputs changed, but it may never “register” as being true since the pulse is an immediate on-time event, not a ‘true’ state. Feeding a pulse to a boolean pin is not generally a good idea because of this. Going from bool to pulse works because the transition of the bool pin from false to true is registered as a pulse (but staying true or changing to false does not register as a ‘pulse’).

It may have been fixed, but there was an issue with the boot node sending a pulse before the Arduino has finished initializing, so the pulse signal is never processed. The fix for this is to put a ‘defer’ node immediately after the ‘boot’ node so initialization completes before it tries to process the pulse.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [February 27, 2024, 1:08am UTC](https://forum.xod.io/t/on-boot-pulse-bool-value/6773/3 "2024-02-27T01:08:06Z")

</div>

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