<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Attiny85 on Jackenhack</title><link>https://www.jackenhack.com/tags/attiny85/</link><description>Recent content in Attiny85 on Jackenhack</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 20 Nov 2015 00:00:00 +0000</lastBuildDate><atom:link href="https://www.jackenhack.com/tags/attiny85/index.xml" rel="self" type="application/rss+xml"/><item><title>Speeding up your SPI MAX7219 LED displays using a modified Arduino LedControl Library</title><link>https://www.jackenhack.com/max7219-led-display-arduino-speedup-hardware-spi/</link><pubDate>Fri, 20 Nov 2015 00:00:00 +0000</pubDate><guid>https://www.jackenhack.com/max7219-led-display-arduino-speedup-hardware-spi/</guid><description>&lt;p&gt;&lt;img alt="Image of an 8 Digit LED Display SPI controlled MAX7219" decoding="async" height="928" loading="lazy" sizes="(min-width: 768px) 720px, 100vw" src="https://www.jackenhack.com/max7219-led-display-arduino-speedup-hardware-spi/images/led-display-max7219_hu_3f117f434e8b5538.jpg" srcset="https://www.jackenhack.com/max7219-led-display-arduino-speedup-hardware-spi/images/led-display-max7219_hu_c80a0ed25cfb999b.jpg 360w,/max7219-led-display-arduino-speedup-hardware-spi/images/led-display-max7219_hu_bb33f7ad4590bfb6.jpg 480w,/max7219-led-display-arduino-speedup-hardware-spi/images/led-display-max7219_hu_d7a8f93917f89218.jpg 720w" width="1023"&gt;&lt;/p&gt;
&lt;h2 id="speeding-up-your-spi-max7219-led-displays-when-using-arduino-and-ledcontrol-library"&gt;Speeding up your SPI MAX7219 LED displays when using Arduino and LedControl Library&lt;/h2&gt;
&lt;p&gt;In preparation for the arrival of my GPSDO&lt;a href="#fn-1" title="see footnote"&gt;[1]&lt;/a&gt;, I’m doing a quick build of an “Atomic Clock” display to have above my lab equipment. I’m using a &lt;a href="https://rover.ebay.com/rover/1/711-53200-19255-0/1?ff3=4&amp;amp;toolid=11800&amp;amp;pub=5575287150&amp;amp;campid=5338067808&amp;amp;mpre=http%3A%2F%2Fwww.ebay.com%2Fsch%2Fi.html%3F_odkw%3D8%2Bdigit%2Bled%2Bdisplay%26_sop%3D12%26_osacat%3D0%26_from%3DR40%26_trksid%3Dp2045573.m570.l1313.TR0.TRC0.H0.X8%2Bdigit%2Bled%2Bdisplay%2Bmax7219.TRS0%26_nkw%3D8%2Bdigit%2Bled%2Bdisplay%2Bmax7219%26_sacat%3D0"&gt;cheap, small eight digit red LED SPI-controlled display.&lt;/a&gt; It uses the &lt;a href="https://www.maximintegrated.com/en/products/power/display-power-control/MAX7219.html"&gt;MAX7219&lt;/a&gt; controller that I got from eBay for next to nothing. I plan to parse the RS232 information from the GPSDO unit and display the exact time. I&amp;rsquo;ll also post error messages if the GPS signal lock gets lost.&lt;/p&gt;
&lt;p&gt;I’ve done a quick prototype using an &lt;a href="https://www.arduino.cc/en/Main/ArduinoBoardUno"&gt;Arduino Uno&lt;/a&gt;, but I plan to try to get an &lt;a href="http://www.atmel.com/devices/attiny85.aspx"&gt;Attiny85&lt;/a&gt; to work as the controller when I’ve finished the parser and the rest of the software.&lt;/p&gt;
&lt;p&gt;After doing some research, naturally, there was a library available to connect to my LED display called LedControl. It&amp;rsquo;s part of the standard Arduino libraries (in the download section). But when I checked the code, it uses the Arduino routines to shift out the SPI data to the display. It&amp;rsquo;s great if you want to be able to use any pins to connect to the screen, but using Arduino’s bit manipulation tools for “bit-banging” the display is slow.&lt;/p&gt;</description></item></channel></rss>