{"id":1713,"date":"2018-07-21T13:35:46","date_gmt":"2018-07-21T20:35:46","guid":{"rendered":"http:\/\/www.donluc.com\/?p=1713"},"modified":"2018-07-21T13:35:46","modified_gmt":"2018-07-21T20:35:46","slug":"project-7-rgb-lcd-shield-seven-segment-display-mk06","status":"publish","type":"post","link":"https:\/\/www.donluc.com\/?p=1713","title":{"rendered":"Project #7: RGB LCD Shield \u2013 Seven-Segment Display \u2013 Mk06"},"content":{"rendered":"<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2018\/07\/DonLuc1807Mk10a.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2018\/07\/DonLuc1807Mk10a.png\" alt=\"\" width=\"720\" height=\"557\" class=\"alignnone size-full wp-image-1714\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2018\/07\/DonLuc1807Mk10a.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2018\/07\/DonLuc1807Mk10a-300x232.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2018\/07\/DonLuc1807Mk10b.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2018\/07\/DonLuc1807Mk10b.png\" alt=\"\" width=\"720\" height=\"558\" class=\"alignnone size-full wp-image-1715\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2018\/07\/DonLuc1807Mk10b.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2018\/07\/DonLuc1807Mk10b-300x233.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2018\/07\/DonLuc1807Mk10c.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2018\/07\/DonLuc1807Mk10c.png\" alt=\"\" width=\"720\" height=\"540\" class=\"alignnone size-full wp-image-1716\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2018\/07\/DonLuc1807Mk10c.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2018\/07\/DonLuc1807Mk10c-300x225.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2018\/07\/DonLuc1807Mk10d.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2018\/07\/DonLuc1807Mk10d.png\" alt=\"\" width=\"720\" height=\"540\" class=\"alignnone size-full wp-image-1717\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2018\/07\/DonLuc1807Mk10d.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2018\/07\/DonLuc1807Mk10d-300x225.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<div style=\"width: 720px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-1713-1\" width=\"720\" height=\"406\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2018\/07\/DonLuc1807Mk10.mp4?_=1\" \/><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2018\/07\/DonLuc1807Mk10.mp4\">https:\/\/www.donluc.com\/wp-content\/uploads\/2018\/07\/DonLuc1807Mk10.mp4<\/a><\/video><\/div>\n<p><strong>Seven-Segment Display<\/strong><\/p>\n<p>A seven-segment display (SSD), or seven-segment indicator, is a form of electronic display device for displaying decimal numerals that is an alternative to the more complex dot matrix displays.<\/p>\n<p>Seven-segment displays are widely used in digital clocks, electronic meters, basic calculators, and other electronic devices that display numerical information.<\/p>\n<p>Your basic 7-segment LED. Common anode. Two decimal points, but only the one on the right is wired. Digit height is 0.6&#8243;. Overall height is 1&#8243;.<\/p>\n<p><strong>Common Cathode<\/strong><\/p>\n<p>In a common-cathode display, the positive terminal of all the eight LEDs  are connected together and then connected to iSeven2 and iSeven8. To turn on an individual segment, you ground one of the pins. The following diagram shows the internal structure of the common-cathode seven-segment display.<\/p>\n<p>The internal structure of both types is nearly the same. The difference is the polarity of the LEDs and common terminal. In a common cathode seven-segment display, all seven LEDs plus a dot LED have the cathodes connected To use this display, we need to connect VIN to make the individual segments light up. The following diagram shows the internal structure of common-cathode seven-segment display. <\/p>\n<p>If your Arduino application only needs to display numbers, consider using a seven-segment display. The severn-segment display has seven LEDs arranged in the shape of number eight. They are easy to use and cost effective. The picture below shows a typical seven-segment display.<\/p>\n<p><strong>DonLuc1807Mk10<\/strong><\/p>\n<p>1 x RGB LCD Shield 16\u00d72 Character Display<br \/>\n1 x Arduino UNO &#8211; R3<br \/>\n1 x ProtoScrewShield<br \/>\n1 x Seven-Segment Display Red<br \/>\n7 x 220 ohm resistor<br \/>\n4 x Jumper Wires 3&#8243; M\/M<br \/>\n8 x Jumper Wires 6&#8243; M\/M<br \/>\n1 x Half-Size Breadboard<\/p>\n<p><strong>Arduino UNO<\/strong><\/p>\n<p>7S8 &#8211; Digital 8<br \/>\n7S7 &#8211; Digital 7<br \/>\n7S6 &#8211; Digital 6<br \/>\n7S5 &#8211; Digital 5<br \/>\n7S4 &#8211; Digital 4<br \/>\n7S3 &#8211; Digital 3<br \/>\n7S2 &#8211; Digital 2<br \/>\nVIN &#8211; +5V<\/p>\n<p><strong>DonLuc1807Mk10p.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"default\" data-enlighter-title=\"DonLuc1807Mk10p.ino\">\r\n\/\/ ***** Don Luc *****\r\n\/\/ Software Version Information\r\n\/\/ Project #7: RGB LCD Shield \u2013 Seven-Segment Display \u2013 Mk06\r\n\/\/ 7-10\r\n\/\/ DonLuc1807Mk10p 7-10\r\n\/\/ RGB LCD Shield\r\n\/\/ Seven-Segment Display\r\n\r\n\/\/ include the library code:\r\n#include &lt;Adafruit_MCP23017.h&gt;\r\n#include &lt;Adafruit_RGBLCDShield.h&gt;\r\n\r\nAdafruit_RGBLCDShield RGBLCDShield = Adafruit_RGBLCDShield();\r\n#define GREEN 0x2\r\n\r\n\/\/ Seven-Segment Display\r\nint iSeven2 = 2;     \/\/ iSeven2\r\nint iSeven3 = 3;     \/\/ iSeven3\r\nint iSeven4 = 4;     \/\/ iSeven4\r\nint iSeven5 = 5;     \/\/ iSeven5\r\nint iSeven6 = 6;     \/\/ iSeven6\r\nint iSeven7 = 7;     \/\/ iSeven7\r\nint iSeven8 = 8;     \/\/ iSeven8\r\n\r\nvoid loop() \r\n{\r\n\r\n  \/\/ Seven-Segment Display\r\n  isSeven();\r\n  \r\n  \/\/ Clear\r\n  RGBLCDShield.clear();\r\n  \r\n}\r\n<\/pre>\n<p><strong>getSeven.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"default\" data-enlighter-title=\"getSeven.ino\">\r\n\/\/ Seven-Segment Display\r\nvoid isSeven()\r\n{\r\n\r\n  \/\/ Display\r\n  \/\/ Set the cursor to column 0, line 0  \r\n  RGBLCDShield.setCursor(0,0);\r\n  RGBLCDShield.print(&quot;Seven-Segment&quot;);          \/\/ Seven-Segment Display\r\n  \r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1); \r\n  RGBLCDShield.print(&quot;iSeven2 +    &quot;);          \/\/ iSeven2 +\r\n  digitalWrite(iSeven2, LOW);\r\n  \r\n  delay(5000);\r\n\r\n  \/\/ Seven - Off\r\n  isSevOff();\r\n\r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1);\r\n  RGBLCDShield.print(&quot;iSeven2 -      &quot;);        \/\/ iSeven2 -\r\n\r\n  delay(2000);\r\n\r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1); \r\n  RGBLCDShield.print(&quot;iSeven3 +    &quot;);          \/\/ iSeven3 +\r\n  digitalWrite(iSeven3, LOW);\r\n  \r\n  delay(5000);\r\n\r\n  \/\/ Seven - Off\r\n  isSevOff();\r\n  \r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1);\r\n  RGBLCDShield.print(&quot;iSeven3 -      &quot;);        \/\/ iSeven3 -\r\n\r\n  delay(2000);\r\n  \r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1); \r\n  RGBLCDShield.print(&quot;iSeven4 +   &quot;);           \/\/ iSeven4 +\r\n  digitalWrite(iSeven4, LOW);\r\n  \r\n  delay(5000);\r\n\r\n  \/\/ Seven - Off\r\n  isSevOff();\r\n  \r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1);\r\n  RGBLCDShield.print(&quot;iSeven4 -      &quot;);        \/\/ iSeven4 -\r\n\r\n  delay(2000);\r\n\r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1); \r\n  RGBLCDShield.print(&quot;iSeven5 +   &quot;);           \/\/ iSeven5 +\r\n  digitalWrite(iSeven5, LOW);\r\n  \r\n  delay(5000);\r\n\r\n  \/\/ Seven - Off\r\n  isSevOff();\r\n  \r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1);\r\n  RGBLCDShield.print(&quot;iSeven5 -      &quot;);        \/\/ iSeven5 -  \r\n\r\n  delay(2000);\r\n\r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1); \r\n  RGBLCDShield.print(&quot;iSeven6 +   &quot;);           \/\/ iSeven6 +\r\n  digitalWrite(iSeven6, LOW);\r\n  \r\n  delay(5000);\r\n\r\n  \/\/ Seven - Off\r\n  isSevOff();\r\n  \r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1);\r\n  RGBLCDShield.print(&quot;iSeven6 -      &quot;);        \/\/ iSeven6 -\r\n\r\n  delay(2000);\r\n\r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1); \r\n  RGBLCDShield.print(&quot;iSeven7 +   &quot;);           \/\/ iSeven7 +\r\n  digitalWrite(iSeven7, LOW);\r\n  \r\n  delay(5000);\r\n\r\n  \/\/ Seven - Off\r\n  isSevOff();\r\n  \r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1);\r\n  RGBLCDShield.print(&quot;iSeven7 -      &quot;);        \/\/ iSeven7 -\r\n\r\n  delay(2000);\r\n  \r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1); \r\n  RGBLCDShield.print(&quot;iSeven8 +   &quot;);           \/\/ iSeven8 +\r\n  digitalWrite(iSeven8, LOW);\r\n  \r\n  delay(5000);\r\n\r\n  \/\/ Seven - Off\r\n  isSevOff();\r\n  \r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1);\r\n  RGBLCDShield.print(&quot;iSeven8 -      &quot;);        \/\/ iSeven8 -\r\n\r\n  delay(2000);\r\n\r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1); \r\n  RGBLCDShield.print(&quot;iSeven 0    &quot;);           \/\/ iSeven 0\r\n  digitalWrite(iSeven2, LOW);\r\n  digitalWrite(iSeven3, LOW);\r\n  digitalWrite(iSeven4, LOW);\r\n  digitalWrite(iSeven5, LOW);  \r\n  digitalWrite(iSeven6, LOW);\r\n  digitalWrite(iSeven7, LOW);\r\n  \r\n  delay(5000);\r\n\r\n  \/\/ Seven - Off\r\n  isSevOff();\r\n  \r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1);\r\n  RGBLCDShield.print(&quot;Seven - Off    &quot;);        \/\/ Seven - Off\r\n\r\n  delay(2000);\r\n\r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1); \r\n  RGBLCDShield.print(&quot;iSeven 1    &quot;);           \/\/ iSeven 1\r\n  digitalWrite(iSeven3, LOW);\r\n  digitalWrite(iSeven4, LOW);\r\n  \r\n  delay(5000);\r\n\r\n  \/\/ Seven - Off\r\n  isSevOff();\r\n  \r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1);\r\n  RGBLCDShield.print(&quot;Seven - Off    &quot;);        \/\/ Seven - Off\r\n\r\n  delay(2000);\r\n\r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1); \r\n  RGBLCDShield.print(&quot;iSeven 2    &quot;);           \/\/ iSeven 2\r\n  digitalWrite(iSeven2, LOW);\r\n  digitalWrite(iSeven3, LOW);\r\n  digitalWrite(iSeven5, LOW);  \r\n  digitalWrite(iSeven6, LOW);\r\n  digitalWrite(iSeven8, LOW);\r\n  \r\n  delay(5000);\r\n\r\n  \/\/ Seven - Off\r\n  isSevOff();\r\n  \r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1);\r\n  RGBLCDShield.print(&quot;Seven - Off    &quot;);        \/\/ Seven - Off\r\n\r\n  delay(2000);\r\n\r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1); \r\n  RGBLCDShield.print(&quot;iSeven 3    &quot;);           \/\/ iSeven 3\r\n  digitalWrite(iSeven2, LOW);\r\n  digitalWrite(iSeven3, LOW);\r\n  digitalWrite(iSeven4, LOW);\r\n  digitalWrite(iSeven5, LOW);  \r\n  digitalWrite(iSeven8, LOW);\r\n  \r\n  delay(5000);\r\n\r\n  \/\/ Seven - Off\r\n  isSevOff();\r\n  \r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1);\r\n  RGBLCDShield.print(&quot;Seven - Off    &quot;);        \/\/ Seven - Off\r\n\r\n  delay(2000);\r\n\r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1); \r\n  RGBLCDShield.print(&quot;iSeven 4    &quot;);           \/\/ iSeven 4\r\n  digitalWrite(iSeven3, LOW);\r\n  digitalWrite(iSeven4, LOW);\r\n  digitalWrite(iSeven7, LOW);\r\n  digitalWrite(iSeven8, LOW);\r\n  \r\n  delay(5000);\r\n\r\n  \/\/ Seven - Off\r\n  isSevOff();\r\n  \r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1);\r\n  RGBLCDShield.print(&quot;Seven - Off    &quot;);        \/\/ Seven - Off\r\n\r\n  delay(2000);\r\n\r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1); \r\n  RGBLCDShield.print(&quot;iSeven 5    &quot;);           \/\/ iSeven 5\r\n  digitalWrite(iSeven2, LOW);\r\n  digitalWrite(iSeven4, LOW);\r\n  digitalWrite(iSeven5, LOW);  \r\n  digitalWrite(iSeven7, LOW);\r\n  digitalWrite(iSeven8, LOW);\r\n  \r\n  delay(5000);\r\n\r\n  \/\/ Seven - Off\r\n  isSevOff();\r\n  \r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1);\r\n  RGBLCDShield.print(&quot;Seven - Off    &quot;);        \/\/ Seven - Off\r\n\r\n  delay(2000);\r\n\r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1); \r\n  RGBLCDShield.print(&quot;iSeven 6    &quot;);           \/\/ iSeven 6\r\n  digitalWrite(iSeven2, LOW);\r\n  digitalWrite(iSeven4, LOW);\r\n  digitalWrite(iSeven5, LOW);  \r\n  digitalWrite(iSeven6, LOW);\r\n  digitalWrite(iSeven7, LOW);\r\n  digitalWrite(iSeven8, LOW);\r\n  \r\n  delay(5000);\r\n\r\n  \/\/ Seven - Off\r\n  isSevOff();\r\n  \r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1);\r\n  RGBLCDShield.print(&quot;Seven - Off    &quot;);        \/\/ Seven - Off\r\n\r\n  delay(2000);\r\n\r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1); \r\n  RGBLCDShield.print(&quot;iSeven 7    &quot;);           \/\/ iSeven 7\r\n  digitalWrite(iSeven2, LOW);\r\n  digitalWrite(iSeven3, LOW);\r\n  digitalWrite(iSeven4, LOW);\r\n  \r\n  delay(5000);\r\n\r\n  \/\/ Seven - Off\r\n  isSevOff();\r\n  \r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1);\r\n  RGBLCDShield.print(&quot;Seven - Off    &quot;);        \/\/ Seven - Off\r\n\r\n  delay(2000);\r\n\r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1); \r\n  RGBLCDShield.print(&quot;iSeven 8    &quot;);           \/\/ iSeven 8\r\n  digitalWrite(iSeven2, LOW);\r\n  digitalWrite(iSeven3, LOW);\r\n  digitalWrite(iSeven4, LOW);\r\n  digitalWrite(iSeven5, LOW);  \r\n  digitalWrite(iSeven6, LOW);\r\n  digitalWrite(iSeven7, LOW);\r\n  digitalWrite(iSeven8, LOW);\r\n  \r\n  delay(5000);\r\n\r\n  \/\/ Seven - Off\r\n  isSevOff();\r\n  \r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1);\r\n  RGBLCDShield.print(&quot;Seven - Off    &quot;);        \/\/ Seven - Off\r\n\r\n  delay(2000);\r\n\r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1); \r\n  RGBLCDShield.print(&quot;iSeven 9    &quot;);           \/\/ iSeven 9\r\n  digitalWrite(iSeven2, LOW);\r\n  digitalWrite(iSeven3, LOW);\r\n  digitalWrite(iSeven4, LOW);\r\n  digitalWrite(iSeven5, LOW);  \r\n  digitalWrite(iSeven7, LOW);\r\n  digitalWrite(iSeven8, LOW);\r\n  \r\n  delay(5000);\r\n\r\n  \/\/ Seven - Off\r\n  isSevOff();\r\n  \r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1);\r\n  RGBLCDShield.print(&quot;Seven - Off    &quot;);        \/\/ Seven - Off\r\n\r\n  delay(2000);\r\n\r\n}\r\n\r\n\/\/ Seven - Off\r\nvoid isSevOff()\r\n{\r\n\r\n  \/\/ Seven - Off\r\n  digitalWrite(iSeven2, HIGH);\r\n  digitalWrite(iSeven3, HIGH);\r\n  digitalWrite(iSeven4, HIGH);\r\n  digitalWrite(iSeven5, HIGH);  \r\n  digitalWrite(iSeven6, HIGH);\r\n  digitalWrite(iSeven7, HIGH);\r\n  digitalWrite(iSeven8, HIGH);\r\n  \r\n}\r\n<\/pre>\n<p><strong>setup.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"default\" data-enlighter-title=\"setup.ino\">\r\n\/\/ Setup\r\nvoid setup() \r\n{\r\n\r\n  \/\/ set up the LCD&#039;s number of columns and rows: \r\n  RGBLCDShield.begin(16, 2);\r\n  RGBLCDShield.setBacklight(GREEN);\r\n  \r\n  \/\/ Display\r\n  \/\/ Set the cursor to column 0, line 0  \r\n  RGBLCDShield.setCursor(0,0);  \r\n  RGBLCDShield.print(&quot;Don Luc&quot;);           \/\/ Don luc\r\n  \/\/ Set the cursor to column 0, line 1\r\n  RGBLCDShield.setCursor(0, 1);\r\n  RGBLCDShield.print(&quot;Seven-Segment&quot;);     \/\/ Seven-Segment Display\r\n  delay(5000);\r\n\r\n  \/\/ Clear\r\n  RGBLCDShield.clear();\r\n\r\n  \/\/ Seven-Segment Display\r\n  pinMode(iSeven2, OUTPUT);                \/\/ iSeven2\r\n  pinMode(iSeven3, OUTPUT);                \/\/ iSeven3\r\n  pinMode(iSeven4, OUTPUT);                \/\/ iSeven4\r\n  pinMode(iSeven5, OUTPUT);                \/\/ iSeven5\r\n  pinMode(iSeven6, OUTPUT);                \/\/ iSeven6\r\n  pinMode(iSeven7, OUTPUT);                \/\/ iSeven7\r\n  pinMode(iSeven8, OUTPUT);                \/\/ iSeven8\r\n        \r\n  isSevOff();                              \/\/ Seven - Off\r\n  \r\n}\r\n<\/pre>\n<p><strong>Don Luc<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Seven-Segment Display A seven-segment display (SSD), or seven-segment indicator, is a form of electronic display device for displaying decimal numerals that is an alternative to the more complex dot matrix displays. Seven-segment displays are widely used in digital clocks, electronic meters, basic calculators, and other electronic devices that display numerical information. Your basic 7-segment LED. &#8230; <a title=\"Project #7: RGB LCD Shield \u2013 Seven-Segment Display \u2013 Mk06\" class=\"read-more\" href=\"https:\/\/www.donluc.com\/?p=1713\" aria-label=\"Read more about Project #7: RGB LCD Shield \u2013 Seven-Segment Display \u2013 Mk06\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71,47,50,38,59,5,58,10,43],"tags":[],"class_list":["post-1713","post","type-post","status-publish","format-standard","hentry","category-rgb-lcd-shield","category-adafruit","category-arduino","category-digitalelectronics","category-fritzing","category-microcontrollers","category-arduino-programming","category-projects","category-sparkfun"],"_links":{"self":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/1713","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1713"}],"version-history":[{"count":1,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/1713\/revisions"}],"predecessor-version":[{"id":1719,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/1713\/revisions\/1719"}],"wp:attachment":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}