{"id":1694,"date":"2021-09-19T14:58:23","date_gmt":"2021-09-19T14:58:23","guid":{"rendered":"https:\/\/mc.scsiraidguru.com\/?page_id=1694"},"modified":"2024-03-06T16:18:53","modified_gmt":"2024-03-06T16:18:53","slug":"4x7-segment","status":"publish","type":"page","link":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/shift-registers\/sn74hc595\/4x7-segment\/","title":{"rendered":"4&#215;7 Segment"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1694\" class=\"elementor elementor-1694\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a7011e7 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a7011e7\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6a87431\" data-id=\"6a87431\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1983252 elementor-widget elementor-widget-image\" data-id=\"1983252\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/fritzling.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"fritzling\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTY5NiwidXJsIjoiaHR0cHM6XC9cL21jLnNjc2lyYWlkZ3VydS5jb21cL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjFcLzA5XC9mcml0emxpbmcuanBnIn0%3D\">\n\t\t\t\t\t\t\t<img data-opt-id=457485271  fetchpriority=\"high\" decoding=\"async\" width=\"300\" height=\"248\" src=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:248\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/fritzling.jpg\" class=\"attachment-medium size-medium wp-image-1696\" alt=\"\" srcset=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:1019\/h:844\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/fritzling.jpg 1019w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:248\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/fritzling.jpg 300w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:768\/h:636\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/fritzling.jpg 768w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a14a9ae elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a14a9ae\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7e29de0\" data-id=\"7e29de0\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-677b3d1 elementor-widget elementor-widget-text-editor\" data-id=\"677b3d1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre>#include &lt;Wire.h&gt;\n\n#define latchPin 11 \/\/ SR Latch Pin 12 Digital pin\n#define clockPin 9 \/\/ SR Clock Pin 11 Digital pin\n#define dataPin 12 \/\/ SR Pin 14 PWM pin\n\n\nint ones = 0;\nint ones_hex = 0;\nint tens = 0;\nint tens_hex = 0;\nint hundreds = 0;\nint hundreds_hex = 0;\nint thousands = 0;\nint thousands_hex = 0;\n\nint total = 0;\n\nint LCD_Position[10]={\n  0xfc,\n  0x60,\n  0xda,\n  0xf2,\n  0x66, \n  0xb6, \n  0xbe, \n  0xe0, \n  0xfe,\n  0xe6  };\n\nvoid split(int input_number){  \/\/ splits and writes the 4 didgit number to the\n                               \/\/ ones, tens, hundreds, and thousands variables\n\nSerial.print(\"Input Number \");\nSerial.println(input_number);\n                               \nthousands = int(input_number\/1000);\n\nSerial.print(\"Thousands \");\nSerial.println(thousands);\n\nhundreds = int(input_number\/100);\n\nhundreds = hundreds-(int(hundreds\/10)*10);\n\nSerial.print(\"Hundreds #2 \");\nSerial.println(hundreds);\n\ntens = int(input_number\/10);\n\ntens = tens-(int(tens\/10)*10);\nSerial.print(\"Tens #2 \");\nSerial.println(tens);\n\nones = input_number-(int(input_number\/10)*10);\nSerial.print(\"Ones \");\nSerial.print(ones);\nSerial.println(\"   \");\n\n}\n\nvoid zero_out(){\n  \/\/start by blanking the LEDS\n    digitalWrite(latchPin, LOW);\n  \/\/Shifts data to highbyte second digit\n  \/\/You change the d1 to d4 to low to activate\n    shiftOut(dataPin, clockPin, LSBFIRST, 0x00);\n  \/\/Shifts data to lowbyte, number 7 with decimal point\n    shiftOut(dataPin, clockPin, LSBFIRST, 0x00);\n    digitalWrite(latchPin, HIGH);  \n    delay(2000);\n}\n\n\nvoid setup() {\n  Serial.begin(9600);\n  pinMode (latchPin,OUTPUT);\n  pinMode (dataPin,OUTPUT);\n  pinMode (clockPin,OUTPUT);\n\n\n \n}\n\nvoid loop() {  \n  \/\/Shifts data to highbyte second digit\n  \/\/You change the d1 to d4 to low to activate\n  \/\/ABCD0000 \n  \/\/A is first LED Left most or thousands\n  \/\/B is second LED Left Middle or hundreds\n  \/\/C is third LED Right Middle or tens\n  \/\/D is fourth LED Right most or ones\n\n  \n  zero_out();\n\n  for(int count = 0; count&lt;10; count++){  \n  \/\/A is first LED Left most or thousands will be 7\n  \/\/0111 0000 is thousands\n    digitalWrite(latchPin, LOW);\n  \/\/Shifts data to highbyte second digit\n  \/\/You change the d1 to d4 to low to activate\n    shiftOut(dataPin, clockPin, LSBFIRST, 0x70);\n  \/\/Shifts data to lowbyte, number 7 with decimal point\n    shiftOut(dataPin, clockPin, LSBFIRST, LCD_Position[count]);\n    digitalWrite(latchPin, HIGH);  \n    delay(250);\n  }\n\n\n  for(int count = 0; count&lt;10; count++){ \n  \/\/B is second LED Left Middle or hundreds\n  \/\/1011 0000 is hundreds\n    digitalWrite(latchPin, LOW);\n  \/\/Shifts data to highbyte second digit\n  \/\/You change the d1 to d4 to low to activate\n    shiftOut(dataPin, clockPin, LSBFIRST, 0xb0);\n  \/\/Shifts data to lowbyte, number 7 with decimal point\n    shiftOut(dataPin, clockPin, LSBFIRST, LCD_Position[count]);\n    digitalWrite(latchPin, HIGH);  \n    delay(250);\n  }\n\n\n  for(int count = 0; count&lt;10; count++){  \n  \/\/C is third LED Right Middle or tens\n  \/\/1101 0000 is tens\n    digitalWrite(latchPin, LOW);\n  \/\/Shifts data to highbyte second digit\n  \/\/You change the d1 to d4 to low to activate\n    shiftOut(dataPin, clockPin, LSBFIRST, 0xd0);\n  \/\/Shifts data to lowbyte, number 7 with decimal point\n    shiftOut(dataPin, clockPin, LSBFIRST, LCD_Position[count]);\n    digitalWrite(latchPin, HIGH);  \n    delay(250);\n   }\n\n\n  for(int count = 0; count&lt;10; count++){ \n  \/\/D is fourth LED Right most or ones\n  \/\/1110 0000 is ones\n   digitalWrite(latchPin, LOW);\n  \/\/Shifts data to highbyte second digit\n  \/\/You change the d1 to d4 to low to activate\n    shiftOut(dataPin, clockPin, LSBFIRST, 0xe0);\n  \/\/Shifts data to lowbyte, number 7 with decimal point\n    shiftOut(dataPin, clockPin, LSBFIRST, LCD_Position[count]);\n    digitalWrite(latchPin, HIGH);  \n    delay(250);\n  } \n\n\n  \/\/ write A and B to 7\n  \/\/0011 0000 is A and B with 7\n    digitalWrite(latchPin, LOW);\n  \/\/Shifts data to highbyte second digit\n  \/\/You change the d1 to d4 to low to activate\n    shiftOut(dataPin, clockPin, LSBFIRST, 0x30);\n  \/\/Shifts data to lowbyte, number 7 with decimal point\n    shiftOut(dataPin, clockPin, LSBFIRST, 0xe0);\n    digitalWrite(latchPin, HIGH);  \n    delay(250);\n\nzero_out();\n\n  \/\/ write A and C to 7\n  \/\/0101 0000 is A and C with 7\n  \/\/1110 0000 is 7\n    digitalWrite(latchPin, LOW);\n  \/\/Shifts data to highbyte second digit\n  \/\/You change the d1 to d4 to low to activate\n    shiftOut(dataPin, clockPin, LSBFIRST, 0x50);\n  \/\/Shifts data to lowbyte, number 7 with decimal point\n    shiftOut(dataPin, clockPin, LSBFIRST, 0xe0);\n    digitalWrite(latchPin, HIGH);  \n    delay(250);\n\n    \nzero_out();\n\n  \/\/ write A and D to 7\n  \/\/0110 0000 is A and D with 7\n  \/\/1110 0000 is 7\n    digitalWrite(latchPin, LOW);\n  \/\/Shifts data to highbyte second digit\n  \/\/You change the d1 to d4 to low to activate\n    shiftOut(dataPin, clockPin, LSBFIRST, 0x60);\n  \/\/Shifts data to lowbyte, number 7 with decimal point\n    shiftOut(dataPin, clockPin, LSBFIRST, 0xe0);\n    digitalWrite(latchPin, HIGH);  \n    delay(250);\n     \n\n     \n}<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e766cda elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e766cda\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ecea036\" data-id=\"ecea036\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6c7b56f elementor-widget elementor-widget-video\" data-id=\"6c7b56f\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;video_type&quot;:&quot;hosted&quot;,&quot;controls&quot;:&quot;yes&quot;}\" data-widget_type=\"video.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"e-hosted-video elementor-wrapper elementor-open-inline\">\n\t\t\t\t\t<video class=\"elementor-video\" src=\"https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2024\/03\/20210919_104950.mp4\" controls=\"\" preload=\"metadata\" controlsList=\"nodownload\"><\/video>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2390ebe elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2390ebe\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-448ce40\" data-id=\"448ce40\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c9490c8 elementor-widget elementor-widget-text-editor\" data-id=\"c9490c8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2 style=\"text-align: center;\"><a href=\"https:\/\/mc.scsiraidguru.com\/arduino\/shift_register\/SN74HC595\/4x7%20Segment%20display%20with%202%20x%20595\/20210919_104950.mp4\">Video of project<\/a><\/h2>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>#include &lt;Wire.h&gt; #define latchPin 11 \/\/ SR Latch Pin 12 Digital pin #define clockPin 9 \/\/ SR Clock Pin 11 Digital pin #define dataPin 12 \/\/ SR Pin 14 PWM pin int ones = 0; int ones_hex = 0; int tens = 0; int tens_hex = 0; int hundreds = 0; int hundreds_hex = 0; [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":491,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"custom","ocean_center_header_left_menu":"0","ocean_custom_header_template":"7225","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","osh_disable_topbar_sticky":"default","osh_disable_header_sticky":"default","osh_sticky_header_style":"default","osh_sticky_header_effect":"","osh_custom_sticky_logo":0,"osh_custom_retina_sticky_logo":0,"osh_custom_sticky_logo_height":0,"osh_background_color":"","osh_links_color":"","osh_links_hover_color":"","osh_links_active_color":"","osh_links_bg_color":"","osh_links_hover_bg_color":"","osh_links_active_bg_color":"","osh_menu_social_links_color":"","osh_menu_social_hover_links_color":"","footnotes":""},"class_list":["post-1694","page","type-page","status-publish","hentry","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>4x7 Segment -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/shift-registers\/sn74hc595\/4x7-segment\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"4x7 Segment -\" \/>\n<meta property=\"og:description\" content=\"#include &lt;Wire.h&gt; #define latchPin 11 \/\/ SR Latch Pin 12 Digital pin #define clockPin 9 \/\/ SR Clock Pin 11 Digital pin #define dataPin 12 \/\/ SR Pin 14 PWM pin int ones = 0; int ones_hex = 0; int tens = 0; int tens_hex = 0; int hundreds = 0; int hundreds_hex = 0; [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/shift-registers\/sn74hc595\/4x7-segment\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-06T16:18:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:248\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/fritzling.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/arduino\\\/shift-registers\\\/sn74hc595\\\/4x7-segment\\\/\",\"url\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/arduino\\\/shift-registers\\\/sn74hc595\\\/4x7-segment\\\/\",\"name\":\"4x7 Segment -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/arduino\\\/shift-registers\\\/sn74hc595\\\/4x7-segment\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/arduino\\\/shift-registers\\\/sn74hc595\\\/4x7-segment\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\/\\/mc.scsiraidguru.com\\/wp-content\\/uploads\\/2021\\/09\\/fritzling-300x248.jpg\",\"datePublished\":\"2021-09-19T14:58:23+00:00\",\"dateModified\":\"2024-03-06T16:18:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/arduino\\\/shift-registers\\\/sn74hc595\\\/4x7-segment\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/arduino\\\/shift-registers\\\/sn74hc595\\\/4x7-segment\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/arduino\\\/shift-registers\\\/sn74hc595\\\/4x7-segment\\\/#primaryimage\",\"url\":\"https:\\/\\/mc.scsiraidguru.com\\/wp-content\\/uploads\\/2021\\/09\\/fritzling.jpg\",\"contentUrl\":\"https:\\/\\/mc.scsiraidguru.com\\/wp-content\\/uploads\\/2021\\/09\\/fritzling.jpg\",\"width\":1019,\"height\":844},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/arduino\\\/shift-registers\\\/sn74hc595\\\/4x7-segment\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Arduino\",\"item\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/arduino\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Shift Registers Arduino\",\"item\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/arduino\\\/shift-registers\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"SN74HC595 Arduino\",\"item\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/arduino\\\/shift-registers\\\/sn74hc595\\\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"4&#215;7 Segment\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/#website\",\"url\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/\",\"name\":\"SCSIraidGURU MC World\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/#\\\/schema\\\/person\\\/f21e3238456a7c2adea5944cb376cddc\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/#\\\/schema\\\/person\\\/f21e3238456a7c2adea5944cb376cddc\",\"name\":\"Michael McKenney\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\/\\/mc.scsiraidguru.com\\/wp-content\\/uploads\\/2021\\/09\\/20210925_105558.jpg\",\"url\":\"https:\\/\\/mc.scsiraidguru.com\\/wp-content\\/uploads\\/2021\\/09\\/20210925_105558.jpg\",\"contentUrl\":\"https:\\/\\/mc.scsiraidguru.com\\/wp-content\\/uploads\\/2021\\/09\\/20210925_105558.jpg\",\"width\":2560,\"height\":1440,\"caption\":\"Michael McKenney\"},\"logo\":{\"@id\":\"https:\\/\\/mc.scsiraidguru.com\\/wp-content\\/uploads\\/2021\\/09\\/20210925_105558.jpg\"},\"sameAs\":[\"http:\\\/\\\/mc.scsiraidguru.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"4x7 Segment -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/shift-registers\/sn74hc595\/4x7-segment\/","og_locale":"en_US","og_type":"article","og_title":"4x7 Segment -","og_description":"#include &lt;Wire.h&gt; #define latchPin 11 \/\/ SR Latch Pin 12 Digital pin #define clockPin 9 \/\/ SR Clock Pin 11 Digital pin #define dataPin 12 \/\/ SR Pin 14 PWM pin int ones = 0; int ones_hex = 0; int tens = 0; int tens_hex = 0; int hundreds = 0; int hundreds_hex = 0; [&hellip;]","og_url":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/shift-registers\/sn74hc595\/4x7-segment\/","article_modified_time":"2024-03-06T16:18:53+00:00","og_image":[{"url":"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:248\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/fritzling.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/shift-registers\/sn74hc595\/4x7-segment\/","url":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/shift-registers\/sn74hc595\/4x7-segment\/","name":"4x7 Segment -","isPartOf":{"@id":"https:\/\/mc.scsiraidguru.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/shift-registers\/sn74hc595\/4x7-segment\/#primaryimage"},"image":{"@id":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/shift-registers\/sn74hc595\/4x7-segment\/#primaryimage"},"thumbnailUrl":"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:248\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/fritzling.jpg","datePublished":"2021-09-19T14:58:23+00:00","dateModified":"2024-03-06T16:18:53+00:00","breadcrumb":{"@id":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/shift-registers\/sn74hc595\/4x7-segment\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/shift-registers\/sn74hc595\/4x7-segment\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/shift-registers\/sn74hc595\/4x7-segment\/#primaryimage","url":"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/fritzling.jpg","contentUrl":"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/fritzling.jpg","width":1019,"height":844},{"@type":"BreadcrumbList","@id":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/shift-registers\/sn74hc595\/4x7-segment\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mc.scsiraidguru.com\/"},{"@type":"ListItem","position":2,"name":"Arduino","item":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/"},{"@type":"ListItem","position":3,"name":"Shift Registers Arduino","item":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/shift-registers\/"},{"@type":"ListItem","position":4,"name":"SN74HC595 Arduino","item":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/shift-registers\/sn74hc595\/"},{"@type":"ListItem","position":5,"name":"4&#215;7 Segment"}]},{"@type":"WebSite","@id":"https:\/\/mc.scsiraidguru.com\/#website","url":"https:\/\/mc.scsiraidguru.com\/","name":"SCSIraidGURU MC World","description":"","publisher":{"@id":"https:\/\/mc.scsiraidguru.com\/#\/schema\/person\/f21e3238456a7c2adea5944cb376cddc"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mc.scsiraidguru.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/mc.scsiraidguru.com\/#\/schema\/person\/f21e3238456a7c2adea5944cb376cddc","name":"Michael McKenney","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/20210925_105558.jpg","url":"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/20210925_105558.jpg","contentUrl":"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/20210925_105558.jpg","width":2560,"height":1440,"caption":"Michael McKenney"},"logo":{"@id":"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/20210925_105558.jpg"},"sameAs":["http:\/\/mc.scsiraidguru.com"]}]}},"_links":{"self":[{"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/pages\/1694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/comments?post=1694"}],"version-history":[{"count":23,"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/pages\/1694\/revisions"}],"predecessor-version":[{"id":7771,"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/pages\/1694\/revisions\/7771"}],"up":[{"embeddable":true,"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/pages\/491"}],"wp:attachment":[{"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/media?parent=1694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}