# Arduino pin interrupts

**URL:** <https://www.thethingsnetwork.org/forum/t/arduino-pin-interrupts/28018>\
**Category:** Hardware\
**Created:** [April 27, 2019, 9:45am UTC](https://www.thethingsnetwork.org/forum/t/arduino-pin-interrupts/28018 "2019-04-27T09:45:52Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![LoRaTracker](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/loratracker/32/48502_2.png) [@LoRaTracker](https://www.thethingsnetwork.org/forum/u/LoRaTracker)\
**Post date:** [July 9, 2019, 5:55am UTC](https://www.thethingsnetwork.org/forum/t/arduino-pin-interrupts/28018/17 "2019-07-09T05:55:39Z")

</div>

> [@Full Arduino Mini LoraWAN below 1uA Sleep Mode](https://www.thethingsnetwork.org/forum/t/full-arduino-mini-lorawan-below-1ua-sleep-mode/8059/322):
>
> To fix this, at the end of setup add a delay so that the “init done” message has been fully transmitted.

Rather than use a delay use Serial.flush(); this will wait until the serial out buffer is empty, then continue. This way you dont have to guess how long the delay should be.

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/arduino-pin-interrupts/28018)._
