<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Code</title><link>https://sourceforge.net/p/lp-spinner/wiki/Code/</link><description>Recent changes to Code</description><atom:link href="https://sourceforge.net/p/lp-spinner/wiki/Code/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 17 Dec 2019 14:11:52 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/lp-spinner/wiki/Code/feed" rel="self" type="application/rss+xml"/><item><title>Code modified by Emilio Moretti</title><link>https://sourceforge.net/p/lp-spinner/wiki/Code/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,6 +1,8 @@
 # Flashing the ATTiny85

-You will need to install the board for your Arduino IDE. Just open the board manager in the IDE and install*attiny by David A Mellis*. The board is the attiny85 with 16Mhz internal clock. It's recommended to use an ISP programmer, so you can avoid the bootloader. 
+1. You will need to install the board in your Arduino IDE:
+  Just open the board manager in the IDE and install*attiny by David A Mellis*. The board is the attiny85 with 16Mhz internal clock. It's recommended to use an ISP programmer, so you can avoid any bootloader, or there is a high chance that it won't fit in the attiny85. 
+2. Only one external library is required, so open the Libraries Manager and install *AccelStepper by Mike McCauley*. More info about this library: http://www.airspayce.com/mikem/arduino/AccelStepper/

 If you are advanced user you may ask why the reset pin is still active, and why are we connecting buttons and resistances to it. We use a small trick to get around this "problem", so we can use the pin as a button too. You don't have to worry about this if you copy the schematics correctly.

@@ -11,3 +13,11 @@
 About the Arduino integration, you need to install the boards from here https://github.com/digistump/DigistumpArduino
 And the micronucleus binary NEEDS to be upgraded, or it won't recognize the USB device. The board is the *Digispark (Default - 16Mhz)*
 If you manage to get past all that... congratulations, they are equally stable as any other. Only the development process is problematic.
+
+# Arduino UNO, MEGA, and other versions
+The code can easily run in any of these variations. You can design your own schematics and modify the code to use your ports.
+Don't forget to make the following changes:
+1. Update the LED_BUILTIN port.
+2. Set USE_ANALOG_BUTTON to 0 (this is a workaround for the attiny85 and the reset port. You don't need to simulate an analog button)
+3. Update the STEPPER_4PINS to match your schematics for the stepper
+4. Update BUTTON to match your button port
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Emilio Moretti</dc:creator><pubDate>Tue, 17 Dec 2019 14:11:52 -0000</pubDate><guid>https://sourceforge.net1082c78ae727f93eb2798fe35799484cd6a43327</guid></item><item><title>Code modified by Emilio Moretti</title><link>https://sourceforge.net/p/lp-spinner/wiki/Code/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="flashing-the-attiny85"&gt;Flashing the ATTiny85&lt;/h1&gt;
&lt;p&gt;You will need to install the board for your Arduino IDE. Just open the board manager in the IDE and install&lt;em&gt;attiny by David A Mellis&lt;/em&gt;. The board is the attiny85 with 16Mhz internal clock. It's recommended to use an ISP programmer, so you can avoid the bootloader. &lt;/p&gt;
&lt;p&gt;If you are advanced user you may ask why the reset pin is still active, and why are we connecting buttons and resistances to it. We use a small trick to get around this "problem", so we can use the pin as a button too. You don't have to worry about this if you copy the schematics correctly.&lt;/p&gt;
&lt;h1 id="digispark-attiny85-clones"&gt;Digispark ATTiny85 clones&lt;/h1&gt;
&lt;p&gt;If you are planning to use one of these, you will need to install the Micronucleus Agressive bootloader from &lt;a href="https://github.com/micronucleus/micronucleus" rel="nofollow"&gt;https://github.com/micronucleus/micronucleus&lt;/a&gt;&lt;br/&gt;
&lt;img alt="Digispark ATTin585 clone" rel="nofollow" src="https://orig00.deviantart.net/ea6f/f/2018/090/c/b/digispark_attiny85_pinout_by_mortenaaserud-dc7h4n3.png"/&gt;&lt;br/&gt;
It's not recommended to use these, as the upload process can get quite complicated. It randomly fails, and I've killed a few of these in the process. The firmware is too big to fit next to the normal bootloader, and the aggressive bootloader is problematic.&lt;br/&gt;
About the Arduino integration, you need to install the boards from here &lt;a href="https://github.com/digistump/DigistumpArduino" rel="nofollow"&gt;https://github.com/digistump/DigistumpArduino&lt;/a&gt;&lt;br/&gt;
And the micronucleus binary NEEDS to be upgraded, or it won't recognize the USB device. The board is the &lt;em&gt;Digispark (Default - 16Mhz)&lt;/em&gt;&lt;br/&gt;
If you manage to get past all that... congratulations, they are equally stable as any other. Only the development process is problematic.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Emilio Moretti</dc:creator><pubDate>Sun, 15 Dec 2019 22:06:34 -0000</pubDate><guid>https://sourceforge.net9edba9d53cefe2d8543ca63c32413b4ff8765908</guid></item></channel></rss>