{"id":1272,"date":"2020-02-09T14:31:06","date_gmt":"2020-02-09T16:31:06","guid":{"rendered":"http:\/\/pedrobertoleti.com.br\/?p=1272"},"modified":"2020-02-09T14:31:08","modified_gmt":"2020-02-09T16:31:08","slug":"projetos-no-arduino-com-freertos-semaforo","status":"publish","type":"post","link":"https:\/\/pedrobertoleti.com.br\/index.php\/2020\/02\/09\/projetos-no-arduino-com-freertos-semaforo\/","title":{"rendered":"Projetos no Arduino com FreeRTOS \u2013 sem\u00e1foro"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Nos artigos\u00a0<a href=\"https:\/\/www.filipeflop.com\/blog\/tasks-no-freertos\/\">Projetos no Arduino com FreeRTOS \u2013 conceitos, tasks e consumo de mem\u00f3ria por task<\/a>\u00a0e\u00a0<a href=\"https:\/\/www.filipeflop.com\/blog\/fila-com-freertos\/\">Projetos no Arduino com FreeRTOS \u2013 filas (queues)<\/a>, vimos os principais conceitos do FreeRTOS, como medir consumo de mem\u00f3ria por uma task, como utilizar o FreeRTOS no Arduino e uso das filas (queues). Agora, vamos prosseguir com o assunto, mostrando um outro recurso fundamental: a utiliza\u00e7\u00e3o de um\u00a0<strong>sem\u00e1foro no FreeRTOS<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Para ler este post na \u00edntegra, <a href=\"https:\/\/www.filipeflop.com\/blog\/semaforo-no-freertos\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"clique aqui (opens in a new tab)\">clique aqui<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nos artigos\u00a0Projetos no Arduino com FreeRTOS \u2013 conceitos, tasks e consumo de mem\u00f3ria por task\u00a0e\u00a0Projetos no Arduino com FreeRTOS \u2013 filas (queues), vimos os principais conceitos do FreeRTOS, como medir consumo de mem\u00f3ria por uma task, como utilizar o FreeRTOS no Arduino e uso das filas (queues). Agora, vamos prosseguir com o assunto, mostrando um&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1273,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[12,13,5],"tags":[],"class_list":["post-1272","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nivel-avancado","category-publicacoes","category-artigos-nacionais"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Projetos no Arduino com FreeRTOS \u2013 sem\u00e1foro -<\/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:\/\/pedrobertoleti.com.br\/index.php\/2020\/02\/09\/projetos-no-arduino-com-freertos-semaforo\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Projetos no Arduino com FreeRTOS \u2013 sem\u00e1foro -\" \/>\n<meta property=\"og:description\" content=\"Nos artigos\u00a0Projetos no Arduino com FreeRTOS \u2013 conceitos, tasks e consumo de mem\u00f3ria por task\u00a0e\u00a0Projetos no Arduino com FreeRTOS \u2013 filas (queues), vimos os principais conceitos do FreeRTOS, como medir consumo de mem\u00f3ria por uma task, como utilizar o FreeRTOS no Arduino e uso das filas (queues). Agora, vamos prosseguir com o assunto, mostrando um...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pedrobertoleti.com.br\/index.php\/2020\/02\/09\/projetos-no-arduino-com-freertos-semaforo\/\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pbertoleti\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-09T16:31:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-02-09T16:31:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pedrobertoleti.com.br\/wp-content\/uploads\/2020\/02\/arduino_freertos_semaforos.png\" \/>\n\t<meta property=\"og:image:width\" content=\"777\" \/>\n\t<meta property=\"og:image:height\" content=\"382\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Pedro Bertoleti\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pedro_bertoleti\" \/>\n<meta name=\"twitter:site\" content=\"@pedro_bertoleti\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pedro Bertoleti\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2020\\\/02\\\/09\\\/projetos-no-arduino-com-freertos-semaforo\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2020\\\/02\\\/09\\\/projetos-no-arduino-com-freertos-semaforo\\\/\"},\"author\":{\"name\":\"Pedro Bertoleti\",\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/#\\\/schema\\\/person\\\/fe1c150103c09ca0a2b9bb200bef33de\"},\"headline\":\"Projetos no Arduino com FreeRTOS \u2013 sem\u00e1foro\",\"datePublished\":\"2020-02-09T16:31:06+00:00\",\"dateModified\":\"2020-02-09T16:31:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2020\\\/02\\\/09\\\/projetos-no-arduino-com-freertos-semaforo\\\/\"},\"wordCount\":85,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2020\\\/02\\\/09\\\/projetos-no-arduino-com-freertos-semaforo\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/arduino_freertos_semaforos.png\",\"articleSection\":[\"N\u00edvel avan\u00e7ado\",\"Publica\u00e7\u00f5es\",\"publica\u00e7\u00f5es nacionais\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2020\\\/02\\\/09\\\/projetos-no-arduino-com-freertos-semaforo\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2020\\\/02\\\/09\\\/projetos-no-arduino-com-freertos-semaforo\\\/\",\"url\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2020\\\/02\\\/09\\\/projetos-no-arduino-com-freertos-semaforo\\\/\",\"name\":\"Projetos no Arduino com FreeRTOS \u2013 sem\u00e1foro -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2020\\\/02\\\/09\\\/projetos-no-arduino-com-freertos-semaforo\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2020\\\/02\\\/09\\\/projetos-no-arduino-com-freertos-semaforo\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/arduino_freertos_semaforos.png\",\"datePublished\":\"2020-02-09T16:31:06+00:00\",\"dateModified\":\"2020-02-09T16:31:08+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/#\\\/schema\\\/person\\\/fe1c150103c09ca0a2b9bb200bef33de\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2020\\\/02\\\/09\\\/projetos-no-arduino-com-freertos-semaforo\\\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2020\\\/02\\\/09\\\/projetos-no-arduino-com-freertos-semaforo\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2020\\\/02\\\/09\\\/projetos-no-arduino-com-freertos-semaforo\\\/#primaryimage\",\"url\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/arduino_freertos_semaforos.png\",\"contentUrl\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/arduino_freertos_semaforos.png\",\"width\":777,\"height\":382},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2020\\\/02\\\/09\\\/projetos-no-arduino-com-freertos-semaforo\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Projetos no Arduino com FreeRTOS \u2013 sem\u00e1foro\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/#website\",\"url\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/#\\\/schema\\\/person\\\/fe1c150103c09ca0a2b9bb200bef33de\",\"name\":\"Pedro Bertoleti\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/76ea2e908fec70b0d55b4eefd5ab24788f573fbe00bcb7b7d6e37da8f1e18dd3?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/76ea2e908fec70b0d55b4eefd5ab24788f573fbe00bcb7b7d6e37da8f1e18dd3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/76ea2e908fec70b0d55b4eefd5ab24788f573fbe00bcb7b7d6e37da8f1e18dd3?s=96&d=mm&r=g\",\"caption\":\"Pedro Bertoleti\"},\"description\":\"Informa\u00e7\u00f5es completas em: http:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/sobre\\\/\",\"sameAs\":[\"http:\\\/\\\/www.pedrobertoleti.com.br\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Projetos no Arduino com FreeRTOS \u2013 sem\u00e1foro -","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:\/\/pedrobertoleti.com.br\/index.php\/2020\/02\/09\/projetos-no-arduino-com-freertos-semaforo\/","og_locale":"pt_BR","og_type":"article","og_title":"Projetos no Arduino com FreeRTOS \u2013 sem\u00e1foro -","og_description":"Nos artigos\u00a0Projetos no Arduino com FreeRTOS \u2013 conceitos, tasks e consumo de mem\u00f3ria por task\u00a0e\u00a0Projetos no Arduino com FreeRTOS \u2013 filas (queues), vimos os principais conceitos do FreeRTOS, como medir consumo de mem\u00f3ria por uma task, como utilizar o FreeRTOS no Arduino e uso das filas (queues). Agora, vamos prosseguir com o assunto, mostrando um...","og_url":"https:\/\/pedrobertoleti.com.br\/index.php\/2020\/02\/09\/projetos-no-arduino-com-freertos-semaforo\/","article_publisher":"https:\/\/www.facebook.com\/pbertoleti","article_published_time":"2020-02-09T16:31:06+00:00","article_modified_time":"2020-02-09T16:31:08+00:00","og_image":[{"width":777,"height":382,"url":"https:\/\/pedrobertoleti.com.br\/wp-content\/uploads\/2020\/02\/arduino_freertos_semaforos.png","type":"image\/png"}],"author":"Pedro Bertoleti","twitter_card":"summary_large_image","twitter_creator":"@pedro_bertoleti","twitter_site":"@pedro_bertoleti","twitter_misc":{"Escrito por":"Pedro Bertoleti"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pedrobertoleti.com.br\/index.php\/2020\/02\/09\/projetos-no-arduino-com-freertos-semaforo\/#article","isPartOf":{"@id":"https:\/\/pedrobertoleti.com.br\/index.php\/2020\/02\/09\/projetos-no-arduino-com-freertos-semaforo\/"},"author":{"name":"Pedro Bertoleti","@id":"https:\/\/pedrobertoleti.com.br\/#\/schema\/person\/fe1c150103c09ca0a2b9bb200bef33de"},"headline":"Projetos no Arduino com FreeRTOS \u2013 sem\u00e1foro","datePublished":"2020-02-09T16:31:06+00:00","dateModified":"2020-02-09T16:31:08+00:00","mainEntityOfPage":{"@id":"https:\/\/pedrobertoleti.com.br\/index.php\/2020\/02\/09\/projetos-no-arduino-com-freertos-semaforo\/"},"wordCount":85,"commentCount":0,"image":{"@id":"https:\/\/pedrobertoleti.com.br\/index.php\/2020\/02\/09\/projetos-no-arduino-com-freertos-semaforo\/#primaryimage"},"thumbnailUrl":"https:\/\/pedrobertoleti.com.br\/wp-content\/uploads\/2020\/02\/arduino_freertos_semaforos.png","articleSection":["N\u00edvel avan\u00e7ado","Publica\u00e7\u00f5es","publica\u00e7\u00f5es nacionais"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pedrobertoleti.com.br\/index.php\/2020\/02\/09\/projetos-no-arduino-com-freertos-semaforo\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pedrobertoleti.com.br\/index.php\/2020\/02\/09\/projetos-no-arduino-com-freertos-semaforo\/","url":"https:\/\/pedrobertoleti.com.br\/index.php\/2020\/02\/09\/projetos-no-arduino-com-freertos-semaforo\/","name":"Projetos no Arduino com FreeRTOS \u2013 sem\u00e1foro -","isPartOf":{"@id":"https:\/\/pedrobertoleti.com.br\/#website"},"primaryImageOfPage":{"@id":"https:\/\/pedrobertoleti.com.br\/index.php\/2020\/02\/09\/projetos-no-arduino-com-freertos-semaforo\/#primaryimage"},"image":{"@id":"https:\/\/pedrobertoleti.com.br\/index.php\/2020\/02\/09\/projetos-no-arduino-com-freertos-semaforo\/#primaryimage"},"thumbnailUrl":"https:\/\/pedrobertoleti.com.br\/wp-content\/uploads\/2020\/02\/arduino_freertos_semaforos.png","datePublished":"2020-02-09T16:31:06+00:00","dateModified":"2020-02-09T16:31:08+00:00","author":{"@id":"https:\/\/pedrobertoleti.com.br\/#\/schema\/person\/fe1c150103c09ca0a2b9bb200bef33de"},"breadcrumb":{"@id":"https:\/\/pedrobertoleti.com.br\/index.php\/2020\/02\/09\/projetos-no-arduino-com-freertos-semaforo\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pedrobertoleti.com.br\/index.php\/2020\/02\/09\/projetos-no-arduino-com-freertos-semaforo\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/pedrobertoleti.com.br\/index.php\/2020\/02\/09\/projetos-no-arduino-com-freertos-semaforo\/#primaryimage","url":"https:\/\/pedrobertoleti.com.br\/wp-content\/uploads\/2020\/02\/arduino_freertos_semaforos.png","contentUrl":"https:\/\/pedrobertoleti.com.br\/wp-content\/uploads\/2020\/02\/arduino_freertos_semaforos.png","width":777,"height":382},{"@type":"BreadcrumbList","@id":"https:\/\/pedrobertoleti.com.br\/index.php\/2020\/02\/09\/projetos-no-arduino-com-freertos-semaforo\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/pedrobertoleti.com.br\/"},{"@type":"ListItem","position":2,"name":"Projetos no Arduino com FreeRTOS \u2013 sem\u00e1foro"}]},{"@type":"WebSite","@id":"https:\/\/pedrobertoleti.com.br\/#website","url":"https:\/\/pedrobertoleti.com.br\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pedrobertoleti.com.br\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Person","@id":"https:\/\/pedrobertoleti.com.br\/#\/schema\/person\/fe1c150103c09ca0a2b9bb200bef33de","name":"Pedro Bertoleti","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/secure.gravatar.com\/avatar\/76ea2e908fec70b0d55b4eefd5ab24788f573fbe00bcb7b7d6e37da8f1e18dd3?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/76ea2e908fec70b0d55b4eefd5ab24788f573fbe00bcb7b7d6e37da8f1e18dd3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/76ea2e908fec70b0d55b4eefd5ab24788f573fbe00bcb7b7d6e37da8f1e18dd3?s=96&d=mm&r=g","caption":"Pedro Bertoleti"},"description":"Informa\u00e7\u00f5es completas em: http:\/\/pedrobertoleti.com.br\/index.php\/sobre\/","sameAs":["http:\/\/www.pedrobertoleti.com.br"]}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/pedrobertoleti.com.br\/wp-content\/uploads\/2020\/02\/arduino_freertos_semaforos.png","_links":{"self":[{"href":"https:\/\/pedrobertoleti.com.br\/index.php\/wp-json\/wp\/v2\/posts\/1272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pedrobertoleti.com.br\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pedrobertoleti.com.br\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pedrobertoleti.com.br\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pedrobertoleti.com.br\/index.php\/wp-json\/wp\/v2\/comments?post=1272"}],"version-history":[{"count":1,"href":"https:\/\/pedrobertoleti.com.br\/index.php\/wp-json\/wp\/v2\/posts\/1272\/revisions"}],"predecessor-version":[{"id":1274,"href":"https:\/\/pedrobertoleti.com.br\/index.php\/wp-json\/wp\/v2\/posts\/1272\/revisions\/1274"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pedrobertoleti.com.br\/index.php\/wp-json\/wp\/v2\/media\/1273"}],"wp:attachment":[{"href":"https:\/\/pedrobertoleti.com.br\/index.php\/wp-json\/wp\/v2\/media?parent=1272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pedrobertoleti.com.br\/index.php\/wp-json\/wp\/v2\/categories?post=1272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pedrobertoleti.com.br\/index.php\/wp-json\/wp\/v2\/tags?post=1272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}