{"id":2639,"date":"2019-07-22T17:59:49","date_gmt":"2019-07-22T15:59:49","guid":{"rendered":"https:\/\/fablab-montagny-pres-louhans.fr\/?p=2639"},"modified":"2020-02-22T17:28:33","modified_gmt":"2020-02-22T16:28:33","slug":"scratch-2-utiliser-un-bouton","status":"publish","type":"post","link":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/2019\/07\/22\/scratch-2-utiliser-un-bouton\/","title":{"rendered":"Scratch 2 : Utiliser un bouton"},"content":{"rendered":"\n<p>On suppose que le logiciel <a href=\"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/2019\/06\/21\/scratch-2-ouvrir-scratch\/\">scratch est ouvert<\/a>, l\u2019<a href=\"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/2019\/06\/21\/scratch-2-ajouter-lextension-gpio\/\">extension Pi GPIO activ\u00e9e<\/a> et un <a href=\"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/2019\/07\/22\/raspberry-pi-connecter-un-bouton\/\">bouton connect\u00e9 <\/a>\u00e0 une broche GPIO.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Recherche le bloc \u00ab\u00a0quand drapeau vert press\u00e9\u00a0\u00bb et fais-le glisser dans la zone Scripts.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"261\" height=\"88\" src=\"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/drapeau.png\" alt=\"\" class=\"wp-image-2610\"\/><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>Recherche le bloc \u00a0\u00bb <strong>set remote usb() gpio () [output high]<\/strong>\u00ab\u00a0, fais-le glisser dans la zone de scripts et connecte-le \u00e0 l\u2019autre bloc.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"564\" height=\"151\" src=\"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/blocbouton.png\" alt=\"\" class=\"wp-image-2640\" srcset=\"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/blocbouton.png 564w, https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/blocbouton-300x80.png 300w\" sizes=\"(max-width: 564px) 100vw, 564px\" \/><\/figure><\/div>\n\n\n\n<p>A c\u00f4t\u00e9 du champ [<strong>output high<\/strong>], il y a une petite fl\u00e8che sur laquelle tu peux cliquer pour d\u00e9finir le champ sur [<strong>input<\/strong>]. Cela indique \u00e0 Scratch que la broche sera connect\u00e9e \u00e0 une entr\u00e9e (ici un bouton). Tu dois \u00e9galement configurer le bloc pour utiliser la bonne broche. L&rsquo;exemple utilise la broche <strong>GPIO4<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"499\" height=\"140\" src=\"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/setgpioinput.png\" alt=\"\" class=\"wp-image-2641\" srcset=\"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/setgpioinput.png 499w, https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/setgpioinput-300x84.png 300w\" sizes=\"(max-width: 499px) 100vw, 499px\" \/><\/figure><\/div>\n\n\n\n<p>Une fa\u00e7on de d\u00e9tecter les pressions de bouton consiste \u00e0 utiliser une <strong>boucle \u00ab\u00a0rep\u00e9ter ind\u00e9finiment\u00a0\u00bb<\/strong> contenant un bloc \u00ab\u00a0<strong>si alors<\/strong>\u00ab\u00a0<strong>e<\/strong>. <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Recherche le bloc \u00ab\u00a0<strong>r\u00e9p\u00e9ter ind\u00e9finiment<\/strong>\u00a0\u00bb dans le menu <strong>Contr\u00f4le<\/strong> et fais-le glisser dans la zone Scripts. <\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"505\" height=\"232\" src=\"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/boutoncode1.png\" alt=\"\" class=\"wp-image-2642\" srcset=\"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/boutoncode1.png 505w, https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/boutoncode1-300x138.png 300w\" sizes=\"(max-width: 505px) 100vw, 505px\" \/><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>Ensuite, prend le bloc \u00ab\u00a0<strong>si alors sinon<\/strong>\u00a0\u00bb et ins\u00e8re-le dans la boucle.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"509\" height=\"347\" src=\"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/boutoncode2.png\" alt=\"\" class=\"wp-image-2643\" srcset=\"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/boutoncode2.png 509w, https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/boutoncode2-300x205.png 300w\" sizes=\"(max-width: 509px) 100vw, 509px\" \/><\/figure><\/div>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Enfin, trouve le bloc \u00ab\u00a0<strong>remote usb0 gpio () is high?<\/strong>\u00a0\u00bb dans le menu  <strong>Plus de blocs<\/strong> et fais-le glisser dans la zone Scripts.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"441\" height=\"60\" src=\"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/gpioishigh.png\" alt=\"\" class=\"wp-image-2644\" srcset=\"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/gpioishigh.png 441w, https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/gpioishigh-300x41.png 300w\" sizes=\"(max-width: 441px) 100vw, 441px\" \/><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>D\u00e9fini le num\u00e9ro de GPIO sur celui de la broche sur laquelle tu as c\u00e2bl\u00e9 le bouton. Ce bloc peut maintenant \u00eatre plac\u00e9 dans le bloc \u00ab\u00a0<strong>si alors sinon<\/strong>\u00ab\u00a0.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"632\" height=\"365\" src=\"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/codebouton3.png\" alt=\"\" class=\"wp-image-2645\" srcset=\"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/codebouton3.png 632w, https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/codebouton3-300x173.png 300w\" sizes=\"(max-width: 632px) 100vw, 632px\" \/><\/figure><\/div>\n\n\n\n<p>La broche sera d\u00e9sactiv\u00e9 (low) lorsque le bouton est enfonc\u00e9 et activ\u00e9e (high) lorsque le bouton n&rsquo;est pas enfonc\u00e9. Tu peux utiliser des blocs \u00ab\u00a0<strong>dire<\/strong>\u00ab\u00a0pour le montrer.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"641\" height=\"408\" src=\"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/codebouton4.png\" alt=\"\" class=\"wp-image-2646\" srcset=\"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/codebouton4.png 641w, https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/codebouton4-300x191.png 300w\" sizes=\"(max-width: 641px) 100vw, 641px\" \/><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>On suppose que le logiciel scratch est ouvert, l\u2019extension Pi GPIO activ\u00e9e et un bouton connect\u00e9 \u00e0 une broche GPIO. Recherche le bloc \u00ab\u00a0quand drapeau vert press\u00e9\u00a0\u00bb et fais-le glisser dans la zone Scripts. Recherche le bloc \u00a0\u00bb set remote usb() gpio () [output high]\u00ab\u00a0, fais-le glisser dans la zone de scripts et connecte-le \u00e0 [&hellip;]<\/p>\n","protected":false},"author":29,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":{"facebook_1992431424458146_173380702515979":""},"rop_publish_now_history":[],"rop_publish_now_status":"pending","footnotes":""},"categories":[4,3],"tags":[],"class_list":["post-2639","post","type-post","status-publish","format-standard","hentry","category-electronique","category-informatique"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Scratch 2 : Utiliser un bouton - Le FabLab<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Scratch 2 : Utiliser un bouton - Le FabLab\" \/>\n<meta property=\"og:description\" content=\"On suppose que le logiciel scratch est ouvert, l\u2019extension Pi GPIO activ\u00e9e et un bouton connect\u00e9 \u00e0 une broche GPIO. Recherche le bloc \u00ab\u00a0quand drapeau vert press\u00e9\u00a0\u00bb et fais-le glisser dans la zone Scripts. Recherche le bloc \u00a0\u00bb set remote usb() gpio () [output high]\u00ab\u00a0, fais-le glisser dans la zone de scripts et connecte-le \u00e0 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/2019\/07\/22\/scratch-2-utiliser-un-bouton\/\" \/>\n<meta property=\"og:site_name\" content=\"Le FabLab\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/fablab.labom\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-22T15:59:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-02-22T16:28:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/drapeau.png\" \/>\n<meta name=\"author\" content=\"Roger Remondy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u00c9crit par\" \/>\n\t<meta name=\"twitter:data1\" content=\"Roger Remondy\" \/>\n\t<meta name=\"twitter:label2\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/index.php\\\/2019\\\/07\\\/22\\\/scratch-2-utiliser-un-bouton\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/index.php\\\/2019\\\/07\\\/22\\\/scratch-2-utiliser-un-bouton\\\/\"},\"author\":{\"name\":\"Roger Remondy\",\"@id\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/#\\\/schema\\\/person\\\/b4b47741bdde563325530989455fe7de\"},\"headline\":\"Scratch 2 : Utiliser un bouton\",\"datePublished\":\"2019-07-22T15:59:49+00:00\",\"dateModified\":\"2020-02-22T16:28:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/index.php\\\/2019\\\/07\\\/22\\\/scratch-2-utiliser-un-bouton\\\/\"},\"wordCount\":258,\"publisher\":{\"@id\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/index.php\\\/2019\\\/07\\\/22\\\/scratch-2-utiliser-un-bouton\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/drapeau.png\",\"articleSection\":[\"Electronique\",\"Informatique\"],\"inLanguage\":\"fr-FR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/index.php\\\/2019\\\/07\\\/22\\\/scratch-2-utiliser-un-bouton\\\/\",\"url\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/index.php\\\/2019\\\/07\\\/22\\\/scratch-2-utiliser-un-bouton\\\/\",\"name\":\"Scratch 2 : Utiliser un bouton - Le FabLab\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/index.php\\\/2019\\\/07\\\/22\\\/scratch-2-utiliser-un-bouton\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/index.php\\\/2019\\\/07\\\/22\\\/scratch-2-utiliser-un-bouton\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/drapeau.png\",\"datePublished\":\"2019-07-22T15:59:49+00:00\",\"dateModified\":\"2020-02-22T16:28:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/index.php\\\/2019\\\/07\\\/22\\\/scratch-2-utiliser-un-bouton\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/index.php\\\/2019\\\/07\\\/22\\\/scratch-2-utiliser-un-bouton\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/index.php\\\/2019\\\/07\\\/22\\\/scratch-2-utiliser-un-bouton\\\/#primaryimage\",\"url\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/drapeau.png\",\"contentUrl\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/drapeau.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/index.php\\\/2019\\\/07\\\/22\\\/scratch-2-utiliser-un-bouton\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Scratch 2 : Utiliser un bouton\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/#website\",\"url\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/\",\"name\":\"Le FabLab\",\"description\":\"Le premier de Bresse\",\"publisher\":{\"@id\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/#organization\",\"name\":\"Le FabLab\",\"url\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/FABALB-logo.png\",\"contentUrl\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/FABALB-logo.png\",\"width\":250,\"height\":260,\"caption\":\"Le FabLab\"},\"image\":{\"@id\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/fablab.labom\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/#\\\/schema\\\/person\\\/b4b47741bdde563325530989455fe7de\",\"name\":\"Roger Remondy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/wp-content\\\/litespeed\\\/avatar\\\/0636c9b2c03e4d83e562c27b768bd1cb.jpg?ver=1776029234\",\"url\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/wp-content\\\/litespeed\\\/avatar\\\/0636c9b2c03e4d83e562c27b768bd1cb.jpg?ver=1776029234\",\"contentUrl\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/wp-content\\\/litespeed\\\/avatar\\\/0636c9b2c03e4d83e562c27b768bd1cb.jpg?ver=1776029234\",\"caption\":\"Roger Remondy\"},\"url\":\"https:\\\/\\\/fablab-montagny-pres-louhans.fr\\\/index.php\\\/author\\\/roger\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Scratch 2 : Utiliser un bouton - Le FabLab","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"fr_FR","og_type":"article","og_title":"Scratch 2 : Utiliser un bouton - Le FabLab","og_description":"On suppose que le logiciel scratch est ouvert, l\u2019extension Pi GPIO activ\u00e9e et un bouton connect\u00e9 \u00e0 une broche GPIO. Recherche le bloc \u00ab\u00a0quand drapeau vert press\u00e9\u00a0\u00bb et fais-le glisser dans la zone Scripts. Recherche le bloc \u00a0\u00bb set remote usb() gpio () [output high]\u00ab\u00a0, fais-le glisser dans la zone de scripts et connecte-le \u00e0 [&hellip;]","og_url":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/2019\/07\/22\/scratch-2-utiliser-un-bouton\/","og_site_name":"Le FabLab","article_publisher":"https:\/\/www.facebook.com\/fablab.labom\/","article_published_time":"2019-07-22T15:59:49+00:00","article_modified_time":"2020-02-22T16:28:33+00:00","og_image":[{"url":"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/drapeau.png","type":"","width":"","height":""}],"author":"Roger Remondy","twitter_card":"summary_large_image","twitter_misc":{"\u00c9crit par":"Roger Remondy","Dur\u00e9e de lecture estim\u00e9e":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/2019\/07\/22\/scratch-2-utiliser-un-bouton\/#article","isPartOf":{"@id":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/2019\/07\/22\/scratch-2-utiliser-un-bouton\/"},"author":{"name":"Roger Remondy","@id":"https:\/\/fablab-montagny-pres-louhans.fr\/#\/schema\/person\/b4b47741bdde563325530989455fe7de"},"headline":"Scratch 2 : Utiliser un bouton","datePublished":"2019-07-22T15:59:49+00:00","dateModified":"2020-02-22T16:28:33+00:00","mainEntityOfPage":{"@id":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/2019\/07\/22\/scratch-2-utiliser-un-bouton\/"},"wordCount":258,"publisher":{"@id":"https:\/\/fablab-montagny-pres-louhans.fr\/#organization"},"image":{"@id":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/2019\/07\/22\/scratch-2-utiliser-un-bouton\/#primaryimage"},"thumbnailUrl":"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/drapeau.png","articleSection":["Electronique","Informatique"],"inLanguage":"fr-FR"},{"@type":"WebPage","@id":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/2019\/07\/22\/scratch-2-utiliser-un-bouton\/","url":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/2019\/07\/22\/scratch-2-utiliser-un-bouton\/","name":"Scratch 2 : Utiliser un bouton - Le FabLab","isPartOf":{"@id":"https:\/\/fablab-montagny-pres-louhans.fr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/2019\/07\/22\/scratch-2-utiliser-un-bouton\/#primaryimage"},"image":{"@id":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/2019\/07\/22\/scratch-2-utiliser-un-bouton\/#primaryimage"},"thumbnailUrl":"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/drapeau.png","datePublished":"2019-07-22T15:59:49+00:00","dateModified":"2020-02-22T16:28:33+00:00","breadcrumb":{"@id":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/2019\/07\/22\/scratch-2-utiliser-un-bouton\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/2019\/07\/22\/scratch-2-utiliser-un-bouton\/"]}]},{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/2019\/07\/22\/scratch-2-utiliser-un-bouton\/#primaryimage","url":"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/drapeau.png","contentUrl":"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2019\/07\/drapeau.png"},{"@type":"BreadcrumbList","@id":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/2019\/07\/22\/scratch-2-utiliser-un-bouton\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/fablab-montagny-pres-louhans.fr\/"},{"@type":"ListItem","position":2,"name":"Scratch 2 : Utiliser un bouton"}]},{"@type":"WebSite","@id":"https:\/\/fablab-montagny-pres-louhans.fr\/#website","url":"https:\/\/fablab-montagny-pres-louhans.fr\/","name":"Le FabLab","description":"Le premier de Bresse","publisher":{"@id":"https:\/\/fablab-montagny-pres-louhans.fr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fablab-montagny-pres-louhans.fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/fablab-montagny-pres-louhans.fr\/#organization","name":"Le FabLab","url":"https:\/\/fablab-montagny-pres-louhans.fr\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/fablab-montagny-pres-louhans.fr\/#\/schema\/logo\/image\/","url":"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2023\/02\/FABALB-logo.png","contentUrl":"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/uploads\/2023\/02\/FABALB-logo.png","width":250,"height":260,"caption":"Le FabLab"},"image":{"@id":"https:\/\/fablab-montagny-pres-louhans.fr\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/fablab.labom\/"]},{"@type":"Person","@id":"https:\/\/fablab-montagny-pres-louhans.fr\/#\/schema\/person\/b4b47741bdde563325530989455fe7de","name":"Roger Remondy","image":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/litespeed\/avatar\/0636c9b2c03e4d83e562c27b768bd1cb.jpg?ver=1776029234","url":"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/litespeed\/avatar\/0636c9b2c03e4d83e562c27b768bd1cb.jpg?ver=1776029234","contentUrl":"https:\/\/fablab-montagny-pres-louhans.fr\/wp-content\/litespeed\/avatar\/0636c9b2c03e4d83e562c27b768bd1cb.jpg?ver=1776029234","caption":"Roger Remondy"},"url":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/author\/roger\/"}]}},"_links":{"self":[{"href":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/wp-json\/wp\/v2\/posts\/2639","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/wp-json\/wp\/v2\/comments?post=2639"}],"version-history":[{"count":4,"href":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/wp-json\/wp\/v2\/posts\/2639\/revisions"}],"predecessor-version":[{"id":3146,"href":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/wp-json\/wp\/v2\/posts\/2639\/revisions\/3146"}],"wp:attachment":[{"href":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/wp-json\/wp\/v2\/media?parent=2639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/wp-json\/wp\/v2\/categories?post=2639"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fablab-montagny-pres-louhans.fr\/index.php\/wp-json\/wp\/v2\/tags?post=2639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}