![arduino 1.8.5 attiny arduino 1.8.5 attiny](https://cdn.sparkfun.com/assets/learn_tutorials/6/1/Arduino_IDE_Done_Uploading.jpg)
Finally, restart the Arduino programming environment. Unzip this file and leave it in the new hardware folder. Then, go to this page and download the file: attiny4585.zip. Create a new folder in your sketchbook folder called 'hardware'. you just stick your button between RESET and Ground then in your code sleep forever when you have done the thing you want to do every time you hit the button. Take note of your sketchbook folder from the Arduino preference menu. This can be very useful for "hit the button to do a thing" type devices, "hit the button play a sound", "hit the button light a light". Sleeping forever is the simplest type of sleep and uses the least power, but only a RESET (or power-cycle of course) will wake you up. Code Examples Deep and Dreamless Slumber (Forever Sleep) Upload the example to your Arduino and stand back in awe of the results. Now you can choose File > Examples > SimpleSleep > HelloWorld.
#Arduino 1.8.5 attiny install
![arduino 1.8.5 attiny arduino 1.8.5 attiny](https://content.instructables.com/ORIG/FI3/OHBE/JCGK2HBM/FI3OHBEJCGK2HBM.jpg)
The Digispark programs with a different procedure. An Arduino library for simple means of putting your Arduino into sleep modes in order to save power when you are not doing much, supports a variety of common microcontrollers used with Arduino. The Digispark works a bit differently than some Arduino compatible products.