# How to implement a similar pulseIn API for FW 0.4.6?

**URL:** <https://community.particle.io/t/how-to-implement-a-similar-pulsein-api-for-fw-0-4-6/19781>\
**Category:** Firmware\
**Created:** [February 5, 2016, 2:41am UTC](https://community.particle.io/t/how-to-implement-a-similar-pulsein-api-for-fw-0-4-6/19781 "2016-02-05T02:41:18Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![mdma](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mdma/32/1924_2.png) [@mdma](https://community.particle.io/u/mdma)\
**Post date:** [February 5, 2016, 5:06am UTC](https://community.particle.io/t/how-to-implement-a-similar-pulsein-api-for-fw-0-4-6/19781/4 "2016-02-05T05:06:39Z")

</div>

[0.4.9 has been released](https://community.particle.io/t/particle-firmware-update-thread/14378/18?u=mdma)

button\_status is called while the button is being pressed. there’s also button\_click which is sent after the button is released.

---

_[View the full topic](https://community.particle.io/t/how-to-implement-a-similar-pulsein-api-for-fw-0-4-6/19781)._
