# Micropython to hanlde hardware interrupts for gpio

**URL:** <https://forums.digi.com/t/micropython-to-hanlde-hardware-interrupts-for-gpio/28738>\
**Category:** XBee - Zigbee\
**Tags:** xbee\
**Created:** [December 8, 2023, 8:34pm UTC](https://forums.digi.com/t/micropython-to-hanlde-hardware-interrupts-for-gpio/28738 "2023-12-08T20:34:44Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [January 11, 2024, 2:00pm UTC](https://forums.digi.com/t/micropython-to-hanlde-hardware-interrupts-for-gpio/28738/5 "2024-01-11T14:00:07Z")

</div>

@Reacquire5985 Yes, Digi does have sample Micro Python code that will allow you to push a button and trigger some code to perform a function. I would suggest looking at the Sample apps in the PyCharm plugin.

---

_[View the full topic](https://forums.digi.com/t/micropython-to-hanlde-hardware-interrupts-for-gpio/28738)._
