{"id":11514,"date":"2021-05-23T05:15:03","date_gmt":"2021-05-23T09:15:03","guid":{"rendered":"http:\/\/engineersgarag-main\/how-to-configure-scratch-gpio-part-1-12\/"},"modified":"2023-07-02T14:40:36","modified_gmt":"2023-07-02T18:40:36","slug":"how-to-configure-scratch-gpio-part-1-12","status":"publish","type":"post","link":"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/","title":{"rendered":"How to configure Scratch GPIO- (Part 1\/12)"},"content":{"rendered":"<p style=\"text-align: justify;\">In this tutorial a\u00a0Raspberrypi board is booted with Ubuntu\u00a0OS and is connected to the Ethernet port of a Windows7 PC. The board is connected to the internet as explained in the article <a href=\"https:\/\/www.engineersgarage.com\/embedded\/raspberry-pi\/how-connect-raspberry-pi-wi-fi-connection-pc\" target=\"_blank\" rel=\"noopener noreferrer\">Connecting the Raspberry pi to the internet<\/a>. The IP address of the Raspberrypi board has been obtained to\u00a0<a href=\"https:\/\/www.engineersgarage.com\/embedded\/raspberry-pi\/how-access-raspberry-pi-directly-through-ethernet-port-pc\" target=\"_blank\" rel=\"noopener noreferrer\">remote login in the TUI<\/a>\u00a0using the <a href=\"https:\/\/www.putty.org\/\">PUTTY<\/a> and is\u00a0<a href=\"https:\/\/www.engineersgarage.com\/embedded\/raspberry-pi\/get-display-on-raspberry-pi\" target=\"_blank\" rel=\"noopener noreferrer\">remotely accessed using VNC<\/a>.<\/p>\n<p style=\"text-align: justify;\">Open terminal and type the following command:<\/p>\n<p style=\"text-align: justify;\"><em><strong>wget http:\/\/bit.ly\/1wxrqdp -O isgh7.sh<\/strong><\/em><\/p>\n<p style=\"text-align: justify;\">The file will be downloaded and saved in the SD card.<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" title=\"Dowloading Scratch Command for Raspberry pi\" src=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/07\/Dowloading-Scratch-Command-Raspberry-pi.png\" alt=\"Dowloading Scratch Command for Raspberry pi\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-size: 12px;\"><span style=\"font-family: verdana,geneva,sans-serif;\"><em>Fig. 2: Dowloading Scratch Command For Raspberry Pi<\/em><\/span><\/span><\/p>\n<p style=\"text-align: justify;\">Or download the file directly to another computer and copy it to your <a href=\"https:\/\/www.engineersgarage.com\/blogs\/raspberry-pi-2-3-vs-beaglebone-black\">Raspberry Pi<\/a> Shared folder.<\/p>\n<p style=\"text-align: justify;\">Execute the File to install Scratch GPIO by use of the following command:<\/p>\n<p style=\"text-align: justify;\"><em><strong>bash isgh7.sh <\/strong><\/em><\/p>\n<p style=\"text-align: justify;\">If not logged as the root user, add the sudo before the command like:<\/p>\n<p style=\"text-align: justify;\"><em><strong>sudo bash isgh7.sh<\/strong><\/em><\/p>\n<p style=\"text-align: justify;\">and press Enter<\/p>\n<p style=\"text-align: justify;\">This will install all the necessary extra software and some examples.<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" title=\"Installing Scratch and other softwares\" src=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/07\/Installing-Scratch-other-softwares.png\" alt=\"Installing Scratch and other softwares\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-size: 12px;\"><span style=\"font-family: verdana,geneva,sans-serif;\"><em>Fig. 3: Installing Scratch And Other Softwares<\/em><\/span><\/span><\/p>\n<p style=\"text-align: justify;\">This installation will create two desktop icons \u2013 ScratchGPIO7 is used for beginners for simple circuits and ScratchGPIO 7Plus is used by experts with a lot of add-on boards.<\/p>\n<p style=\"text-align: justify;\"><strong>How it works:<\/strong><\/p>\n<p style=\"text-align: justify;\">Scratch can also shout called \u201cbroadcast\u201d to anything which is called as listening and also hear called \u201creceive\u201d any other things which are shouting too.<\/p>\n<p style=\"text-align: justify;\">The python program called \u201cscratch_gpio_handler.py\u201d will runs in the background and it is set up to listen any of these broadcast messages and turn them into GPIO actions.<\/p>\n<p style=\"text-align: justify;\">The current scratch_gpio_handler.py has the GPIO pins fixed to the following inputs and outputs. The pin numbers given, are the pins as counted on the P1 GPIO header itself.<\/p>\n<p style=\"text-align: justify;\"><strong>Broadcast Commands:<\/strong><\/p>\n<p style=\"text-align: justify;\">Outputs (21,18,16,15,13,12,11)<\/p>\n<table width=\"916\" cellspacing=\"0\" cellpadding=\"4\">\n<colgroup>\n<col style=\"text-align: justify;\" \/>\n<col style=\"text-align: justify;\" \/>\n<col style=\"text-align: justify;\" \/><\/colgroup>\n<tbody>\n<tr>\n<td>\n<p style=\"text-align: justify;\"><strong>Command<\/strong><\/p>\n<\/td>\n<td>\n<p style=\"text-align: justify;\"><strong>Alt Command<\/strong><\/p>\n<\/td>\n<td>\n<p style=\"text-align: justify;\"><strong>Result<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p style=\"text-align: justify;\">pinXon<\/p>\n<\/td>\n<td>\n<p style=\"text-align: justify;\">pinXhigh<\/p>\n<\/td>\n<td>\n<p style=\"text-align: justify;\">Turns pin X ON<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p style=\"text-align: justify;\">pinXoff<\/p>\n<\/td>\n<td>\n<p style=\"text-align: justify;\">pinXlow<\/p>\n<\/td>\n<td>\n<p style=\"text-align: justify;\">Turns pin X OFF<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p style=\"text-align: justify;\">allon<\/p>\n<\/td>\n<td>\n<p style=\"text-align: justify;\">allhigh<\/p>\n<\/td>\n<td>\n<p style=\"text-align: justify;\">Turns all pins ON<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p style=\"text-align: justify;\">alloff<\/p>\n<\/td>\n<td>\n<p style=\"text-align: justify;\">allow<\/p>\n<\/td>\n<td>\n<p style=\"text-align: justify;\">Turns all pins OFF<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p style=\"text-align: justify;\">pinpattern1010111<\/p>\n<\/td>\n<td>\n<p style=\"text-align: justify;\">\n<\/td>\n<td>\n<p style=\"text-align: justify;\">Sets each pin ON or OFF depending on 1 or 0 [21,18,16,15,13,12,11]\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\"><strong>Making led blink:<\/strong><\/p>\n<p style=\"text-align: justify;\"><strong><img decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"Making led blink using scratch\" src=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/07\/Making-led-blink-using-scratch.png\" alt=\"Making led blink using scratch\" \/><\/strong><\/p>\n<p style=\"text-align: center;\"><span style=\"font-size: 12px;\"><span style=\"font-family: verdana,geneva,sans-serif;\"><em>Fig. 4: Making Led Blink Using Scratch<\/em><\/span><\/span><\/p>\n<p>The green flag in the play window is to start the code, here we have used forever loop block to make the led blink forever.<\/p>\n<p><strong style=\"font-size: 12.8px;\">Sensing inputs:<\/strong><\/p>\n<p>Inputs (26,24,22,19,10,7)<\/p>\n<p><img decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"Sensing inputs in Scratch to access GPIO\" src=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/07\/Sensing-inputs-Scratch-access-GPIO.png\" alt=\"Sensing inputs in Scratch to access GPIO\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-size: 12px;\"><span style=\"font-family: verdana,geneva,sans-serif;\"><em>Fig. 5: Sensing Inputs In Scratch To Access GPIO<\/em><\/span><\/span><\/p>\n<p style=\"text-align: justify;\">In scratch separate sensing block is available where sensor value consists of a slider which includes the input pins can be used accordingly. We can use this variable block to compare with binary values using control blocks.<\/p>\n<p style=\"text-align: justify;\"><strong>Controlling of LED using buttons:<\/strong><\/p>\n<p style=\"text-align: justify;\">Controlling of four <a href=\"https:\/\/www.engineersgarage.com\/electronic-components\/leds-light-emitting-diode\">led<\/a> using four <a href=\"https:\/\/www.engineersgarage.com\/insight\/how-tactile-switch-works\">switches<\/a> is visually coded here and working is demonstrated in the video.<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"Controlling LED using buttons\" src=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/07\/Controlling-LED-using-buttons.png\" alt=\"Controlling LED using buttons\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-size: 12px;\"><span style=\"font-family: verdana,geneva,sans-serif;\"><em>Fig. 7: Controlling LED Using Buttons<\/em><\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Scratch is a programming tool for creating embedded games,stories and animations without using any written codings, rather using visually organized syntax which is in blocks with a drag-and-drop interface. One can use these blocks according to one\u2019s requirement, scratch\u2019s control of hardware is not only limited to the external inputs such as the keyboard and mouse.This article explains how to configure Scratch to extend its power to access GPIO(General Purpose Input and Output) of the Raspberry Pi.<\/p>\n","protected":false},"author":294,"featured_media":54919,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[22,3993,9],"tags":[],"class_list":{"2":"type-post","10":"entry","11":"has-post-thumbnail"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.2 (Yoast SEO v25.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to configure Scratch GPIO- (Part 1\/12)<\/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:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to configure Scratch GPIO- (Part 1\/12)\" \/>\n<meta property=\"og:description\" content=\"Scratch is a programming tool for creating embedded games,stories and animations without using any written codings, rather using visually organized syntax which is in blocks with a drag-and-drop interface. One can use these blocks according to one\u2019s requirement, scratch\u2019s control of hardware is not only limited to the external inputs such as the keyboard and mouse.This article explains how to configure Scratch to extend its power to access GPIO(General Purpose Input and Output) of the Raspberry Pi.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/\" \/>\n<meta property=\"og:site_name\" content=\"Engineers Garage\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/engineersgarage\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/07\/Dowloading-Scratch-Command-Raspberry-pi.png\" \/>\n\t<meta property=\"og:image:width\" content=\"896\" \/>\n\t<meta property=\"og:image:height\" content=\"508\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Prabakaran P.M\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@EngineersGarage\" \/>\n<meta name=\"twitter:site\" content=\"@EngineersGarage\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prabakaran P.M\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/\"},\"author\":{\"name\":\"Prabakaran P.M\",\"@id\":\"https:\/\/www.engineersgarage.com\/#\/schema\/person\/31715c526379b6227c36ba75bd9d5358\"},\"headline\":\"How to configure Scratch GPIO- (Part 1\/12)\",\"datePublished\":\"2021-05-23T09:15:03+00:00\",\"dateModified\":\"2023-07-02T18:40:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/\"},\"wordCount\":446,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.engineersgarage.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/07\/Dowloading-Scratch-Command-Raspberry-pi.png\",\"articleSection\":[\"PIC Microcontroller\",\"Raspberry pi\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/\",\"url\":\"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/\",\"name\":\"How to configure Scratch GPIO- (Part 1\/12)\",\"isPartOf\":{\"@id\":\"https:\/\/www.engineersgarage.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/07\/Dowloading-Scratch-Command-Raspberry-pi.png\",\"datePublished\":\"2021-05-23T09:15:03+00:00\",\"dateModified\":\"2023-07-02T18:40:36+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/#primaryimage\",\"url\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/07\/Dowloading-Scratch-Command-Raspberry-pi.png\",\"contentUrl\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/07\/Dowloading-Scratch-Command-Raspberry-pi.png\",\"width\":896,\"height\":508,\"caption\":\"\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.engineersgarage.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to configure Scratch GPIO- (Part 1\/12)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.engineersgarage.com\/#website\",\"url\":\"https:\/\/www.engineersgarage.com\/\",\"name\":\"Engineers Garage\",\"description\":\"Electronic Projects, Electrical Engineering Resources, Makers Articles and Product News\",\"publisher\":{\"@id\":\"https:\/\/www.engineersgarage.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.engineersgarage.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.engineersgarage.com\/#organization\",\"name\":\"Engineer's Garage - WTWH Media\",\"url\":\"https:\/\/www.engineersgarage.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.engineersgarage.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/08\/EGlogo.png\",\"contentUrl\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/08\/EGlogo.png\",\"width\":372,\"height\":52,\"caption\":\"Engineer's Garage - WTWH Media\"},\"image\":{\"@id\":\"https:\/\/www.engineersgarage.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/engineersgarage\",\"https:\/\/x.com\/EngineersGarage\",\"https:\/\/www.youtube.com\/channel\/UC0VITh11JSYk-UW7toLebUw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.engineersgarage.com\/#\/schema\/person\/31715c526379b6227c36ba75bd9d5358\",\"name\":\"Prabakaran P.M\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.engineersgarage.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/904ba7cdba032f0cb42d6c51fc58c7c27dde8a425c34aad62444b3f1dd5c19fe?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/904ba7cdba032f0cb42d6c51fc58c7c27dde8a425c34aad62444b3f1dd5c19fe?s=96&r=g\",\"caption\":\"Prabakaran P.M\"},\"url\":\"https:\/\/www.engineersgarage.com\/author\/pp-m\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to configure Scratch GPIO- (Part 1\/12)","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:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/","og_locale":"en_US","og_type":"article","og_title":"How to configure Scratch GPIO- (Part 1\/12)","og_description":"Scratch is a programming tool for creating embedded games,stories and animations without using any written codings, rather using visually organized syntax which is in blocks with a drag-and-drop interface. One can use these blocks according to one\u2019s requirement, scratch\u2019s control of hardware is not only limited to the external inputs such as the keyboard and mouse.This article explains how to configure Scratch to extend its power to access GPIO(General Purpose Input and Output) of the Raspberry Pi.","og_url":"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/","og_site_name":"Engineers Garage","article_publisher":"https:\/\/www.facebook.com\/engineersgarage","og_image":[{"width":896,"height":508,"url":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/07\/Dowloading-Scratch-Command-Raspberry-pi.png","type":"image\/png"}],"author":"Prabakaran P.M","twitter_card":"summary_large_image","twitter_creator":"@EngineersGarage","twitter_site":"@EngineersGarage","twitter_misc":{"Written by":"Prabakaran P.M","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/#article","isPartOf":{"@id":"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/"},"author":{"name":"Prabakaran P.M","@id":"https:\/\/www.engineersgarage.com\/#\/schema\/person\/31715c526379b6227c36ba75bd9d5358"},"headline":"How to configure Scratch GPIO- (Part 1\/12)","datePublished":"2021-05-23T09:15:03+00:00","dateModified":"2023-07-02T18:40:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/"},"wordCount":446,"commentCount":0,"publisher":{"@id":"https:\/\/www.engineersgarage.com\/#organization"},"image":{"@id":"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/#primaryimage"},"thumbnailUrl":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/07\/Dowloading-Scratch-Command-Raspberry-pi.png","articleSection":["PIC Microcontroller","Raspberry pi","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/","url":"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/","name":"How to configure Scratch GPIO- (Part 1\/12)","isPartOf":{"@id":"https:\/\/www.engineersgarage.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/#primaryimage"},"image":{"@id":"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/#primaryimage"},"thumbnailUrl":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/07\/Dowloading-Scratch-Command-Raspberry-pi.png","datePublished":"2021-05-23T09:15:03+00:00","dateModified":"2023-07-02T18:40:36+00:00","breadcrumb":{"@id":"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/#primaryimage","url":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/07\/Dowloading-Scratch-Command-Raspberry-pi.png","contentUrl":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/07\/Dowloading-Scratch-Command-Raspberry-pi.png","width":896,"height":508,"caption":""},{"@type":"BreadcrumbList","@id":"https:\/\/www.engineersgarage.com\/how-to-configure-scratch-gpio-part-1-12\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.engineersgarage.com\/"},{"@type":"ListItem","position":2,"name":"How to configure Scratch GPIO- (Part 1\/12)"}]},{"@type":"WebSite","@id":"https:\/\/www.engineersgarage.com\/#website","url":"https:\/\/www.engineersgarage.com\/","name":"Engineers Garage","description":"Electronic Projects, Electrical Engineering Resources, Makers Articles and Product News","publisher":{"@id":"https:\/\/www.engineersgarage.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.engineersgarage.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.engineersgarage.com\/#organization","name":"Engineer's Garage - WTWH Media","url":"https:\/\/www.engineersgarage.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.engineersgarage.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/08\/EGlogo.png","contentUrl":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/08\/EGlogo.png","width":372,"height":52,"caption":"Engineer's Garage - WTWH Media"},"image":{"@id":"https:\/\/www.engineersgarage.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/engineersgarage","https:\/\/x.com\/EngineersGarage","https:\/\/www.youtube.com\/channel\/UC0VITh11JSYk-UW7toLebUw"]},{"@type":"Person","@id":"https:\/\/www.engineersgarage.com\/#\/schema\/person\/31715c526379b6227c36ba75bd9d5358","name":"Prabakaran P.M","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.engineersgarage.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/904ba7cdba032f0cb42d6c51fc58c7c27dde8a425c34aad62444b3f1dd5c19fe?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/904ba7cdba032f0cb42d6c51fc58c7c27dde8a425c34aad62444b3f1dd5c19fe?s=96&r=g","caption":"Prabakaran P.M"},"url":"https:\/\/www.engineersgarage.com\/author\/pp-m\/"}]}},"featured_image_src":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/07\/Dowloading-Scratch-Command-Raspberry-pi.png","featured_image_src_square":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/07\/Dowloading-Scratch-Command-Raspberry-pi.png","author_info":{"display_name":"Prabakaran P.M","author_link":"https:\/\/www.engineersgarage.com\/author\/pp-m\/"},"_links":{"self":[{"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/posts\/11514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/users\/294"}],"replies":[{"embeddable":true,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/comments?post=11514"}],"version-history":[{"count":0,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/posts\/11514\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/media\/54919"}],"wp:attachment":[{"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/media?parent=11514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/categories?post=11514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/tags?post=11514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}