# Spirit pack Arduino Coding issue?

**URL:** <https://forum.gbfans.com/t/spirit-pack-arduino-coding-issue/35139>\
**Category:** Proton Packs\
**Created:** [September 18, 2022, 7:52pm UTC](https://forum.gbfans.com/t/spirit-pack-arduino-coding-issue/35139 "2022-09-18T19:52:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![crzley](https://forum.gbfans.com/letter_avatar_proxy/v4/letter/c/eada6e/32.png) [@crzley](https://forum.gbfans.com/u/crzley)\
**Post date:** [September 18, 2022, 7:52pm UTC](https://forum.gbfans.com/t/spirit-pack-arduino-coding-issue/35139/1 "2022-09-18T19:52:12Z")

</div>

I wired my spirit pack with an arduino nano using CountdeMonet’s schematic, found here:

> <https://github.com/CountDeMonet/ArduinoProtonPack/blob/master/Spirit%20Halloween%20Proton%20Pack%20-%20Alternate%20Pack%20Light%20Circuit.png>

I am also using his code, found here:

> <https://github.com/CountDeMonet/ArduinoProtonPack/blob/master/Arduino/SpiritMinimial/SpiritMinimial.ino?fbclid=IwAR1GAB_gviCiKwkNBgqeJx3kgEhBHHTuF548e6XdSa6R_4ctNuXoN1uVjCk>

The problem I am having is that the lights will run for 30 seconds or so and then will just stop. As soon as I turn the toggle switch off and then back on it will start running again without an issue. Is there something that I am doing wrong? Is there something in the code that I need to change? Please help, Im going insane…
