{"id":1233,"date":"2014-05-30T09:21:49","date_gmt":"2014-05-30T17:21:49","guid":{"rendered":"http:\/\/www.techykids.com\/?p=1233"},"modified":"2014-05-30T09:21:49","modified_gmt":"2014-05-30T17:21:49","slug":"flying-pig","status":"publish","type":"post","link":"https:\/\/techykids.com\/staging\/3266\/archives\/1233","title":{"rendered":"Flying Pig"},"content":{"rendered":"<h2>Presentation:<\/h2>\n<p><iframe src=\"https:\/\/docs.google.com\/presentation\/d\/1RQQy6daQnxPA6Mei6D1TxtJJxtE_pMVjf66eFshUZS4\/embed\" height=\"430\" width=\"580\" allowfullscreen=\"true\" frameborder=\"0\"><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<h2>Video:<\/h2>\n<div class=\"ast-oembed-container\" style=\"height: 100%;\"><iframe title=\"Flying Pig- Techykids.com\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/SWp8FqkuogI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<p>&nbsp;<\/p>\n<h2>Code:<\/h2>\n<p>call sound.system(-1)#brings it to a specific starting state<br \/>\ncall leds.temperature(0,0)<br \/>\ncall leds.top(0,0,0)<br \/>\ncall leds.circle(0,0,0,0,0,0,0,0)<\/p>\n<p>onevent rc5<br \/>\nif rc5.command == 1 then<br \/>\ncall leds.top(16,0,0)<br \/>\nend<br \/>\nif rc5.command == 2 then<br \/>\nmotor.right.target= 150<br \/>\nmotor.left.target= 150<br \/>\nend<br \/>\nif rc5.command == 3 then<br \/>\nmotor.left.target= 150<br \/>\nmotor.right.target=0<br \/>\nend<br \/>\nif rc5.command == 4 then<br \/>\nmotor.left.target= 0<br \/>\nmotor.right.target= 150<br \/>\nend<br \/>\nif rc5.command == 5 then<br \/>\nmotor.left.target= -150<br \/>\nmotor.right.target= -150<br \/>\nend<br \/>\nif rc5.command== 0 then<br \/>\nmotor.left.target= 0<br \/>\nmotor.right.target= 0<br \/>\nend<\/p>\n<p>By: Arya and Sydney<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Presentation: &nbsp; Video: &nbsp; Code: call sound.system(-1)#brings it to a specific starting state call leds.temperature(0,0) call leds.top(0,0,0) call leds.circle(0,0,0,0,0,0,0,0) onevent rc5 if rc5.command == 1 then call leds.top(16,0,0) end if rc5.command == 2 then motor.right.target= 150 motor.left.target= 150 end if rc5.command == 3 then motor.left.target= 150 motor.right.target=0 end if rc5.command == 4 then motor.left.target= 0 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/techykids.com\/staging\/3266\/archives\/1233\"> <span class=\"screen-reader-text\">Flying Pig<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":83413,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[26,12,17],"tags":[48,49,134,273,305,376,403,463,503],"class_list":["post-1233","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-littlebits","category-projects","category-thymio-projects","tag-5th","tag-5th-grade","tag-code-org","tag-invent-a-product","tag-littlebits","tag-programmign-for-kids","tag-robotics-camp","tag-summer-camp","tag-thymio-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Flying Pig - TechyKids.com<\/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:\/\/techykids.com\/staging\/3266\/archives\/1233\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Flying Pig - TechyKids.com\" \/>\n<meta property=\"og:description\" content=\"Presentation: &nbsp; Video: &nbsp; Code: call sound.system(-1)#brings it to a specific starting state call leds.temperature(0,0) call leds.top(0,0,0) call leds.circle(0,0,0,0,0,0,0,0) onevent rc5 if rc5.command == 1 then call leds.top(16,0,0) end if rc5.command == 2 then motor.right.target= 150 motor.left.target= 150 end if rc5.command == 3 then motor.left.target= 150 motor.right.target=0 end if rc5.command == 4 then motor.left.target= 0 &hellip; Flying Pig Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techykids.com\/staging\/3266\/archives\/1233\" \/>\n<meta property=\"og:site_name\" content=\"TechyKids.com\" \/>\n<meta property=\"article:published_time\" content=\"2014-05-30T17:21:49+00:00\" \/>\n<meta name=\"author\" content=\"Sharon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sharon\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\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:\/\/techykids.com\/staging\/3266\/archives\/1233#article\",\"isPartOf\":{\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/1233\"},\"author\":{\"name\":\"Sharon\",\"@id\":\"https:\/\/techykids.com\/#\/schema\/person\/e4d353eee11ff5668cb913fa9d9ffbe4\"},\"headline\":\"Flying Pig\",\"datePublished\":\"2014-05-30T17:21:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/1233\"},\"wordCount\":106,\"publisher\":{\"@id\":\"https:\/\/techykids.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/1233#primaryimage\"},\"thumbnailUrl\":\"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2014\/05\/Screen-Shot-2014-05-30-at-10.15.39-AM.png\",\"keywords\":[\"5th\",\"5th grade\",\"code.org\",\"Invent a Product\",\"littlebits\",\"programmign for kids\",\"robotics camp\",\"summer camp\",\"thymio\"],\"articleSection\":[\"Littlebits\",\"Projects\",\"Thymio\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/1233\",\"url\":\"https:\/\/techykids.com\/staging\/3266\/archives\/1233\",\"name\":\"Flying Pig - TechyKids.com\",\"isPartOf\":{\"@id\":\"https:\/\/techykids.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/1233#primaryimage\"},\"image\":{\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/1233#primaryimage\"},\"thumbnailUrl\":\"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2014\/05\/Screen-Shot-2014-05-30-at-10.15.39-AM.png\",\"datePublished\":\"2014-05-30T17:21:49+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/1233#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/techykids.com\/staging\/3266\/archives\/1233\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/1233#primaryimage\",\"url\":\"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2014\/05\/Screen-Shot-2014-05-30-at-10.15.39-AM.png\",\"contentUrl\":\"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2014\/05\/Screen-Shot-2014-05-30-at-10.15.39-AM.png\",\"width\":394,\"height\":346},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/1233#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/techykids.com\/staging\/3266\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Flying Pig\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/techykids.com\/#website\",\"url\":\"https:\/\/techykids.com\/\",\"name\":\"TechyKids.com\",\"description\":\"Get Inspired.\",\"publisher\":{\"@id\":\"https:\/\/techykids.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/techykids.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/techykids.com\/#organization\",\"name\":\"TechyKids.com\",\"url\":\"https:\/\/techykids.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/techykids.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2013\/05\/techykids1-2.png\",\"contentUrl\":\"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2013\/05\/techykids1-2.png\",\"width\":300,\"height\":104,\"caption\":\"TechyKids.com\"},\"image\":{\"@id\":\"https:\/\/techykids.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/techykids.com\/#\/schema\/person\/e4d353eee11ff5668cb913fa9d9ffbe4\",\"name\":\"Sharon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/techykids.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6d7fcd9f270d4b5e8e68ff1ebe130252a70cafed7163951b2805d154ba9e8ab5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6d7fcd9f270d4b5e8e68ff1ebe130252a70cafed7163951b2805d154ba9e8ab5?s=96&d=mm&r=g\",\"caption\":\"Sharon\"},\"url\":\"https:\/\/techykids.com\/staging\/3266\/archives\/author\/sharontk\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Flying Pig - TechyKids.com","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:\/\/techykids.com\/staging\/3266\/archives\/1233","og_locale":"en_US","og_type":"article","og_title":"Flying Pig - TechyKids.com","og_description":"Presentation: &nbsp; Video: &nbsp; Code: call sound.system(-1)#brings it to a specific starting state call leds.temperature(0,0) call leds.top(0,0,0) call leds.circle(0,0,0,0,0,0,0,0) onevent rc5 if rc5.command == 1 then call leds.top(16,0,0) end if rc5.command == 2 then motor.right.target= 150 motor.left.target= 150 end if rc5.command == 3 then motor.left.target= 150 motor.right.target=0 end if rc5.command == 4 then motor.left.target= 0 &hellip; Flying Pig Read More &raquo;","og_url":"https:\/\/techykids.com\/staging\/3266\/archives\/1233","og_site_name":"TechyKids.com","article_published_time":"2014-05-30T17:21:49+00:00","author":"Sharon","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sharon","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techykids.com\/staging\/3266\/archives\/1233#article","isPartOf":{"@id":"https:\/\/techykids.com\/staging\/3266\/archives\/1233"},"author":{"name":"Sharon","@id":"https:\/\/techykids.com\/#\/schema\/person\/e4d353eee11ff5668cb913fa9d9ffbe4"},"headline":"Flying Pig","datePublished":"2014-05-30T17:21:49+00:00","mainEntityOfPage":{"@id":"https:\/\/techykids.com\/staging\/3266\/archives\/1233"},"wordCount":106,"publisher":{"@id":"https:\/\/techykids.com\/#organization"},"image":{"@id":"https:\/\/techykids.com\/staging\/3266\/archives\/1233#primaryimage"},"thumbnailUrl":"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2014\/05\/Screen-Shot-2014-05-30-at-10.15.39-AM.png","keywords":["5th","5th grade","code.org","Invent a Product","littlebits","programmign for kids","robotics camp","summer camp","thymio"],"articleSection":["Littlebits","Projects","Thymio"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/techykids.com\/staging\/3266\/archives\/1233","url":"https:\/\/techykids.com\/staging\/3266\/archives\/1233","name":"Flying Pig - TechyKids.com","isPartOf":{"@id":"https:\/\/techykids.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techykids.com\/staging\/3266\/archives\/1233#primaryimage"},"image":{"@id":"https:\/\/techykids.com\/staging\/3266\/archives\/1233#primaryimage"},"thumbnailUrl":"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2014\/05\/Screen-Shot-2014-05-30-at-10.15.39-AM.png","datePublished":"2014-05-30T17:21:49+00:00","breadcrumb":{"@id":"https:\/\/techykids.com\/staging\/3266\/archives\/1233#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techykids.com\/staging\/3266\/archives\/1233"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techykids.com\/staging\/3266\/archives\/1233#primaryimage","url":"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2014\/05\/Screen-Shot-2014-05-30-at-10.15.39-AM.png","contentUrl":"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2014\/05\/Screen-Shot-2014-05-30-at-10.15.39-AM.png","width":394,"height":346},{"@type":"BreadcrumbList","@id":"https:\/\/techykids.com\/staging\/3266\/archives\/1233#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techykids.com\/staging\/3266\/"},{"@type":"ListItem","position":2,"name":"Flying Pig"}]},{"@type":"WebSite","@id":"https:\/\/techykids.com\/#website","url":"https:\/\/techykids.com\/","name":"TechyKids.com","description":"Get Inspired.","publisher":{"@id":"https:\/\/techykids.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techykids.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techykids.com\/#organization","name":"TechyKids.com","url":"https:\/\/techykids.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techykids.com\/#\/schema\/logo\/image\/","url":"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2013\/05\/techykids1-2.png","contentUrl":"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2013\/05\/techykids1-2.png","width":300,"height":104,"caption":"TechyKids.com"},"image":{"@id":"https:\/\/techykids.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/techykids.com\/#\/schema\/person\/e4d353eee11ff5668cb913fa9d9ffbe4","name":"Sharon","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techykids.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6d7fcd9f270d4b5e8e68ff1ebe130252a70cafed7163951b2805d154ba9e8ab5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6d7fcd9f270d4b5e8e68ff1ebe130252a70cafed7163951b2805d154ba9e8ab5?s=96&d=mm&r=g","caption":"Sharon"},"url":"https:\/\/techykids.com\/staging\/3266\/archives\/author\/sharontk"}]}},"_links":{"self":[{"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/posts\/1233","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/comments?post=1233"}],"version-history":[{"count":0,"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/posts\/1233\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/media\/83413"}],"wp:attachment":[{"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/media?parent=1233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/categories?post=1233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/tags?post=1233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}