<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6048397612350913035</id><updated>2026-09-27T16:49:11.037-03:00</updated><category term="Arduino"/><category term="Projetos"/><category term="C/C++"/><category term="Minotauro"/><category term="Android"/><category term="Campeonatos"/><category term="Joystick Bluetooth"/><category term="HomeControl"/><category term="Circuitos"/><category term="Tutoriais"/><category term="Utilitários"/><category term="Sensores"/><category term="Sketchup"/><title type='text'>Mbsborges</title><subtitle type='html'>Desenvolvendo tecnologia para facilitar a sua vida!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.mbsborges.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>35</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-4360272566204413523</id><published>2021-02-15T13:54:00.035-03:00</published><updated>2021-11-01T18:34:36.798-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C/C++"/><category scheme="http://www.blogger.com/atom/ns#" term="Projetos"/><title type='text'>Descobrindo a Palavra Misteriosa do Roda a Roda Jequiti</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;
 style=&quot;background: white;
 line-height: normal;
 margin-bottom: .0001pt;
 margin-bottom: 0cm;&quot;&gt;
 
&lt;div class=&quot;separator&quot;
 style=&quot;clear: both;
 text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoU11q5naMmNKfqIFr5RcG5osRDmuppyZJtHCe0zqIVsfJthIcf_Uj4urK-B9sQx3trh8Hb5_-lvtTxODLU6BCGh40ISE7GWPtjViO4O6iuT1RaHLAzGeHMFRJ4QG79mlbNmI_h8mZ9eu1/s1600/codesC%252B%252B.png&quot;
 imageanchor=&quot;1&quot;
 style=&quot;margin-left: 1em;
 margin-right: 1em;&quot;&gt;
 &lt;img border=&quot;0&quot;
 data-original-height=&quot;904&quot; 
 data-original-width=&quot;1600&quot; 
 height=&quot;362&quot; 
 src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoU11q5naMmNKfqIFr5RcG5osRDmuppyZJtHCe0zqIVsfJthIcf_Uj4urK-B9sQx3trh8Hb5_-lvtTxODLU6BCGh40ISE7GWPtjViO4O6iuT1RaHLAzGeHMFRJ4QG79mlbNmI_h8mZ9eu1/s600/codesC%252B%252B.png&quot;
 width=&quot;640&quot; /&gt;
&lt;/a&gt;
&lt;/div&gt;
&lt;br /&gt;

&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 12pt; line-height: 107%;&quot;&gt;
&lt;a href=&quot;https://www.sbt.com.br/auditorio/roda-a-roda#fique-por-dentro&quot; target=&quot;_blank&quot;&gt;Palavra Misteriosa&lt;/a&gt; é um quadro apresentado no SBT pelo apresentador Silvio Santos, no qual o(s) participante(s) tenta(m) descobrir a(s) palavra(s) proposta(s) com base em dicas ou apenas pela quantidade de letras que a palavra é composta.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 12pt; line-height: 107%;&quot;&gt;Para
descobrir as possíveis palavras que podem ser a &quot;Palavra Misteriosa&quot;, desenvolvemos um programa utilizando
a linguagem C/C++ no qual podemos inserir as letras já conhecidas e obter as
possíveis palavras da língua portuguesa que são compostas por elas. O programa
também pode ser usado para ajudar na resolução de palavras cruzadas.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;


&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7YLG0dgGzsVyBtedf3aeSZXJVDCqnV-G45P0jnrbkjUmBWVlJQW3o7QiCF52WxgPeeD3-IJRUq1JV0LfYgRw30czvAlOkEEuRTO179OCb9-Ahj4CsvIoPTGuuU_cYp-7Js-fX_9lrAb9I/s979/programa+palavra+misteriosa.jpg&quot; style=&quot;display: block; padding: 1em 0px; text-align: center;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; data-original-height=&quot;636&quot; data-original-width=&quot;979&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7YLG0dgGzsVyBtedf3aeSZXJVDCqnV-G45P0jnrbkjUmBWVlJQW3o7QiCF52WxgPeeD3-IJRUq1JV0LfYgRw30czvAlOkEEuRTO179OCb9-Ahj4CsvIoPTGuuU_cYp-7Js-fX_9lrAb9I/s600/programa+palavra+misteriosa.jpg&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 12pt; line-height: 107%;&quot;&gt;Requisitos:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 12pt; line-height: 107%;&quot;&gt;- Conhecer ao
menos uma das letras que formam a palavra&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 12pt; line-height: 107%;&quot;&gt;- Computador
com sistema operacional Windows®&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 12pt; line-height: 107%;&quot;&gt;Ao baixar e
abrir o arquivo .zip que contém o programa, encontramos nele dois arquivos: &lt;i&gt;Palavra_Misteriosa.exe&lt;/i&gt;
(programa usado para fazer a busca das palavras com base nas letras inseridas) e
&lt;i&gt;wordlistPT-BR.txt (&lt;/i&gt;arquivo de texto com a lista de palavras da língua
portuguesa&lt;i&gt;)&lt;/i&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 12pt; line-height: 107%;&quot;&gt;&lt;a href=&quot;https://1drv.ms/u/s!AoBvF2wNc5Z6gZI_w0eeQdVZ83EZuA?e=OLO4dt&quot; target=&quot;_blank&quot;&gt;Download&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/4360272566204413523/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/4360272566204413523?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/4360272566204413523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/4360272566204413523'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2021/02/palavra-misteriosa-roda-a-roda-jequiti.html' title='Descobrindo a Palavra Misteriosa do Roda a Roda Jequiti'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoU11q5naMmNKfqIFr5RcG5osRDmuppyZJtHCe0zqIVsfJthIcf_Uj4urK-B9sQx3trh8Hb5_-lvtTxODLU6BCGh40ISE7GWPtjViO4O6iuT1RaHLAzGeHMFRJ4QG79mlbNmI_h8mZ9eu1/s72-c/codesC%252B%252B.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-3537903250601594375</id><published>2019-04-18T12:38:00.005-03:00</published><updated>2020-11-26T09:21:07.490-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Projetos"/><title type='text'>Lista de comandos - ProjectZero</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG3bc0uj5FXn4VPHUrKTwEqbLB18sxlu5_OWZxSwzGPt67T9ru1YVsmy7z0UiGwDfwS9KUL8XD-DGRHR-2_F8gx6FG6JtLLIo4SdSKztsk0ZNaoVLqa5IpqnL2GeFAWDdUIAcmc2p9KVLD/s1600/Gr%25C3%25A1fico+de+recursos+%255BProjectZero%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;500&quot; data-original-width=&quot;1024&quot; height=&quot;312&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG3bc0uj5FXn4VPHUrKTwEqbLB18sxlu5_OWZxSwzGPt67T9ru1YVsmy7z0UiGwDfwS9KUL8XD-DGRHR-2_F8gx6FG6JtLLIo4SdSKztsk0ZNaoVLqa5IpqnL2GeFAWDdUIAcmc2p9KVLD/s640/Gr%25C3%25A1fico+de+recursos+%255BProjectZero%255D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;times new roman&amp;quot; , &amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;times new roman&amp;quot; , &amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;times new roman&amp;quot; , &amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;times new roman&amp;quot; , &amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;times new roman&amp;quot; , &amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; line-height: 107%;&quot;&gt;Controle sua residência com comodidade a partir da palma de sua mão utilizando o &lt;a href=&quot;https://play.google.com/store/apps/details?id=com.mbsborges.projectzero&quot; target=&quot;_blank&quot;&gt;ProjectZero&lt;/a&gt;, disponibilizados a lista de comandos abaixo para possibilitar o desenvolvimento de&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;código fonte para diversas plataformas de hardware.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;times new roman&amp;quot; , &amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
*************************************************************&lt;br /&gt;
APP FORMATO COMANDOS:&lt;br /&gt;
*************************************************************&lt;br /&gt;
&lt;br /&gt;
Exemplo para acionar lâmpada 1:&lt;br /&gt;
&lt;br /&gt;
IP: http://10.0.0.2&lt;br /&gt;
GET: /msg?q=&lt;br /&gt;
COMANDO:L1=1&lt;br /&gt;
IP+GET+COMANDO&lt;br /&gt;
http://10.0.0.2/msg?q=L1=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*************************************************************&lt;br /&gt;
APP COMANDOS LÂMPADAS:&lt;br /&gt;
*************************************************************&lt;br /&gt;
&lt;br /&gt;
L1=1 | Ligar lâmpada 1&lt;br /&gt;
L1=0 | Desligar lâmpada 1&lt;br /&gt;
L2=1 | Ligar lâmpada 2&lt;br /&gt;
L2=0 | Desligar lâmpada 2&lt;br /&gt;
L3=1 | Ligar lâmpada 3&lt;br /&gt;
L3=0 | Desligar lâmpada 3&lt;br /&gt;
L4=1 | Ligar lâmpada 4&lt;br /&gt;
L4=0 | Desligar lâmpada 4&lt;br /&gt;
L5=1 | Ligar lâmpada 5&lt;br /&gt;
L5=0 | Desligar lâmpada 5&lt;br /&gt;
L6=1 | Ligar lâmpada 6&lt;br /&gt;
L6=0 | Desligar lâmpada 6&lt;br /&gt;
L7=1 | Ligar lâmpada 7&lt;br /&gt;
L7=0 | Desligar lâmpada 7&lt;br /&gt;
L8=1 | Ligar lâmpada 8&lt;br /&gt;
L8=0 | Desligar lâmpada 8&lt;br /&gt;
L1=1L2=1L3=1L4=1L5=1L6=1L7=1L8=1 | Ligar todas as lâmpadas&lt;br /&gt;
L1=0L2=0L3=0L4=0L5=0L6=0L7=0L8=0 | Desligar todas as lâmpadas&lt;br /&gt;
&lt;br /&gt;
*************************************************************&lt;br /&gt;
APP COMANDOS TOMADAS:&lt;br /&gt;
*************************************************************&lt;br /&gt;
&lt;br /&gt;
T1=1 | Ligar lâmpada 1&lt;br /&gt;
T1=0 | Desligar lâmpada 1&lt;br /&gt;
T2=1 | Ligar lâmpada 2&lt;br /&gt;
T2=0 | Desligar lâmpada 2&lt;br /&gt;
T3=1 | Ligar lâmpada 3&lt;br /&gt;
T3=0 | Desligar lâmpada 3&lt;br /&gt;
T4=1 | Ligar lâmpada 4&lt;br /&gt;
T4=0 | Desligar lâmpada 4&lt;br /&gt;
T5=1 | Ligar lâmpada 5&lt;br /&gt;
T5=0 | Desligar lâmpada 5&lt;br /&gt;
T6=1 | Ligar lâmpada 6&lt;br /&gt;
T6=0 | Desligar lâmpada 6&lt;br /&gt;
T7=1 | Ligar lâmpada 7&lt;br /&gt;
T7=0 | Desligar lâmpada 7&lt;br /&gt;
T8=1 | Ligar lâmpada 8&lt;br /&gt;
T8=0 | Desligar lâmpada 8&lt;br /&gt;
T1=1T2=1T3=1T4=1T5=1T6=1T7=1T8=1 | Ligar todas as tomadas&lt;br /&gt;
T1=0T2=0T3=0T4=0T5=0T6=0T7=0T8=0 | Desligar todas as tomadas&lt;br /&gt;
&lt;br /&gt;
*************************************************************&lt;br /&gt;
APP COMANDOS CONTROLE:&lt;br /&gt;
*************************************************************&lt;br /&gt;
&lt;br /&gt;
status | Status das lâmpada e tomadas&lt;br /&gt;
mbsborges | Buscar módulo&lt;br /&gt;
&lt;br /&gt;
*************************************************************&lt;br /&gt;
RESPOSTAS ESPERADAS PELO APP:&lt;br /&gt;
*************************************************************&lt;br /&gt;
&lt;br /&gt;
mbsborges | mbsborgesIsHere&lt;br /&gt;
status | (Status das lâmpada e tomadas)&lt;br /&gt;
&lt;br /&gt;
----------------------&lt;br /&gt;
Status das lâmpadas:&lt;br /&gt;
----------------------&lt;br /&gt;
- Lâmpada acesa: AC+(Número da lâmpada)&lt;br /&gt;
- Lâmpada apagada: AP+(Número da lâmpada)&lt;br /&gt;
- Exemplo 01: todas as lâmpadas acesas&lt;br /&gt;
- status=AC1AC2AC3AC4AC5AC6AC7AC8&lt;br /&gt;
- Exemplo 02: todas as lâmpadas apagadas&lt;br /&gt;
- status=AP1AP2AP3AP4AP5AP6AP7AP8&lt;br /&gt;
- Exemplo 03: somente lâmpada 1 acesa&lt;br /&gt;
- status=AC1AP2AP3AP4AP5AP6AP7AP8 &lt;br /&gt;
&lt;br /&gt;
----------------------&lt;br /&gt;
Status das tomadas:&lt;br /&gt;
----------------------&lt;br /&gt;
- Lâmpada acesa: PL+(Número da tomada)&lt;br /&gt;
- Lâmpada apagada: UP+(Número da tomada)&lt;br /&gt;
- Exemplo 01: todas as tomadas ligadas&lt;br /&gt;
- status=PL1PL2PL3PL4PL5PL6PL7PL8&lt;br /&gt;
- Exemplo 02: todas as tomadas desligadas&lt;br /&gt;
- status=UP1UP2UP3UP4UP5UP6UP7UP8&lt;br /&gt;
- Exemplo 03: somente tomada 1 ligada&lt;br /&gt;
- status=PL1UP2UP3UP4UP5UP6UP7UP8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/3537903250601594375/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/3537903250601594375?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/3537903250601594375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/3537903250601594375'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2019/04/lista-de-comandos-projectzero.html' title='Lista de comandos - ProjectZero'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG3bc0uj5FXn4VPHUrKTwEqbLB18sxlu5_OWZxSwzGPt67T9ru1YVsmy7z0UiGwDfwS9KUL8XD-DGRHR-2_F8gx6FG6JtLLIo4SdSKztsk0ZNaoVLqa5IpqnL2GeFAWDdUIAcmc2p9KVLD/s72-c/Gr%25C3%25A1fico+de+recursos+%255BProjectZero%255D.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-6732768857746598288</id><published>2015-05-12T16:38:00.001-03:00</published><updated>2020-02-20T11:09:50.121-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="Joystick Bluetooth"/><title type='text'>Tabela de comandos do Joystick Bluetooth</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgypgqF1913fm0q4C__i5mYjDaskwii2Fwm2-jrL3Z1GI_cNdLv0RkNe7HixN8YE63YwXxBgMVHsniw-EVD-IU86F9pTpdsx756-fDNzYitNm2HNAcWbaIWQlqE_UNbbjHkWOK87FXxgcJX/s1600/Screenshot_2015-05-16-11-33-49.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;360&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgypgqF1913fm0q4C__i5mYjDaskwii2Fwm2-jrL3Z1GI_cNdLv0RkNe7HixN8YE63YwXxBgMVHsniw-EVD-IU86F9pTpdsx756-fDNzYitNm2HNAcWbaIWQlqE_UNbbjHkWOK87FXxgcJX/s640/Screenshot_2015-05-16-11-33-49.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTable15Grid4Accent5&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid #8EAADB .5pt; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: #4472C4; border-right: none; border: solid #4472C4 1.0pt; mso-background-themecolor: accent5; mso-border-bottom-alt: solid #4472C4 .5pt; mso-border-bottom-themecolor: accent5; mso-border-left-alt: solid #4472C4 .5pt; mso-border-left-themecolor: accent5; mso-border-themecolor: accent5; mso-border-top-alt: solid #4472C4 .5pt; mso-border-top-themecolor: accent5; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;141&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: white; font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;Botão&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #4472C4; border-bottom: solid #4472C4 1.0pt; border-left: none; border-right: none; border-top: solid #4472C4 1.0pt; mso-background-themecolor: accent5; mso-border-bottom-alt: solid #4472C4 .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themecolor: accent5; mso-border-top-alt: solid #4472C4 .5pt; mso-border-top-themecolor: accent5; mso-border-top-themecolor: accent5; padding: 0cm 5.4pt 0cm 5.4pt; width: 148.8pt;&quot; valign=&quot;top&quot; width=&quot;198&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: white; font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;Mensagem&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #4472C4; border-left: none; border: solid #4472C4 1.0pt; mso-background-themecolor: accent5; mso-border-bottom-alt: solid #4472C4 .5pt; mso-border-bottom-themecolor: accent5; mso-border-right-alt: solid #4472C4 .5pt; mso-border-right-themecolor: accent5; mso-border-themecolor: accent5; mso-border-top-alt: solid #4472C4 .5pt; mso-border-top-themecolor: accent5; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: white; font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;Caractere final&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: #D9E2F3; border-top: none; border: solid #8EAADB 1.0pt; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-themecolor: accent5; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;141&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;Ativar Bluetooth&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #D9E2F3; border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 148.8pt;&quot; valign=&quot;top&quot; width=&quot;198&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;*Ação 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #D9E2F3; border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #8EAADB 1.0pt; mso-border-alt: solid #8EAADB .5pt; mso-border-themecolor: accent5; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;141&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;Conectar&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 148.8pt;&quot; valign=&quot;top&quot; width=&quot;198&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;*Ação 2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: #D9E2F3; border-top: none; border: solid #8EAADB 1.0pt; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-themecolor: accent5; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;141&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;Desconectar&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #D9E2F3; border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 148.8pt;&quot; valign=&quot;top&quot; width=&quot;198&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;*Ação 3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #D9E2F3; border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #8EAADB 1.0pt; mso-border-alt: solid #8EAADB .5pt; mso-border-themecolor: accent5; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;141&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEix9fOeHjMVO0GE_RwYWWmm3mMT-POGMCxzRyNR1A4wVv_XRBcV4un3QwCJr2dTKAw_sEsbwRvgao9ciRoxlHzSt132VwfpytV2RemdR7Sr_gAKirCf1QU-Eobp2hXvXvVw02YL2z00qtLK/s1600/Up-ON.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEix9fOeHjMVO0GE_RwYWWmm3mMT-POGMCxzRyNR1A4wVv_XRBcV4un3QwCJr2dTKAw_sEsbwRvgao9ciRoxlHzSt132VwfpytV2RemdR7Sr_gAKirCf1QU-Eobp2hXvXvVw02YL2z00qtLK/s1600/Up-ON.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 148.8pt;&quot; valign=&quot;top&quot; width=&quot;198&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;up&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;\n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: #D9E2F3; border-top: none; border: solid #8EAADB 1.0pt; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-themecolor: accent5; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;141&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGDYxp7O6t2RMvvley5QwuVDa9yuFl6cvoDg7KMAqrecMyXojNwWAAsR6rlhhDPXS-1jHG01HJ5G4cfgh58Mu7LlJe0VaXnLau5l2jfb6m1Opqoaj1kZyTdaZO69ggu9FS2ZBDeWXe5vmA/s1600/Down-ON.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGDYxp7O6t2RMvvley5QwuVDa9yuFl6cvoDg7KMAqrecMyXojNwWAAsR6rlhhDPXS-1jHG01HJ5G4cfgh58Mu7LlJe0VaXnLau5l2jfb6m1Opqoaj1kZyTdaZO69ggu9FS2ZBDeWXe5vmA/s1600/Down-ON.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #D9E2F3; border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 148.8pt;&quot; valign=&quot;top&quot; width=&quot;198&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;down&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #D9E2F3; border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;\n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #8EAADB 1.0pt; mso-border-alt: solid #8EAADB .5pt; mso-border-themecolor: accent5; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;141&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXiEV9lbz2zPi4ZdOStfSRkXlSjaKpIxOkhskp_XU6_CeTuMv3oPr5MKEXdvnhqNKXyFY6n4a-eWyPV_fO2VGXWSoy_X90GpuMD38_16emWx2oynffLRRhj_H4KQFb-QtmDeJhNgkOeNs0/s1600/Left-ON.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXiEV9lbz2zPi4ZdOStfSRkXlSjaKpIxOkhskp_XU6_CeTuMv3oPr5MKEXdvnhqNKXyFY6n4a-eWyPV_fO2VGXWSoy_X90GpuMD38_16emWx2oynffLRRhj_H4KQFb-QtmDeJhNgkOeNs0/s1600/Left-ON.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 148.8pt;&quot; valign=&quot;top&quot; width=&quot;198&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;left&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;\n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: #D9E2F3; border-top: none; border: solid #8EAADB 1.0pt; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-themecolor: accent5; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;141&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1JdN_YDjOIc4R3ItKtxJpBYcORJkaU_zuWmYHiI_mf728AVcb4321MtA5SmJa38rUK2wmZ1MiwpgoK1dzJGXCvTf85SBzCw03xFjSBcWd5PDQtlXP5OcBQ_ruTqBwYaNjlEMP_AhQJWhA/s1600/Right-ON.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1JdN_YDjOIc4R3ItKtxJpBYcORJkaU_zuWmYHiI_mf728AVcb4321MtA5SmJa38rUK2wmZ1MiwpgoK1dzJGXCvTf85SBzCw03xFjSBcWd5PDQtlXP5OcBQ_ruTqBwYaNjlEMP_AhQJWhA/s1600/Right-ON.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #D9E2F3; border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 148.8pt;&quot; valign=&quot;top&quot; width=&quot;198&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;right&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #D9E2F3; border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;\n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #8EAADB 1.0pt; mso-border-alt: solid #8EAADB .5pt; mso-border-themecolor: accent5; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;141&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7zre-ozArV_Hfc05MW5MnBKwmrKBBMYSPL83XPYWl9AvauUkWF25pRzZc2NoBi7RbmjHBEgdQDLABAWn9YttwADl3ghbaUA_YLs7UBuWS3VSRD6iuGSjowwti_uFYSe50vYOuRnVQLbax/s1600/Stop-ON.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7zre-ozArV_Hfc05MW5MnBKwmrKBBMYSPL83XPYWl9AvauUkWF25pRzZc2NoBi7RbmjHBEgdQDLABAWn9YttwADl3ghbaUA_YLs7UBuWS3VSRD6iuGSjowwti_uFYSe50vYOuRnVQLbax/s1600/Stop-ON.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 148.8pt;&quot; valign=&quot;top&quot; width=&quot;198&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;stop&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;\n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: #D9E2F3; border-top: none; border: solid #8EAADB 1.0pt; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-themecolor: accent5; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;141&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;Cmd. 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #D9E2F3; border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 148.8pt;&quot; valign=&quot;top&quot; width=&quot;198&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;cmd1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #D9E2F3; border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;\n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #8EAADB 1.0pt; mso-border-alt: solid #8EAADB .5pt; mso-border-themecolor: accent5; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;141&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;Cmd. 2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 148.8pt;&quot; valign=&quot;top&quot; width=&quot;198&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;cmd2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;\n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: #D9E2F3; border-top: none; border: solid #8EAADB 1.0pt; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-themecolor: accent5; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;141&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;Cmd. 3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #D9E2F3; border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 148.8pt;&quot; valign=&quot;top&quot; width=&quot;198&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;cmd3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #D9E2F3; border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;\n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #8EAADB 1.0pt; mso-border-alt: solid #8EAADB .5pt; mso-border-themecolor: accent5; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;141&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;Cmd. 4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 148.8pt;&quot; valign=&quot;top&quot; width=&quot;198&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;cmd4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;\n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: #D9E2F3; border-top: none; border: solid #8EAADB 1.0pt; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-themecolor: accent5; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;141&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;Cmd. 5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #D9E2F3; border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 148.8pt;&quot; valign=&quot;top&quot; width=&quot;198&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;cmd5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #D9E2F3; border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;\n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #8EAADB 1.0pt; mso-border-alt: solid #8EAADB .5pt; mso-border-themecolor: accent5; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;141&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;Cmd. 6&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 148.8pt;&quot; valign=&quot;top&quot; width=&quot;198&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;cmd6&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;\n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: #D9E2F3; border-top: none; border: solid #8EAADB 1.0pt; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-themecolor: accent5; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;141&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;Slider&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #D9E2F3; border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 148.8pt;&quot; valign=&quot;top&quot; width=&quot;198&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;slider=&lt;b&gt;*range&lt;/b&gt;=slider&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #D9E2F3; border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;\n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #8EAADB 1.0pt; mso-border-alt: solid #8EAADB .5pt; mso-border-themecolor: accent5; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;141&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUcyEISc6d2PU2yom7YRksa-wlRbIBnjkvkxCg19irjxhscbHhuZjQ3Fz7LYyqf3DXN_FGxnf1UtVaRqLkMFk4r5jsjBJ4rG4uMgbNAUO5jsUwLzDHnSu-oSUQvOGSgo9sn8mdjsOWWiA6/s1600/Bateria-100.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUcyEISc6d2PU2yom7YRksa-wlRbIBnjkvkxCg19irjxhscbHhuZjQ3Fz7LYyqf3DXN_FGxnf1UtVaRqLkMFk4r5jsjBJ4rG4uMgbNAUO5jsUwLzDHnSu-oSUQvOGSgo9sn8mdjsOWWiA6/s1600/Bateria-100.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 148.8pt;&quot; valign=&quot;top&quot; width=&quot;198&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;Exibe a carga da bateria&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: #D9E2F3; border-top: none; border: solid #8EAADB 1.0pt; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-themecolor: accent5; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;141&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4J5tKpq0zc-xBjXF1Tiq0Pe68R8qg4ZqLejSwWqqZ9lDxk9B2wM_V-5neXV4tNS903t-KOOKwi91xLJb_D1_7IRh5Alru924aOf13TQMxKich-nEXGOYvTY5agew1VAZgnmfMSlfr78K4/s1600/Teclado-ON.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4J5tKpq0zc-xBjXF1Tiq0Pe68R8qg4ZqLejSwWqqZ9lDxk9B2wM_V-5neXV4tNS903t-KOOKwi91xLJb_D1_7IRh5Alru924aOf13TQMxKich-nEXGOYvTY5agew1VAZgnmfMSlfr78K4/s1600/Teclado-ON.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #D9E2F3; border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 148.8pt;&quot; valign=&quot;top&quot; width=&quot;198&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;Envia o texto inserido&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #D9E2F3; border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-background-themecolor: accent5; mso-background-themetint: 51; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;\n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #8EAADB 1.0pt; mso-border-alt: solid #8EAADB .5pt; mso-border-themecolor: accent5; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;141&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZysTOirDGeDRGT6Vnh2o0EBKk0rtPQczxJVGJqQcxj2vRuLymscp944I0dPCo_QKiiy2TzmUYxwvniZxbCvV1c3briGcvW_q3BJMqiT2ZayXm-ZPnjEUgmFDbDzmzpoL6sPs-ib-_yx6E/s1600/Bluetooth-ON.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZysTOirDGeDRGT6Vnh2o0EBKk0rtPQczxJVGJqQcxj2vRuLymscp944I0dPCo_QKiiy2TzmUYxwvniZxbCvV1c3briGcvW_q3BJMqiT2ZayXm-ZPnjEUgmFDbDzmzpoL6sPs-ib-_yx6E/s1600/Bluetooth-ON.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 148.8pt;&quot; valign=&quot;top&quot; width=&quot;198&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;*Ação 4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #8EAADB 1.0pt; border-left: none; border-right: solid #8EAADB 1.0pt; border-top: none; mso-border-alt: solid #8EAADB .5pt; mso-border-bottom-themecolor: accent5; mso-border-bottom-themetint: 153; mso-border-left-alt: solid #8EAADB .5pt; mso-border-left-themecolor: accent5; mso-border-left-themetint: 153; mso-border-right-themecolor: accent5; mso-border-right-themetint: 153; mso-border-themecolor: accent5; mso-border-themetint: 153; mso-border-top-alt: solid #8EAADB .5pt; mso-border-top-themecolor: accent5; mso-border-top-themetint: 153; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l1 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;symbol&amp;quot;; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt; line-height: 107%;&quot;&gt;*Ação 1:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt; line-height: 107%;&quot;&gt; solicita
permissão para ativar o bluetooth&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l1 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;symbol&amp;quot;; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt; line-height: 107%;&quot;&gt;*Ação 2:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt; line-height: 107%;&quot;&gt; abre
lista de dispositivos pareados para selecionar e efetuar a conexão&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l1 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;symbol&amp;quot;; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt; line-height: 107%;&quot;&gt;*Ação 3:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt; line-height: 107%;&quot;&gt; desconecta
do dispositivo conectado&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l1 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;symbol&amp;quot;; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt; line-height: 107%;&quot;&gt;*range&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt; line-height: 107%;&quot;&gt;:
valor inteiro: 0 - 99 (slider esquerda) e 100 - 199 (slider direita)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 2.0cm; mso-add-space: auto; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt; line-height: 107%;&quot;&gt;- Quando o joystick está
conectado, a cada 2 s (dois segundos), é enviada a string &lt;b&gt;level\n&lt;/b&gt;,&lt;b&gt; &lt;/b&gt;para atualizar
o nível da bateria no aplicativo, ao receber a string &lt;b&gt;level\n&lt;/b&gt;, deve ser enviada uma resposta no formato:&amp;nbsp;&lt;b&gt;_bat=*range=bat &lt;/b&gt;(0 - 100)&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo2; text-align: justify; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;symbol&amp;quot;; font-size: 12.0pt; line-height: 107%;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt; line-height: 107%;&quot;&gt;*Ação 4: &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt; line-height: 107%;&quot;&gt;Após o
clique é efetuada uma das seguintes ações&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt; line-height: 107%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNoSpacing&quot; style=&quot;margin-left: 2.0cm; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;- &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;Bluetooth
ativo e não conectado: conecta ao último dispositivo conectado&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNoSpacing&quot; style=&quot;margin-left: 2.0cm; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;- &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;Bluetooth
ativo e conectado: desconecta dispositivo conectado&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNoSpacing&quot; style=&quot;margin-left: 2.0cm; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;-&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12.0pt;&quot;&gt;
Bluetooth não ativo: solicita permissão para ativar o bluetooth&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/6732768857746598288/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/6732768857746598288?isPopup=true' title='7 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/6732768857746598288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/6732768857746598288'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2015/05/tabela-de-comandos-do-joystick-bluetooth.html' title='Tabela de comandos do Joystick Bluetooth'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgypgqF1913fm0q4C__i5mYjDaskwii2Fwm2-jrL3Z1GI_cNdLv0RkNe7HixN8YE63YwXxBgMVHsniw-EVD-IU86F9pTpdsx756-fDNzYitNm2HNAcWbaIWQlqE_UNbbjHkWOK87FXxgcJX/s72-c/Screenshot_2015-05-16-11-33-49.png" height="72" width="72"/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-964916468889883030</id><published>2015-05-12T15:26:00.000-03:00</published><updated>2020-02-20T19:34:08.470-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="C/C++"/><category scheme="http://www.blogger.com/atom/ns#" term="Joystick Bluetooth"/><title type='text'>Código de exemplo para o Joystick Bluetooth 2.1</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , &amp;quot;serif&amp;quot;; font-size: 12.0pt; line-height: 150%;&quot;&gt;Código
fonte de exemplo para utilizar o Joystick Bluetooth com o módulo bluetooth
HC-05 e com o Arduino&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;


&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDsrREnuNau4lqhgVUbgoDRnvUOg_vQUJMthMPr6J_BTvHSkST7ou1ZFHkXb9dGGY3jKOAdQcoHfePPA4h_mejpHxzY7PHW1A2ifcDfMdM9MAukqWNcGyfs_CjZtI8kQwnJXB_61P0g20Z/s1600/Screenshot_2015-05-16-11-33-49.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;360&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDsrREnuNau4lqhgVUbgoDRnvUOg_vQUJMthMPr6J_BTvHSkST7ou1ZFHkXb9dGGY3jKOAdQcoHfePPA4h_mejpHxzY7PHW1A2ifcDfMdM9MAukqWNcGyfs_CjZtI8kQwnJXB_61P0g20Z/s640/Screenshot_2015-05-16-11-33-49.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;



&lt;i&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;arial&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; line-height: 107%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;
&lt;i&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;arial&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; line-height: 107%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;



&lt;pre&gt;
&lt;font color=&quot;#95a5a6&quot;&gt;&amp;#47;* ***************************************************************************&lt;/font&gt;
&lt;font color=&quot;#95a5a6&quot;&gt; &amp;nbsp;Joystick Bluetooth - Código de exemplo para arduino&lt;/font&gt;
&lt;font color=&quot;#95a5a6&quot;&gt; &amp;nbsp;Autor: Marcelo Borges dos Santos&lt;/font&gt;
&lt;font color=&quot;#95a5a6&quot;&gt; &amp;nbsp;e-mail: mbsborges@gmail.com&lt;/font&gt;
&lt;font color=&quot;#95a5a6&quot;&gt; &amp;nbsp;blog: &lt;/font&gt;&lt;u&gt;&lt;font color=&quot;#95a5a6&quot;&gt;http:&amp;#47;&amp;#47;mbsborges.blogspot.com.br&lt;/font&gt;&lt;/u&gt;&lt;font color=&quot;#95a5a6&quot;&gt;&lt;/font&gt;
&lt;font color=&quot;#95a5a6&quot;&gt;&lt;/font&gt;
&lt;font color=&quot;#95a5a6&quot;&gt; &amp;nbsp;Ultima alteração: 12 de maio de 2015 às 15:08&lt;/font&gt;
&lt;font color=&quot;#95a5a6&quot;&gt;******************************************************************************&amp;#47;&lt;/font&gt;
&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Biblioteca&lt;/font&gt;
&lt;font color=&quot;#5e6d03&quot;&gt;#include&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;&amp;lt;&lt;/font&gt;&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;SoftwareSerial&lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;h&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Pinos para a virtual serial (RX, TX)&lt;/font&gt;
&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;SoftwareSerial&lt;/font&gt;&lt;/b&gt; &lt;font color=&quot;#000000&quot;&gt;Bluetooth&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;2&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;,&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;3&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Saída PWM&lt;/font&gt;
&lt;font color=&quot;#00979c&quot;&gt;int&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;dimmer&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;=&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;5&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Pino para leitura da tensão da bateria&lt;/font&gt;
&lt;font color=&quot;#00979c&quot;&gt;int&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;bateria&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;=&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;A0&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;String para armazenar a leitura dos dados&lt;/font&gt;
&lt;font color=&quot;#00979c&quot;&gt;String&lt;/font&gt; &lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;=&lt;/font&gt; &lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;variável para receber os caracteres vindos da serial&lt;/font&gt;
&lt;font color=&quot;#00979c&quot;&gt;byte&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;byteRead&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;

&lt;font color=&quot;#00979c&quot;&gt;void&lt;/font&gt; &lt;font color=&quot;#5e6d03&quot;&gt;setup&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;Bluetooth&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;begin&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;9600&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Serial&lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;begin&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;9600&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Pino de saída&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#d35400&quot;&gt;pinMode&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;dimmer&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;,&lt;/font&gt; &lt;font color=&quot;#00979c&quot;&gt;OUTPUT&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Mensagem de inicialização&lt;/font&gt;
 &amp;nbsp;&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Serial&lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;println&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;Mbsborges - Joystick Bluetooth&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Serial&lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;println&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;http:&amp;#47;&amp;#47;mbsborges.blogspot.com.br&amp;#47;&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;

&lt;font color=&quot;#00979c&quot;&gt;void&lt;/font&gt; &lt;font color=&quot;#5e6d03&quot;&gt;loop&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Verificando se tem algum byte disponível na serial&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#5e6d03&quot;&gt;while&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;Bluetooth&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;available&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;&amp;gt;&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;lendo byte disponível&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;byteRead&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;=&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;Bluetooth&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;read&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Verificando se é fim de linha&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#5e6d03&quot;&gt;if&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;byteRead&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;==&lt;/font&gt; &lt;font color=&quot;#00979c&quot;&gt;&amp;#39;\n&amp;#39;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Serial&lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;println&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;\nOk!&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Imprimindo a mensagem completa&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Serial&lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;println&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Tratamento dos dados para a execução dos comandos recebidos&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;tratamentoDados&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Limpando String de leitura&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;=&lt;/font&gt; &lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#5e6d03&quot;&gt;else&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Covertendo os bytes recebidos em caracteres e os concatenando&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;+=&lt;/font&gt; &lt;font color=&quot;#00979c&quot;&gt;char&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;byteRead&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Imprimindo caractere recebido&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Serial&lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;print&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#00979c&quot;&gt;char&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;byteRead&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;

&lt;font color=&quot;#00979c&quot;&gt;void&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;tratamentoDados&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#5e6d03&quot;&gt;if&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;indexOf&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;level&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;==&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;teste com numeros randômicos&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;int randNumber = random(0, 101);&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Coneversão da leitura da porta analógica A0 para valores dentro da escala de 0-100&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#00979c&quot;&gt;int&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;randNumber&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;=&lt;/font&gt; &lt;font color=&quot;#d35400&quot;&gt;map&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;analogRead&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;bateria&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;,&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;,&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;1023&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;,&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;,&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;100&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;exibição do valor a ser enviado para o aplicativo&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Serial&lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;println&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;randNumber&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Enviando o valor para o aplicativo&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Formato da mensagem: _bat=number=bat&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;number é um numero inteiro e varia de 0-100&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;Bluetooth&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;print&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;_bat=&amp;#34;&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;+&lt;/font&gt; &lt;font color=&quot;#00979c&quot;&gt;String&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;randNumber&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;+&lt;/font&gt; &lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;=bat&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#5e6d03&quot;&gt;if&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;indexOf&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;slider=&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;==&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Obter valor do slider&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;=&lt;/font&gt; &lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;substring&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;indexOf&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;slider=&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;+&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;7&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;,&lt;/font&gt; &lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;indexOf&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;=slider&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Imprimindo valor do slider&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Serial&lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;println&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Ajustando a intensidade do led de acordo com o valor lido do slider&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#d35400&quot;&gt;analogWrite&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;dimmer&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;,&lt;/font&gt; &lt;font color=&quot;#d35400&quot;&gt;map&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;toInt&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;,&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;,&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;100&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;,&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;,&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;255&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#5e6d03&quot;&gt;else&lt;/font&gt; &lt;font color=&quot;#5e6d03&quot;&gt;if&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;indexOf&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;up&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;==&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Serial&lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;println&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;UP&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#5e6d03&quot;&gt;else&lt;/font&gt; &lt;font color=&quot;#5e6d03&quot;&gt;if&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;indexOf&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;down&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;==&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Serial&lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;println&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;DOWN&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#5e6d03&quot;&gt;else&lt;/font&gt; &lt;font color=&quot;#5e6d03&quot;&gt;if&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;indexOf&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;left&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;==&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Serial&lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;println&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;LEFT&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#5e6d03&quot;&gt;else&lt;/font&gt; &lt;font color=&quot;#5e6d03&quot;&gt;if&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;indexOf&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;right&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;==&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Serial&lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;println&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;RIGHT&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#5e6d03&quot;&gt;else&lt;/font&gt; &lt;font color=&quot;#5e6d03&quot;&gt;if&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;indexOf&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;stop&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;==&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Serial&lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;println&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;STOP&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#5e6d03&quot;&gt;else&lt;/font&gt; &lt;font color=&quot;#5e6d03&quot;&gt;if&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;indexOf&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;cmd1&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;==&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Serial&lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;println&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;CMD1&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#5e6d03&quot;&gt;else&lt;/font&gt; &lt;font color=&quot;#5e6d03&quot;&gt;if&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;indexOf&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;cmd2&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;==&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Serial&lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;println&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;CMD2&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#5e6d03&quot;&gt;else&lt;/font&gt; &lt;font color=&quot;#5e6d03&quot;&gt;if&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;indexOf&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;cmd3&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;==&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Serial&lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;println&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;CMD3&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#5e6d03&quot;&gt;else&lt;/font&gt; &lt;font color=&quot;#5e6d03&quot;&gt;if&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;indexOf&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;cmd4&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;==&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Serial&lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;println&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;CMD4&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#5e6d03&quot;&gt;else&lt;/font&gt; &lt;font color=&quot;#5e6d03&quot;&gt;if&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;indexOf&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;cmd5&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;==&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Serial&lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;println&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;CMD5&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#5e6d03&quot;&gt;else&lt;/font&gt; &lt;font color=&quot;#5e6d03&quot;&gt;if&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;readString&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;indexOf&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;cmd6&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;==&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Serial&lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;println&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#005c5f&quot;&gt;&amp;#34;CMD6&amp;#34;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;

&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/964916468889883030/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/964916468889883030?isPopup=true' title='4 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/964916468889883030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/964916468889883030'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2015/05/codigo-de-exemplo-para-o-joystick.html' title='Código de exemplo para o Joystick Bluetooth 2.1'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDsrREnuNau4lqhgVUbgoDRnvUOg_vQUJMthMPr6J_BTvHSkST7ou1ZFHkXb9dGGY3jKOAdQcoHfePPA4h_mejpHxzY7PHW1A2ifcDfMdM9MAukqWNcGyfs_CjZtI8kQwnJXB_61P0g20Z/s72-c/Screenshot_2015-05-16-11-33-49.png" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-5289284028668616917</id><published>2014-12-20T13:54:00.000-03:00</published><updated>2020-11-26T09:21:18.160-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HomeControl"/><category scheme="http://www.blogger.com/atom/ns#" term="Projetos"/><title type='text'>HomeControl: Nova arquitetura de comunicação</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Para
tornar mais fácil a implantação a estrutura dos dispositivos foi remodelada
(Toda a comunicação é feita sem fio, exceto o controlador) e agora também
possui suporte a acesso fora da rede local...&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr9b9VC_aQndlM_QLLIM2MV8vsYFEGCcFWcohOEqCv1P3ABbb1aKwt8X1tQvE5YchdJBapvPf14Sly-bo_rB21APtPx4b1E2WhgNrPvyLmdRuLp7zwli8TXQpMG3OSm3uA7lfCAPZFZBV6/s1600/Arquitetura.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;372&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr9b9VC_aQndlM_QLLIM2MV8vsYFEGCcFWcohOEqCv1P3ABbb1aKwt8X1tQvE5YchdJBapvPf14Sly-bo_rB21APtPx4b1E2WhgNrPvyLmdRuLp7zwli8TXQpMG3OSm3uA7lfCAPZFZBV6/s1600/Arquitetura.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Arquitetura de comunicação&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/5289284028668616917/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/5289284028668616917?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/5289284028668616917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/5289284028668616917'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2014/12/homecontrol-nova-arquitetura-de-comunicacao.html' title='HomeControl: Nova arquitetura de comunicação'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr9b9VC_aQndlM_QLLIM2MV8vsYFEGCcFWcohOEqCv1P3ABbb1aKwt8X1tQvE5YchdJBapvPf14Sly-bo_rB21APtPx4b1E2WhgNrPvyLmdRuLp7zwli8TXQpMG3OSm3uA7lfCAPZFZBV6/s72-c/Arquitetura.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-5300165656476359785</id><published>2014-04-26T18:05:00.001-03:00</published><updated>2020-02-21T00:15:02.162-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="Projetos"/><title type='text'>Protótipo da arquitetura da rede [TCC Domótica]</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 16px;&quot;&gt;
O  arquitetura da rede é composta por um roteador, um ethernet shield, três arduinos uno, duas placas de relês, dois módulos NRF24L01 e pulsadores de um, dois e três botões. O controle dos dispositivos tanto pode ser efetuado pelo celular ou tablet com sistema operacional android quanto pelos pulsadores.
&lt;/span&gt;
&lt;/div&gt;
&lt;br /&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwmLejhkmnbWJ2fIt6sntzBEuiB4RdEy_xe3TqvwQR-62AFqcpwZrnFnP3Cpg8xW909K2D0STEbEr9uK15Ah2eK-MX1vVaBnE-YjWPT6H1iQLFlFRUjlwjAC3YZOy6ndimzu2xrRJoLvf6/s1600/Arquitetura+de+comunica%25C3%25A7%25C3%25A3o.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Protótipo da arquitetura da rede&quot; border=&quot;0&quot; data-original-height=&quot;1600&quot; data-original-width=&quot;1380&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwmLejhkmnbWJ2fIt6sntzBEuiB4RdEy_xe3TqvwQR-62AFqcpwZrnFnP3Cpg8xW909K2D0STEbEr9uK15Ah2eK-MX1vVaBnE-YjWPT6H1iQLFlFRUjlwjAC3YZOy6ndimzu2xrRJoLvf6/s400/Arquitetura+de+comunica%25C3%25A7%25C3%25A3o.png&quot; title=&quot;Protótipo da arquitetura da rede&quot; width=&quot;345&quot; /&gt;&lt;/a&gt;&lt;/div&gt;


</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/5300165656476359785/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/5300165656476359785?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/5300165656476359785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/5300165656476359785'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2014/04/prototipo-da-arquitetura-da-rede-tcc.html' title='Protótipo da arquitetura da rede [TCC Domótica]'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwmLejhkmnbWJ2fIt6sntzBEuiB4RdEy_xe3TqvwQR-62AFqcpwZrnFnP3Cpg8xW909K2D0STEbEr9uK15Ah2eK-MX1vVaBnE-YjWPT6H1iQLFlFRUjlwjAC3YZOy6ndimzu2xrRJoLvf6/s72-c/Arquitetura+de+comunica%25C3%25A7%25C3%25A3o.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-6374483814605422170</id><published>2014-03-24T00:21:00.001-03:00</published><updated>2020-02-20T11:28:10.040-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="HomeControl"/><title type='text'>Aplicativo Android para o TCC de Domótica v0.3</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/lExEmK5T51o&quot; frameborder=&quot;0&quot; allow=&quot;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , &amp;quot;serif&amp;quot;; font-size: 12.0pt; line-height: 107%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , &amp;quot;serif&amp;quot;; font-size: 12.0pt; line-height: 107%;&quot;&gt;Novas alterações:&lt;br /&gt;
- Ajuste de tela de login;&lt;br /&gt;
- Menu remodelado;&lt;br /&gt;
- Funcionalidade de cenas inseridas;&lt;br /&gt;
- Implementado o controle de iluminação e de tomadas;&lt;br /&gt;
- Atualização dos ícones da tela iluminação a cada 1s; e,&lt;br /&gt;
- Atualização dos ícones da tela tomada a cada 1s&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/6374483814605422170/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/6374483814605422170?isPopup=true' title='4 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/6374483814605422170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/6374483814605422170'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2014/03/aplicativo-android-para-o-tcc-de-domotica.html' title='Aplicativo Android para o TCC de Domótica v0.3'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/lExEmK5T51o/default.jpg" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-8624579270726730468</id><published>2014-03-16T19:18:00.001-03:00</published><updated>2020-02-20T19:43:31.870-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="C/C++"/><category scheme="http://www.blogger.com/atom/ns#" term="HomeControl"/><title type='text'>Aplicativo Android para o TCC de Domótica</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;times new roman&amp;quot;, serif; font-size: 16px; text-align: start;&quot;&gt;
Evolução do desenvolvimento do aplicativo &lt;a href=&quot;https://play.google.com/store/apps/details?id=appinventor.ai_mbsborges.HomeControl&quot;&gt;HomeControl&lt;/a&gt;....
&lt;/span&gt;
&lt;/div&gt;
&lt;br /&gt;

&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/51ukcgXRMi8&quot; frameborder=&quot;0&quot; allow=&quot;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;/div&gt;


</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/8624579270726730468/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/8624579270726730468?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/8624579270726730468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/8624579270726730468'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2014/03/aplicativo-android-para-o-tcc.html' title='Aplicativo Android para o TCC de Domótica'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/51ukcgXRMi8/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-1633594983224137069</id><published>2013-12-16T20:41:00.001-03:00</published><updated>2020-02-20T11:39:39.666-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="Joystick Bluetooth"/><category scheme="http://www.blogger.com/atom/ns#" term="Utilitários"/><title type='text'>Mbsborges - Joystick Bluetooh 2.0 [Teste 01] </title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; line-height: 150%; mso-bidi-font-size: 11.0pt;&quot;&gt;Teste
01: Medição do nível de bateria do dispositivo conectado&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; line-height: 150%; mso-bidi-font-size: 11.0pt;&quot;&gt;&amp;nbsp;
&amp;nbsp;Observações:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; line-height: 150%; mso-bidi-font-size: 11.0pt;&quot;&gt;-
A atualização do nível da bateria ocorre a cada três segundos (3s)&lt;br /&gt;
- O número ao lado esquerdo da seta para cima indica a porcentagem do nível da
bateria&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/YhxufVLaj4I&quot; frameborder=&quot;0&quot; allow=&quot;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/1633594983224137069/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/1633594983224137069?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/1633594983224137069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/1633594983224137069'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2013/12/mbsborges-joystick-bluetooh-20-teste-01.html' title='Mbsborges - Joystick Bluetooh 2.0 [Teste 01] '/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/YhxufVLaj4I/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-373260849024637125</id><published>2013-12-13T03:11:00.002-03:00</published><updated>2020-02-20T11:54:13.783-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="Joystick Bluetooth"/><title type='text'>Demonstração - Joystick Bluetooth v1.2</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;times new roman&amp;quot;, serif; font-size: 16px; text-align: start;&quot;&gt;Utilizando a interface do aplicativo para conectar, enviar comando e desconectar do dispositivo a ser controlado&lt;/span&gt;
&lt;/div&gt;

&lt;br /&gt;

&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/eV2hfOtXvPE&quot; frameborder=&quot;0&quot; allow=&quot;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;/div&gt;

&lt;br /&gt;

&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;times new roman&amp;quot;, serif; font-size: 16px; text-align: start;&quot;&gt;&amp;nbsp;Utilizando o aplicativo para controlar o bípede&lt;/span&gt;
&lt;/div&gt;

&lt;br /&gt;

&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/pgsGCe3czpo&quot; frameborder=&quot;0&quot; allow=&quot;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/373260849024637125/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/373260849024637125?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/373260849024637125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/373260849024637125'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2013/12/demonstracao-joystick-bluetooth-v1-2.html' title='Demonstração - Joystick Bluetooth v1.2'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/eV2hfOtXvPE/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-3729147120061230491</id><published>2013-12-13T02:17:00.001-03:00</published><updated>2020-02-20T12:31:55.998-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="Joystick Bluetooth"/><category scheme="http://www.blogger.com/atom/ns#" term="Projetos"/><category scheme="http://www.blogger.com/atom/ns#" term="Utilitários"/><title type='text'>Mbsborges - Joystick Bluetooth v1.2</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;, serif; font-size: 16px; text-align: justify;&quot;&gt;Aplicativo desenvolvido no APP Inventor v2 para controle de dispositivos (Robô de sumô, carrinhos, bípedes e muito mais) utilizando um celular ou tablet com sistema operacional android com suporte a comunicação por bluetooth, um módulo bluetooth (para efetuar a comunicação entre o dispositivo controlado e o controlador) e um microcontrolador (Arduino, Pic, ...).&lt;/span&gt;
&lt;/div&gt;
&lt;br /&gt;

&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitIsHpp3081o9CDUMJ8Br1RN2hjCPlFx8MJUZOKFWWNzrkSdfiqoMVWmlWs1c4G8k50FsMCdVmCDq2RJSTnTsUTewrRRm8XwgVdoyTg0euBsojFdblPneZJ5MInQrAg8-a_AKGtc6M5x6T/s1600/Screenshot_2014-05-08-11-07-03.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;Tela inicial&quot; border=&quot;0&quot; height=&quot;384&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitIsHpp3081o9CDUMJ8Br1RN2hjCPlFx8MJUZOKFWWNzrkSdfiqoMVWmlWs1c4G8k50FsMCdVmCDq2RJSTnTsUTewrRRm8XwgVdoyTg0euBsojFdblPneZJ5MInQrAg8-a_AKGtc6M5x6T/s640/Screenshot_2014-05-08-11-07-03.png&quot; title=&quot;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Tela inicial&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizJNa_9AWah1DcO4FD5-vnSbvsr3wF7upF-3FTO5mfsI6kT-5ZXAXWr-X9XWNfOTKXaCuC5SCtU2XEf33QGlN-ktciW1kEODrnHJFgua9C1gLD2yYBSnzhnLonSrksvJiPDvLEU53DjJeA/s1600/Screenshot_2014-05-08-10-54-15.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;Tela do joystick&quot; border=&quot;0&quot; height=&quot;384&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizJNa_9AWah1DcO4FD5-vnSbvsr3wF7upF-3FTO5mfsI6kT-5ZXAXWr-X9XWNfOTKXaCuC5SCtU2XEf33QGlN-ktciW1kEODrnHJFgua9C1gLD2yYBSnzhnLonSrksvJiPDvLEU53DjJeA/s640/Screenshot_2014-05-08-10-54-15.png&quot; title=&quot;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Tela do Joystick&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;br /&gt;
&lt;br /&gt;


&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; text-align: center;&quot;&gt;

&lt;a href=&quot;https://play.google.com/store/apps/details?id=appinventor.ai_mbsborges.JoystickBluetooth&quot; style=&quot;margin-left: auto; margin-right: auto;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Baixar utilizando QR Code&quot; border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYgMxPLXd7B9wETGaeoih2UaCRt3KtyP5uJDwMZKeMna8IfZl9jXJfvt4SB-U49cFe-ctsaHdxhCu7u8Q0rHRHnzXQhYKuGVeAdnntmRnvc4ErdCP5Iio3uqrqms9Byv9nM3h09s9wyxsY/s1600/qr+code+dowload+joystick+bluetooth.png&quot; title=&quot;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;

&lt;br /&gt;

&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; text-align: center;&quot;&gt;

&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;, serif; font-size: 16px; text-align: justify;&quot;&gt;Baixe via QR Code ou &lt;a href=&quot;https://play.google.com/store/apps/details?id=appinventor.ai_mbsborges.JoystickBluetooth&quot;&gt;clique aqui&lt;/a&gt; para efetuar o download
&lt;/span&gt;

&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/3729147120061230491/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/3729147120061230491?isPopup=true' title='2 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/3729147120061230491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/3729147120061230491'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2013/12/mbsborges-joystick-bluetooth-v1-2.html' title='Mbsborges - Joystick Bluetooth v1.2'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitIsHpp3081o9CDUMJ8Br1RN2hjCPlFx8MJUZOKFWWNzrkSdfiqoMVWmlWs1c4G8k50FsMCdVmCDq2RJSTnTsUTewrRRm8XwgVdoyTg0euBsojFdblPneZJ5MInQrAg8-a_AKGtc6M5x6T/s72-c/Screenshot_2014-05-08-11-07-03.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-2527086185527986009</id><published>2013-08-28T13:43:00.001-03:00</published><updated>2020-02-20T13:13:18.138-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><title type='text'>Teste de portas analógicas do Simulino v3.0</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;times new roman&amp;quot;, serif; font-size: 16px; text-align: start;&quot;&gt;
Após realizar um teste com as portas analógicas da nova versão do&amp;nbsp;&lt;a href=&quot;https://blogembarcado.blogspot.com.br/2013/06/simulino-v20-biblioteca-para-proteus.html&quot; target=&quot;_blank&quot;&gt;simulino v3.0&lt;/a&gt;, assim como algumas pessoas eu também encontrei o problema nas portas analógicas (elas só retornam 1023).
&lt;/span&gt;
&lt;/div&gt;

&lt;br /&gt;

&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/iSqVR8sJmtM&quot; frameborder=&quot;0&quot; allow=&quot;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;/div&gt;

&lt;br /&gt;

&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;times new roman&amp;quot;, serif; font-size: 16px; text-align: start;&quot;&gt;

Na verdade o erro não é causado por um problema do simulador e sim &amp;nbsp;por que a tensão não foi referenciada (na versão antiga o simulador utiliza uma fonte de alimentação em comum, por isso não era necessária a referenciação, já na nova versão utiliza-se fontes diferentes, logo é obrigatório fazer a referenciação para um correto funcionamento).

&lt;br /&gt;

Achei estranho o fato de não haver tensão entre os pinos &quot;5V e GND&quot;, porém segundo o autor isso ocorre devido a limitações do Proteus.
&lt;/span&gt;
&lt;/div&gt;

&lt;br /&gt;

&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyR0ftri1-olKUsyoYlBV0u68Deia3e6nFShziJLYJLPlAVn473UtgYw5dfbTHvqqP75LQlKnPoSRFYw8Ntnns3Z2AJ0GbKL55Zm6uweaeKuQyG96JoCNJ_5rEKJfiw65CTXhl_UVTKDuS/s1600/Corre%25C3%25A7%25C3%25A3o.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyR0ftri1-olKUsyoYlBV0u68Deia3e6nFShziJLYJLPlAVn473UtgYw5dfbTHvqqP75LQlKnPoSRFYw8Ntnns3Z2AJ0GbKL55Zm6uweaeKuQyG96JoCNJ_5rEKJfiw65CTXhl_UVTKDuS/s400/Corre%25C3%25A7%25C3%25A3o.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Referenciando a tensão&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;br /&gt;

&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT1_2m1Porf0qXCxvtNHgaeKsm6gYQAXsCxub2_VGRWVlg6vPFyzKPmw-PoBRiehg0HtAe2N3yJjhsX_9Mrp_Wg3NDtY0s3OXIqLnJKDKZBVOdR1koTKUi0R2xJ3u4Gafyi3SOZsHC90gL/s1600/Alimenta%25C3%25A7%25C3%25A3o.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT1_2m1Porf0qXCxvtNHgaeKsm6gYQAXsCxub2_VGRWVlg6vPFyzKPmw-PoBRiehg0HtAe2N3yJjhsX_9Mrp_Wg3NDtY0s3OXIqLnJKDKZBVOdR1koTKUi0R2xJ3u4Gafyi3SOZsHC90gL/s400/Alimenta%25C3%25A7%25C3%25A3o.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Falta de tensão entre os pinos 5V e GND&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;br /&gt;


&lt;div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4r6IHw7p47fOaCKLtw8Kpy9vze4u6ygxbE43IAaG2kEH6QoxwKzSFRLYQ-o4E9uUbMkZIJxl9nSN2egnhQz4Gv1TyouckAFNgyaV8jeDHYs4zGlFSu6RiXjjjlZZ77775gZHNqI75HEir/s1600/Simulino+%255B5V+e+GND%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4r6IHw7p47fOaCKLtw8Kpy9vze4u6ygxbE43IAaG2kEH6QoxwKzSFRLYQ-o4E9uUbMkZIJxl9nSN2egnhQz4Gv1TyouckAFNgyaV8jeDHYs4zGlFSu6RiXjjjlZZ77775gZHNqI75HEir/s400/Simulino+%255B5V+e+GND%255D.png&quot; width=&quot;395&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Motivo de não haver tensão entre os pinos 5V e GND&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/2527086185527986009/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/2527086185527986009?isPopup=true' title='3 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/2527086185527986009'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/2527086185527986009'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2013/08/teste-das-portas-analogicas-do-simulino.html' title='Teste de portas analógicas do Simulino v3.0'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/iSqVR8sJmtM/default.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-5657723742557340684</id><published>2013-07-20T12:25:00.003-03:00</published><updated>2020-02-20T19:12:07.263-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C/C++"/><title type='text'>Mapa de Karnaugh</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 16px;&quot;&gt;
Mapa de Karnaugh é um método de simplificação gráfico criado por Edward Veitch e aperfeiçoado pelo engenheiro de telecomunicações Maurice Karnaugh. Chamamos esse diagrama de mapa, visto este ser um mapeamento biunívoco a partir de uma tabela verdade da função que está a ser analisada.
&lt;br /&gt;&lt;br /&gt;
Disponibilizamos para download o programa e o código fonte que desenvolvemos em linguagem C/C++ para a resolução do Mapa de Veitch-karnaugh com duas ou três variáveis.
&lt;/span&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiItj7arsvHXxcCVvuVRRFno4jdo226P7UldM1VkQf33R4MXd_F5ebJ70NNrQjBuHoCj_tL_SycZZxQTHXNloo_Oh_5xz8GN7ivy0zUvU1_AR1H7eJSuJyjW78Korw0n9A9uTqB4cbqA8CU/s1600/Mapa+para+2+vari%25C3%25A1veis.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Mapa de Karnaugh&quot; border=&quot;0&quot; data-original-height=&quot;673&quot; data-original-width=&quot;917&quot; height=&quot;470&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiItj7arsvHXxcCVvuVRRFno4jdo226P7UldM1VkQf33R4MXd_F5ebJ70NNrQjBuHoCj_tL_SycZZxQTHXNloo_Oh_5xz8GN7ivy0zUvU1_AR1H7eJSuJyjW78Korw0n9A9uTqB4cbqA8CU/s640/Mapa+para+2+vari%25C3%25A1veis.png&quot; title=&quot;Mapa de Karnaugh&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 16px;&quot;&gt;
Clique &lt;a href=&quot;https://1drv.ms/u/s!AoBvF2wNc5Z6ikJFoka_g0uvyBxS?e=VeJwLH&quot; target=&quot;_blank&quot;&gt;aqui&lt;/a&gt; para baixar a versão para duas variáveis ou clique &lt;a href=&quot;https://1drv.ms/u/s!AoBvF2wNc5Z6ikE5c9F6RpVtJ7Jw?e=cCZgqb&quot; target=&quot;_blank&quot;&gt;aqui&lt;/a&gt; para baixar a versão para para três variáveis
&lt;/span&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/5657723742557340684/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/5657723742557340684?isPopup=true' title='2 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/5657723742557340684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/5657723742557340684'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2013/07/mapa-de-karnaugh-para-duas-e-tres-variaveis.html' title='Mapa de Karnaugh'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiItj7arsvHXxcCVvuVRRFno4jdo226P7UldM1VkQf33R4MXd_F5ebJ70NNrQjBuHoCj_tL_SycZZxQTHXNloo_Oh_5xz8GN7ivy0zUvU1_AR1H7eJSuJyjW78Korw0n9A9uTqB4cbqA8CU/s72-c/Mapa+para+2+vari%25C3%25A1veis.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-4707113253837353035</id><published>2013-04-08T16:24:00.006-03:00</published><updated>2021-10-30T20:27:10.253-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="C/C++"/><category scheme="http://www.blogger.com/atom/ns#" term="Projetos"/><title type='text'>Robô Bípede - Programa de controle v1.1.1</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;
 style=&quot;background: white;
 line-height: normal;
 margin-bottom: .0001pt;
 margin-bottom: 0cm;&quot;&gt;
 
&lt;div class=&quot;separator&quot;
 style=&quot;clear: both;
 text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeBSaMnNvVUMvXDnRBVaGly3fO8BPK5gfOTiyk4qVWJfq-HnJqrNYMVlfgRXB1-psoVIow1-xrjtR8fIcb76q2CPRJ2I9NdFmQvM1ZSKU_3fCcPd-aasYWnegQwKmJrOBfft6AwvTlKh6y/s1600/arduino-codes.png&quot;
 imageanchor=&quot;1&quot;
 style=&quot;margin-left: 1em;
 margin-right: 1em;&quot;&gt;
 &lt;img border=&quot;0&quot;
 data-original-height=&quot;904&quot; 
 data-original-width=&quot;1600&quot; 
 height=&quot;362&quot; 
 src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeBSaMnNvVUMvXDnRBVaGly3fO8BPK5gfOTiyk4qVWJfq-HnJqrNYMVlfgRXB1-psoVIow1-xrjtR8fIcb76q2CPRJ2I9NdFmQvM1ZSKU_3fCcPd-aasYWnegQwKmJrOBfft6AwvTlKh6y/w640-h362/arduino-codes.png&quot;
 width=&quot;640&quot; /&gt;
&lt;/a&gt;
&lt;/div&gt;

&lt;br /&gt;
&lt;pre&gt;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;/*&lt;/span&gt;

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;Programa&amp;nbsp;de&amp;nbsp;controle&amp;nbsp;de&amp;nbsp;robô&amp;nbsp;bípede&amp;nbsp;com&amp;nbsp;6&amp;nbsp;servos&amp;nbsp;v.&amp;nbsp;1.1.1&amp;nbsp;Beta&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;Última&amp;nbsp;atualização&amp;nbsp;em&amp;nbsp;20&amp;nbsp;de&amp;nbsp;março&amp;nbsp;de&amp;nbsp;2013&amp;nbsp;às&amp;nbsp;15:14:10&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;Autor:&amp;nbsp;Marcelo&amp;nbsp;Borges&amp;nbsp;dos&amp;nbsp;Santos&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;e-mail:&amp;nbsp;mbsborges@gmail.com&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;blog:&amp;nbsp;https://mbsborges.blogspot.com&lt;/span&gt;

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;*/&lt;/span&gt;

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Inicio&amp;nbsp;da&amp;nbsp;inserção&amp;nbsp;das&amp;nbsp;bibliotecas&lt;/span&gt;
#include&amp;nbsp;&amp;lt;&lt;span style=&quot;color: #cc6600;&quot;&gt;Servo&lt;/span&gt;.h&amp;gt;

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Fim&amp;nbsp;da&amp;nbsp;inserção&amp;nbsp;das&amp;nbsp;bibliotecas&lt;/span&gt;

#define&amp;nbsp;tempo&amp;nbsp;150&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Variável de controle da velocidade &lt;/span&gt;

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Inicio&amp;nbsp;da&amp;nbsp;nomeção&amp;nbsp;dos&amp;nbsp;servos&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Quadris&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;Servo&lt;/span&gt; quadrilDireito;
&lt;span style=&quot;color: #cc6600;&quot;&gt;Servo&lt;/span&gt; quadrilEsquerdo;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//joelhos&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;Servo&lt;/span&gt; joelhoDireito;
&lt;span style=&quot;color: #cc6600;&quot;&gt;Servo&lt;/span&gt; joelhoEsquerdo;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//pés&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;Servo&lt;/span&gt; peDireito;
&lt;span style=&quot;color: #cc6600;&quot;&gt;Servo&lt;/span&gt; peEsquerdo;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Fim&amp;nbsp;da&amp;nbsp;nomeção&amp;nbsp;dos&amp;nbsp;servos&lt;/span&gt;

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Inicio&amp;nbsp;do&amp;nbsp;ajuste&amp;nbsp;de&amp;nbsp;angulação&amp;nbsp;dos&amp;nbsp;servos&amp;nbsp;(em&amp;nbsp;graus)&lt;/span&gt;
#define&amp;nbsp;ajustePeDireito&amp;nbsp;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Ajuste do pé direito&lt;/span&gt;
#define&amp;nbsp;ajustePeEsquerdo&amp;nbsp;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Ajuste do pé esquerdo&lt;/span&gt;
#define&amp;nbsp;ajusteJoelhoDireito&amp;nbsp;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Ajuste do joelho direito&lt;/span&gt;
#define&amp;nbsp;ajusteJoelhoEsquerdo&amp;nbsp;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Ajuste do joelho esquerdo&lt;/span&gt;
#define&amp;nbsp;ajusteQuadrilDireito&amp;nbsp;-5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Ajuste do quadril direito&lt;/span&gt;
#define&amp;nbsp;ajusteQuadrilEsquerdo&amp;nbsp;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Ajuste do quadril esquerdo&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Fim&amp;nbsp;do&amp;nbsp;ajuste&amp;nbsp;de&amp;nbsp;angulação&amp;nbsp;dos&amp;nbsp;servos&lt;/span&gt;

&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;setup&lt;/b&gt;&lt;/span&gt;() {
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Definindo as portas de controle dos servos&lt;/span&gt;
&amp;nbsp;&amp;nbsp;peDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;attach&lt;/span&gt;(6);
&amp;nbsp;&amp;nbsp;peEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;attach&lt;/span&gt;(11);
&amp;nbsp;&amp;nbsp;joelhoDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;attach&lt;/span&gt;(5);
&amp;nbsp;&amp;nbsp;joelhoEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;attach&lt;/span&gt;(10);
&amp;nbsp;&amp;nbsp;quadrilDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;attach&lt;/span&gt;(3);
&amp;nbsp;&amp;nbsp;quadrilEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;attach&lt;/span&gt;(9);
}

&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;loop&lt;/b&gt;&lt;/span&gt;() {

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Movendo servos para posição inicial&lt;/span&gt;
&amp;nbsp;&amp;nbsp;posicaoInicial();
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (2000);
&amp;nbsp;&amp;nbsp;cumprimentar&amp;nbsp;(2);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(20);
&amp;nbsp;&amp;nbsp;andar(4);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(20);
&amp;nbsp;&amp;nbsp;girarSentidoAntiHorario(4);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(20);
&amp;nbsp;&amp;nbsp;andar(2);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(20);
&amp;nbsp;&amp;nbsp;girarSentidoAntiHorario(4);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(20);
&amp;nbsp;&amp;nbsp;andar(4);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(20);
&amp;nbsp;&amp;nbsp;girarSentidoAntiHorario(8);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(20);
&amp;nbsp;&amp;nbsp;cumprimentar&amp;nbsp;(2);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(20);
}

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Funções&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Função&amp;nbsp;Posição&amp;nbsp;Inicial&amp;nbsp;(Manda&amp;nbsp;todos&amp;nbsp;os&amp;nbsp;servos&amp;nbsp;para&amp;nbsp;90º)&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; posicaoInicial() {
&amp;nbsp;&amp;nbsp;peDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(90 + ajustePeDireito);
&amp;nbsp;&amp;nbsp;peEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(90 + ajustePeEsquerdo);
&amp;nbsp;&amp;nbsp;quadrilDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(90 + ajusteQuadrilDireito);
&amp;nbsp;&amp;nbsp;quadrilEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(90 + ajusteQuadrilEsquerdo);
&amp;nbsp;&amp;nbsp;joelhoDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(90 + ajusteJoelhoDireito);
&amp;nbsp;&amp;nbsp;joelhoEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(90 + ajusteJoelhoEsquerdo);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(1000);
}

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Função&amp;nbsp;Cumprimentar&amp;nbsp;(Faz&amp;nbsp;n&amp;nbsp;cumprimentações)&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; cumprimentar (&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; vezes) {
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; x;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (x = 0; x &amp;lt; vezes; x++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//(i - incremento) / (d - decremento)&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Movimento de ida&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; i = 90, d = 90;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (i = 90; i &amp;lt; 115; i++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(d + ajusteJoelhoDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i + ajusteJoelhoEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i + ajusteQuadrilDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(d + ajusteQuadrilEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;d--;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(0.5 * tempo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (2000);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Movimento de volta&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (i = 115; i &amp;gt; 90; i--) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(d + ajusteJoelhoDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i + ajusteJoelhoEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i + ajusteQuadrilDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(d + ajusteQuadrilEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;d++;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(0.5 * tempo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;posicaoInicial();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (50);
&amp;nbsp;&amp;nbsp;}
}

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Função&amp;nbsp;abaixar-se&amp;nbsp;(o&amp;nbsp;robô&amp;nbsp;abaixa-se)&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; abaixar () {
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//(i - incremento) / (d - decremento)&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; i = 90, d = 90;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (i = 90; i &amp;lt; 130; i++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(d + ajusteJoelhoDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i + ajusteJoelhoEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(d + ajusteQuadrilDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i + ajusteQuadrilEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;d--;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(0.5 * tempo);
&amp;nbsp;&amp;nbsp;}
}

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Função&amp;nbsp;inclinar&amp;nbsp;para&amp;nbsp;a&amp;nbsp;esquerda&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; inclinarEsquerda(&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; sentido) {
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; i;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Inclinando para a esquerda&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;if&lt;/span&gt; (sentido == 1) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (i = 90; i &amp;lt; 110; i++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i + ajustePeEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i + ajustePeDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(tempo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (100);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(110 + ajustePeEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(110 + ajustePeDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (100);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Retornando para posição anterior&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;if&lt;/span&gt; (sentido == 0) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (i = 110; i &amp;gt; 90; i--) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i + ajustePeEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i + ajustePeDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (tempo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (100);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(90 + ajustePeDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(90 + ajustePeEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (100);
&amp;nbsp;&amp;nbsp;}
}

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Função&amp;nbsp;inclinar&amp;nbsp;para&amp;nbsp;a&amp;nbsp;direita&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; inclinarDireita (&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; sentido) {
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; i;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;if&lt;/span&gt; (sentido == 1) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Inclinando para a direita&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (i = 90; i &amp;gt; 70; i--) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i + ajustePeDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i + ajustePeEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (tempo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (100);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(70 + ajustePeDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(70 + ajustePeEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(100);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Retornando para posição anterior&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;if&lt;/span&gt; (sentido == 0) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (i = 70; i &amp;lt; 90; i++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i + ajustePeEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i + ajustePeDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(tempo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (100);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(90 + ajustePeEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(90 + ajustePeDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(100);
&amp;nbsp;&amp;nbsp;}
}

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Função&amp;nbsp;Aquecimento&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; aquecimento () {
&amp;nbsp;&amp;nbsp;inclinarDireita(1);
&amp;nbsp;&amp;nbsp;inclinarDireita(0);
&amp;nbsp;&amp;nbsp;inclinarEsquerda(1);
&amp;nbsp;&amp;nbsp;inclinarEsquerda(0);
&amp;nbsp;&amp;nbsp;posicaoInicial();
&amp;nbsp;&amp;nbsp;abaixar();
&amp;nbsp;&amp;nbsp;posicaoInicial();
}

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Função&amp;nbsp;Andar&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; andar (&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; passos) {
&amp;nbsp;&amp;nbsp;posicaoInicial();
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; i, x;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (i = 0; i &amp;lt; passos; i++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inclinarEsquerda(1);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;if&lt;/span&gt; (i == 0) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (x = 90; x &amp;lt; 110; x++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x + ajusteQuadrilDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x + ajusteQuadrilEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x + ajusteJoelhoDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x + ajusteJoelhoEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(0.25 * tempo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;else&lt;/span&gt; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (x = 70; x &amp;lt; 110; x++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x + ajusteQuadrilDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x + ajusteQuadrilEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x + ajusteJoelhoDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x + ajusteJoelhoEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(0.25 * tempo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inclinarEsquerda(0);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inclinarDireita(1);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (x = 110; x &amp;gt; 70; x--) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x + ajusteQuadrilDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x + ajusteQuadrilEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x + ajusteJoelhoDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x + ajusteJoelhoEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(0.25 * tempo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inclinarDireita(0);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Retornando para a posição inicial&lt;/span&gt;
&amp;nbsp;&amp;nbsp;inclinarEsquerda&amp;nbsp;(1);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (i = 70; i &amp;lt; 90; i++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i + ajusteQuadrilDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i + ajusteQuadrilEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i + ajusteJoelhoDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i + ajusteJoelhoEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (0.25 * tempo);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;inclinarEsquerda&amp;nbsp;(0);
}
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Função&amp;nbsp;Girar&amp;nbsp;no&amp;nbsp;Sentido&amp;nbsp;Anti-Horário&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; girarSentidoAntiHorario(&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; passos) {
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Cada passo proporciona um giro de 45º no sentido anti-horário&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; i, x;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (i = 0; i &amp;lt; passos; i++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;posicaoInicial();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inclinarEsquerda(1);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (x = 90; x &amp;lt; 110; x++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x + ajusteQuadrilDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x + ajusteQuadrilEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x + ajusteJoelhoDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x + ajusteJoelhoEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(0.25 * tempo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inclinarEsquerda(0);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;posicaoInicial();
&amp;nbsp;&amp;nbsp;}
}
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Função&amp;nbsp;Girar&amp;nbsp;no&amp;nbsp;Sentido&amp;nbsp;Horário&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; girarSentidoHorario(&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; passos) {
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Cada passo proporciona um giro de 45º no sentido horário&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; i, x;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (i = 0; i &amp;lt; passos; i++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inclinarDireita(1);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (x = 90; x &amp;gt; 70; x--) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x + ajusteQuadrilDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x + ajusteQuadrilEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x + ajusteJoelhoDireito);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x + ajusteJoelhoEsquerdo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(0.25 * tempo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inclinarDireita(0);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;posicaoInicial();
&amp;nbsp;&amp;nbsp;}
}

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Fim&lt;/span&gt;

&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/4707113253837353035/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/4707113253837353035?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/4707113253837353035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/4707113253837353035'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2013/04/robo-bipede-programa-de-controle-v-1-1-1.html' title='Robô Bípede - Programa de controle v1.1.1'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeBSaMnNvVUMvXDnRBVaGly3fO8BPK5gfOTiyk4qVWJfq-HnJqrNYMVlfgRXB1-psoVIow1-xrjtR8fIcb76q2CPRJ2I9NdFmQvM1ZSKU_3fCcPd-aasYWnegQwKmJrOBfft6AwvTlKh6y/s72-w640-h362-c/arduino-codes.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-2261505463370550845</id><published>2013-01-12T19:27:00.001-03:00</published><updated>2020-02-20T19:12:07.181-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="C/C++"/><category scheme="http://www.blogger.com/atom/ns#" term="Projetos"/><title type='text'>Robô Bípede - Demonstração</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;times new roman&amp;quot;, serif; font-size: 16px; text-align: start;&quot;&gt;Demonstração do robô bípede utilizando o Programa de Controle v. 0.9, que foi desenvolvido utilizando a plataforma Arduino&lt;/span&gt;&lt;/div&gt;

&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt; 
&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/sMR-HkUOpMw&quot; frameborder=&quot;0&quot; allow=&quot;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/2261505463370550845/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/2261505463370550845?isPopup=true' title='2 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/2261505463370550845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/2261505463370550845'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2013/01/robo-bipede-demostracao_12.html' title='Robô Bípede - Demonstração'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/sMR-HkUOpMw/default.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-6178852292779978534</id><published>2012-12-11T16:20:00.004-03:00</published><updated>2021-10-30T20:29:44.797-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="C/C++"/><category scheme="http://www.blogger.com/atom/ns#" term="Projetos"/><title type='text'>Robô Bípede - Programa de controle v. 1.0.1</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;
 style=&quot;background: white;
 line-height: normal;
 margin-bottom: .0001pt;
 margin-bottom: 0cm;&quot;&gt;
 
&lt;div class=&quot;separator&quot;
 style=&quot;clear: both;
 text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeBSaMnNvVUMvXDnRBVaGly3fO8BPK5gfOTiyk4qVWJfq-HnJqrNYMVlfgRXB1-psoVIow1-xrjtR8fIcb76q2CPRJ2I9NdFmQvM1ZSKU_3fCcPd-aasYWnegQwKmJrOBfft6AwvTlKh6y/s1600/arduino-codes.png&quot;
 imageanchor=&quot;1&quot;
 style=&quot;margin-left: 1em;
 margin-right: 1em;&quot;&gt;
 &lt;img border=&quot;0&quot;
 data-original-height=&quot;904&quot; 
 data-original-width=&quot;1600&quot; 
 height=&quot;362&quot; 
 src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeBSaMnNvVUMvXDnRBVaGly3fO8BPK5gfOTiyk4qVWJfq-HnJqrNYMVlfgRXB1-psoVIow1-xrjtR8fIcb76q2CPRJ2I9NdFmQvM1ZSKU_3fCcPd-aasYWnegQwKmJrOBfft6AwvTlKh6y/w640-h362/arduino-codes.png&quot;
 width=&quot;640&quot; /&gt;
&lt;/a&gt;
&lt;/div&gt;
&lt;br /&gt;

&lt;pre&gt;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;/*&lt;/span&gt;

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;Programa&amp;nbsp;de&amp;nbsp;controle&amp;nbsp;de&amp;nbsp;robô&amp;nbsp;bípede&amp;nbsp;com&amp;nbsp;6&amp;nbsp;servos&amp;nbsp;v.&amp;nbsp;1.0.1&amp;nbsp;Beta&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;Última&amp;nbsp;atualização&amp;nbsp;em&amp;nbsp;11&amp;nbsp;de&amp;nbsp;dezembro&amp;nbsp;de&amp;nbsp;2012&amp;nbsp;às&amp;nbsp;15:34:03&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;Autor:&amp;nbsp;Marcelo&amp;nbsp;Borges&amp;nbsp;dos&amp;nbsp;Santos&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;e-mail:&amp;nbsp;mbsborges@gmail.com&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;blog:&amp;nbsp;http://mbsborges.blogspot.com&lt;/span&gt;

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;*/&lt;/span&gt;

#include&amp;nbsp;&amp;lt;&lt;span style=&quot;color: #cc6600;&quot;&gt;Servo&lt;/span&gt;.h&amp;gt;
#define&amp;nbsp;tempo&amp;nbsp;150

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Servos&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Quadris&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;Servo&lt;/span&gt; quadrilDireito;
&lt;span style=&quot;color: #cc6600;&quot;&gt;Servo&lt;/span&gt; quadrilEsquerdo;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//joelhos&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;Servo&lt;/span&gt; joelhoDireito;
&lt;span style=&quot;color: #cc6600;&quot;&gt;Servo&lt;/span&gt; joelhoEsquerdo;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//pés&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;Servo&lt;/span&gt; peDireito;
&lt;span style=&quot;color: #cc6600;&quot;&gt;Servo&lt;/span&gt; peEsquerdo;

&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;setup&lt;/b&gt;&lt;/span&gt;() {
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Definindo as portas de controle dos servos&lt;/span&gt;
&amp;nbsp;&amp;nbsp;peDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;attach&lt;/span&gt;(6);
&amp;nbsp;&amp;nbsp;peEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;attach&lt;/span&gt;(11);
&amp;nbsp;&amp;nbsp;joelhoDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;attach&lt;/span&gt;(5);
&amp;nbsp;&amp;nbsp;joelhoEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;attach&lt;/span&gt;(10);
&amp;nbsp;&amp;nbsp;quadrilDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;attach&lt;/span&gt;(3);
&amp;nbsp;&amp;nbsp;quadrilEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;attach&lt;/span&gt;(9);
}

&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;loop&lt;/b&gt;&lt;/span&gt;() {
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Movendo servos para posição inicial&lt;/span&gt;
&amp;nbsp;&amp;nbsp;posicaoInicial();
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (2000);
&amp;nbsp;&amp;nbsp;cumprimentar&amp;nbsp;(2);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(20);
&amp;nbsp;&amp;nbsp;andar(4);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(20);
&amp;nbsp;&amp;nbsp;girarSentidoAntiHorario(4);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(20);
&amp;nbsp;&amp;nbsp;andar(2);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(20);
&amp;nbsp;&amp;nbsp;girarSentidoAntiHorario(4);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(20);
&amp;nbsp;&amp;nbsp;andar(4);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(20);
&amp;nbsp;&amp;nbsp;girarSentidoAntiHorario(8);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(20);
&amp;nbsp;&amp;nbsp;cumprimentar&amp;nbsp;(2);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(20);
}

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Funções&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Função&amp;nbsp;Posição&amp;nbsp;Inicial&amp;nbsp;(Manda&amp;nbsp;todos&amp;nbsp;os&amp;nbsp;servos&amp;nbsp;para&amp;nbsp;90º)&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; posicaoInicial() {
&amp;nbsp;&amp;nbsp;peDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(90);
&amp;nbsp;&amp;nbsp;peEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(90);
&amp;nbsp;&amp;nbsp;quadrilDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(90);
&amp;nbsp;&amp;nbsp;quadrilEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(90);
&amp;nbsp;&amp;nbsp;joelhoDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(90);
&amp;nbsp;&amp;nbsp;joelhoEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(90);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(1000);
}

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Função&amp;nbsp;Cumprimentar&amp;nbsp;(Faz&amp;nbsp;n&amp;nbsp;cumprimentações)&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; cumprimentar (&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; vezes) {
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; x;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (x = 0; x &amp;lt; vezes; x++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//(i - incremento) / (d - decremento)&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Movimento de ida&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; i = 90, d = 90;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (i = 90; i &amp;lt; 115; i++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(d);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(d);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;d--;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(0.5 * tempo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (2000);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Movimento de volta&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (i = 115; i &amp;gt; 90; i--) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(d);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(d);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;d++;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(0.5 * tempo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;posicaoInicial();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (50);
&amp;nbsp;&amp;nbsp;}
}

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Função&amp;nbsp;abaixar-se&amp;nbsp;(o&amp;nbsp;robô&amp;nbsp;abaixa-se)&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; abaixar () {
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//(i - incremento) / (d - decremento)&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; i = 90, d = 90;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (i = 90; i &amp;lt; 130; i++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(d);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(d);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;d--;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(0.5 * tempo);
&amp;nbsp;&amp;nbsp;}
}

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Função&amp;nbsp;inclinar&amp;nbsp;para&amp;nbsp;a&amp;nbsp;esquerda&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; inclinarEsquerda(&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; sentido) {
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; i;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Inclinando para a esquerda&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;if&lt;/span&gt; (sentido == 1) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (i = 90; i &amp;lt; 110; i++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(tempo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (100);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(110);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(110);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (100);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Retornando para posição anterior&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;if&lt;/span&gt; (sentido == 0) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (i = 110; i &amp;gt; 90; i--) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (tempo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (100);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(90);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(90);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (100);
&amp;nbsp;&amp;nbsp;}
}

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Função&amp;nbsp;inclinar&amp;nbsp;para&amp;nbsp;a&amp;nbsp;direita&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; inclinarDireita (&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; sentido) {
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; i;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;if&lt;/span&gt; (sentido == 1) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Inclinando para a direita&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (i = 90; i &amp;gt; 70; i--) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (tempo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (100);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(70);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(70);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(100);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Retornando para posição anterior&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;if&lt;/span&gt; (sentido == 0) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (i = 70; i &amp;lt; 90; i++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(tempo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (100);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(90);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;peDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(90);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(100);
&amp;nbsp;&amp;nbsp;}
}

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Função&amp;nbsp;Aquecimento&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; aquecimento () {
&amp;nbsp;&amp;nbsp;inclinarDireita(1);
&amp;nbsp;&amp;nbsp;inclinarDireita(0);
&amp;nbsp;&amp;nbsp;inclinarEsquerda(1);
&amp;nbsp;&amp;nbsp;inclinarEsquerda(0);
&amp;nbsp;&amp;nbsp;posicaoInicial();
&amp;nbsp;&amp;nbsp;abaixar();
&amp;nbsp;&amp;nbsp;posicaoInicial();
}

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Função&amp;nbsp;Andar&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; andar (&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; passos) {
&amp;nbsp;&amp;nbsp;posicaoInicial();
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; i, x;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (i = 0; i &amp;lt; passos; i++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inclinarEsquerda(1);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;if&lt;/span&gt; (i == 0) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (x = 90; x &amp;lt; 110; x++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(0.25 * tempo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;else&lt;/span&gt; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (x = 70; x &amp;lt; 110; x++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(0.25 * tempo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inclinarEsquerda(0);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inclinarDireita(1);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (x = 110; x &amp;gt; 70; x--) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(0.25 * tempo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inclinarDireita(0);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Retornando para a posição inicial&lt;/span&gt;
&amp;nbsp;&amp;nbsp;inclinarEsquerda&amp;nbsp;(1);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (i = 70; i &amp;lt; 90; i++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(i);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt; (0.25 * tempo);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;inclinarEsquerda&amp;nbsp;(0);
}
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Função&amp;nbsp;Girar&amp;nbsp;no&amp;nbsp;Sentido&amp;nbsp;Anti-Horário&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; girarSentidoAntiHorario(&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; passos) {
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Cada passo proporciona um giro de 45º no sentido anti-horário&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; i, x;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (i = 0; i &amp;lt; passos; i++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;posicaoInicial();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inclinarEsquerda(1);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (x = 90; x &amp;lt; 110; x++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(0.25 * tempo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inclinarEsquerda(0);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;posicaoInicial();
&amp;nbsp;&amp;nbsp;}
}
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Função&amp;nbsp;Girar&amp;nbsp;no&amp;nbsp;Sentido&amp;nbsp;Horário&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; girarSentidoHorario(&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; passos) {
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Cada passo proporciona um giro de 45º no sentido horário&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; i, x;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (i = 0; i &amp;lt; passos; i++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inclinarDireita(1);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt; (x = 90; x &amp;gt; 70; x--) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quadrilEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoDireito.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;joelhoEsquerdo.&lt;span style=&quot;color: #cc6600;&quot;&gt;write&lt;/span&gt;(x);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(0.25 * tempo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inclinarDireita(0);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;posicaoInicial();
&amp;nbsp;&amp;nbsp;}
}

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Fim&lt;/span&gt;

&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/6178852292779978534/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/6178852292779978534?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/6178852292779978534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/6178852292779978534'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2012/12/robo-bipede-programa-de-controle-v-1-0-1.html' title='Robô Bípede - Programa de controle v. 1.0.1'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeBSaMnNvVUMvXDnRBVaGly3fO8BPK5gfOTiyk4qVWJfq-HnJqrNYMVlfgRXB1-psoVIow1-xrjtR8fIcb76q2CPRJ2I9NdFmQvM1ZSKU_3fCcPd-aasYWnegQwKmJrOBfft6AwvTlKh6y/s72-w640-h362-c/arduino-codes.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-5375842775804854567</id><published>2012-12-04T12:49:00.006-03:00</published><updated>2021-10-30T20:32:10.205-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="C/C++"/><category scheme="http://www.blogger.com/atom/ns#" term="Projetos"/><title type='text'>Robô Bípede - Programa de controle v. 0.9</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;
 style=&quot;background: white;
 line-height: normal;
 margin-bottom: .0001pt;
 margin-bottom: 0cm;&quot;&gt;
 
&lt;div class=&quot;separator&quot;
 style=&quot;clear: both;
 text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeBSaMnNvVUMvXDnRBVaGly3fO8BPK5gfOTiyk4qVWJfq-HnJqrNYMVlfgRXB1-psoVIow1-xrjtR8fIcb76q2CPRJ2I9NdFmQvM1ZSKU_3fCcPd-aasYWnegQwKmJrOBfft6AwvTlKh6y/s1600/arduino-codes.png&quot;
 imageanchor=&quot;1&quot;
 style=&quot;margin-left: 1em;
 margin-right: 1em;&quot;&gt;
 &lt;img border=&quot;0&quot;
 data-original-height=&quot;904&quot; 
 data-original-width=&quot;1600&quot; 
 height=&quot;362&quot; 
 src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeBSaMnNvVUMvXDnRBVaGly3fO8BPK5gfOTiyk4qVWJfq-HnJqrNYMVlfgRXB1-psoVIow1-xrjtR8fIcb76q2CPRJ2I9NdFmQvM1ZSKU_3fCcPd-aasYWnegQwKmJrOBfft6AwvTlKh6y/w640-h362/arduino-codes.png&quot;
 width=&quot;640&quot; /&gt;
&lt;/a&gt;
&lt;/div&gt;


&lt;pre&gt;&lt;span style=&quot;color: #95a5a6;&quot;&gt;/*&lt;/span&gt;
&lt;span style=&quot;color: #95a5a6;&quot;&gt;&lt;/span&gt;
&lt;span style=&quot;color: #95a5a6;&quot;&gt;Programa de controle de robô bípede com 6 servos v. 0.9 Beta&lt;/span&gt;
&lt;span style=&quot;color: #95a5a6;&quot;&gt;Última atualização em 02 de dezembro de 2012 às 00:24:43&lt;/span&gt;
&lt;span style=&quot;color: #95a5a6;&quot;&gt;Autor: Marcelo Borges dos Santos&lt;/span&gt;
&lt;span style=&quot;color: #95a5a6;&quot;&gt;e-mail: mbsborges@gmail.com&lt;/span&gt;
&lt;span style=&quot;color: #95a5a6;&quot;&gt;blog: &lt;/span&gt;&lt;u&gt;&lt;span style=&quot;color: #95a5a6;&quot;&gt;http://mbsborges.blogspot.com&lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;color: #95a5a6;&quot;&gt;&lt;/span&gt;
&lt;span style=&quot;color: #95a5a6;&quot;&gt;&lt;/span&gt;
&lt;span style=&quot;color: #95a5a6;&quot;&gt;*/&lt;/span&gt;

&lt;span style=&quot;color: #5e6d03;&quot;&gt;#include&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;Servo&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;h&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #5e6d03;&quot;&gt;#define&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;tempo&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;150&lt;/span&gt;

&lt;span style=&quot;color: #434f54;&quot;&gt;//Servos&lt;/span&gt;
&lt;span style=&quot;color: #434f54;&quot;&gt;//Quadris&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;Servo&lt;/span&gt;&lt;/b&gt; &lt;span style=&quot;color: black;&quot;&gt;quadrilDireito&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;Servo&lt;/span&gt;&lt;/b&gt; &lt;span style=&quot;color: black;&quot;&gt;quadrilEsquerdo&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #434f54;&quot;&gt;//joelhos&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;Servo&lt;/span&gt;&lt;/b&gt; &lt;span style=&quot;color: black;&quot;&gt;joelhoDireito&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;Servo&lt;/span&gt;&lt;/b&gt; &lt;span style=&quot;color: black;&quot;&gt;joelhoEsquerdo&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #434f54;&quot;&gt;//pés&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;Servo&lt;/span&gt;&lt;/b&gt; &lt;span style=&quot;color: black;&quot;&gt;peDireito&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;Servo&lt;/span&gt;&lt;/b&gt; &lt;span style=&quot;color: black;&quot;&gt;peEsquerdo&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;

&lt;span style=&quot;color: #00979c;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #5e6d03;&quot;&gt;setup&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #434f54;&quot;&gt;//Definindo as portas de controle dos servos&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;peDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;attach&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;6&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;peEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;attach&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;11&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;joelhoDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;attach&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;5&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;joelhoEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;attach&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;10&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;quadrilDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;attach&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;quadrilEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;attach&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;9&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;

&lt;span style=&quot;color: #00979c;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #5e6d03;&quot;&gt;loop&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #434f54;&quot;&gt;//Movendo servos para posição inicial&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;posicaoInicial&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;5000&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;aquecimento&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;20&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;cumprimentar&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;20&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;andar&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;4&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;

&lt;span style=&quot;color: #434f54;&quot;&gt;//Funções&lt;/span&gt;
&lt;span style=&quot;color: #434f54;&quot;&gt;//Função Posição Inicial (Manda todos os servos para 90º)&lt;/span&gt;
&lt;span style=&quot;color: #00979c;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;posicaoInicial&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;peDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;peEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;quadrilDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;quadrilEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;joelhoDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;joelhoEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;1000&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;

&lt;span style=&quot;color: #434f54;&quot;&gt;//Função Cumprimentar (Faz n cumprimentações)&lt;/span&gt;
&lt;span style=&quot;color: #00979c;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;cumprimentar&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #00979c;&quot;&gt;int&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;vezes&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #00979c;&quot;&gt;int&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;x&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #5e6d03;&quot;&gt;for&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;x&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;x&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;vezes&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;x&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;++&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #434f54;&quot;&gt;//(i - incremento) / (d - decremento)&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #434f54;&quot;&gt;//Movimento de ida&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #00979c;&quot;&gt;int&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;d&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #5e6d03;&quot;&gt;for&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;115&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;++&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;joelhoDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;d&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;joelhoEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;quadrilDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;quadrilEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;d&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;d&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;--&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;0.5&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;tempo&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;2000&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #434f54;&quot;&gt;//Movimento de volta&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #5e6d03;&quot;&gt;for&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;115&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;--&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;joelhoDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;d&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;joelhoEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;quadrilDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;quadrilEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;d&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;d&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;++&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;0.5&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;tempo&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;posicaoInicial&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;50&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;
&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;

&lt;span style=&quot;color: #434f54;&quot;&gt;//Função abaixar-se (o robô abaixa-se)&lt;/span&gt;
&lt;span style=&quot;color: #00979c;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;abaixar&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #434f54;&quot;&gt;//(i - incremento) / (d - decremento)&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #00979c;&quot;&gt;int&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;d&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #5e6d03;&quot;&gt;for&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;130&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;++&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;joelhoDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;d&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;joelhoEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;quadrilDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;d&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;quadrilEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;d&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;--&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;0.5&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;tempo&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;
&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;

&lt;span style=&quot;color: #434f54;&quot;&gt;//Função inclinar para a esquerda&lt;/span&gt;
&lt;span style=&quot;color: #00979c;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;inclinarEsquerda&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #00979c;&quot;&gt;int&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;sentido&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #00979c;&quot;&gt;int&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #434f54;&quot;&gt;//Inclinando para a esquerda&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #5e6d03;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;sentido&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #5e6d03;&quot;&gt;for&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;110&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;++&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;peEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;peDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;tempo&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;100&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;peEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;110&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;peDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;110&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;100&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #434f54;&quot;&gt;//Retornando para posição anterior&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #5e6d03;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;sentido&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #5e6d03;&quot;&gt;for&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;110&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;--&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;peEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;peDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;tempo&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;100&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;peDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;peEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;100&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;
&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;

&lt;span style=&quot;color: #434f54;&quot;&gt;//Função inclinar para a direita&lt;/span&gt;
&lt;span style=&quot;color: #00979c;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;inclinarDireita&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #00979c;&quot;&gt;int&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;sentido&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #00979c;&quot;&gt;int&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #5e6d03;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;sentido&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #434f54;&quot;&gt;//Inclinando para a direita&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #5e6d03;&quot;&gt;for&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;70&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;--&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;peDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;peEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;tempo&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;100&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;peDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;70&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;peEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;70&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;100&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #434f54;&quot;&gt;//Retornando para posição anterior&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #5e6d03;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;sentido&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #5e6d03;&quot;&gt;for&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;70&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;++&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;peEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;peDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;tempo&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;100&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;peEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;peDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;100&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;
&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;

&lt;span style=&quot;color: #434f54;&quot;&gt;//Função Aquecimento&lt;/span&gt;
&lt;span style=&quot;color: #00979c;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;aquecimento&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;inclinarDireita&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;inclinarDireita&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;inclinarEsquerda&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;inclinarEsquerda&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;posicaoInicial&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;abaixar&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;posicaoInicial&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;

&lt;span style=&quot;color: #434f54;&quot;&gt;//Função Andar&lt;/span&gt;
&lt;span style=&quot;color: #00979c;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;andar&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #00979c;&quot;&gt;int&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;passos&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;posicaoInicial&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #00979c;&quot;&gt;int&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;x&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #5e6d03;&quot;&gt;for&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;passos&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;++&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;inclinarEsquerda&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #5e6d03;&quot;&gt;for&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;x&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;x&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;110&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;x&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;++&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;quadrilDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;x&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;quadrilEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;x&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;joelhoDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;x&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;joelhoEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;x&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;0.25&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;tempo&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;inclinarEsquerda&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;inclinarDireita&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #5e6d03;&quot;&gt;for&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;x&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;110&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;x&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;70&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;x&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;--&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;quadrilDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;x&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;quadrilEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;x&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;joelhoDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;x&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;joelhoEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;x&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;0.25&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;tempo&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;inclinarDireita&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;inclinarEsquerda&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: #5e6d03;&quot;&gt;for&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;70&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;++&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;quadrilDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;quadrilEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;joelhoDireito&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;joelhoEsquerdo&lt;/span&gt;&lt;span style=&quot;color: #434f54;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #d35400;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #d35400;&quot;&gt;delay&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;0.25&lt;/span&gt; &lt;span style=&quot;color: #434f54;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;tempo&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;
 &amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;inclinarEsquerda&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;

&lt;span style=&quot;color: #434f54;&quot;&gt;//Fim&lt;/span&gt;

&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/5375842775804854567/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/5375842775804854567?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/5375842775804854567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/5375842775804854567'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2012/12/robo-bipede-programa-de-controle-v-0-9.html' title='Robô Bípede - Programa de controle v. 0.9'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeBSaMnNvVUMvXDnRBVaGly3fO8BPK5gfOTiyk4qVWJfq-HnJqrNYMVlfgRXB1-psoVIow1-xrjtR8fIcb76q2CPRJ2I9NdFmQvM1ZSKU_3fCcPd-aasYWnegQwKmJrOBfft6AwvTlKh6y/s72-w640-h362-c/arduino-codes.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-4463192639858339607</id><published>2012-12-01T19:32:00.004-03:00</published><updated>2020-02-20T19:27:08.085-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="Projetos"/><title type='text'>Robô Bípede - Programa de controle </title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 16px;&quot;&gt;O programa de controle do bípede com 6 servos está em fase de finalização, no momento está na versão 0.8 Beta e a data de lançamento da versão 1.0 está prevista para o dia 4 de dezembro&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;

&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxZLmbtqva17fBR_O-wjygZ5rGJjjEBuXJvCloTtKNG35OeBZ1tWQIxKVrLGytmNbkjYyDllwQGamrYh4ukOuQ6ekpeFGcEeIB0birjqFoCHGm_R2kelxJQVCd3s511gCeHDraFIvW-sOL/s1600/ProgramaDeControleBiped.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;Upload da versão 0.8 para o bípede&quot; border=&quot;0&quot; data-original-height=&quot;633&quot; data-original-width=&quot;781&quot; height=&quot;519&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxZLmbtqva17fBR_O-wjygZ5rGJjjEBuXJvCloTtKNG35OeBZ1tWQIxKVrLGytmNbkjYyDllwQGamrYh4ukOuQ6ekpeFGcEeIB0birjqFoCHGm_R2kelxJQVCd3s511gCeHDraFIvW-sOL/s640/ProgramaDeControleBiped.png&quot; title=&quot;Upload da versão 0.8 para o bípede&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Upload da versão 0.8 para o bípede&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/4463192639858339607/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/4463192639858339607?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/4463192639858339607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/4463192639858339607'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2012/12/robo-bipede-programa-de-controle_1.html' title='Robô Bípede - Programa de controle '/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxZLmbtqva17fBR_O-wjygZ5rGJjjEBuXJvCloTtKNG35OeBZ1tWQIxKVrLGytmNbkjYyDllwQGamrYh4ukOuQ6ekpeFGcEeIB0birjqFoCHGm_R2kelxJQVCd3s511gCeHDraFIvW-sOL/s72-c/ProgramaDeControleBiped.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-7984293495497270943</id><published>2012-11-25T02:25:00.005-03:00</published><updated>2021-10-30T20:32:34.372-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="C/C++"/><category scheme="http://www.blogger.com/atom/ns#" term="Projetos"/><title type='text'>Robô Bípede - Programa de Pré-Montagem</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;
 style=&quot;background: white;
 line-height: normal;
 margin-bottom: .0001pt;
 margin-bottom: 0cm;&quot;&gt;
 
&lt;div class=&quot;separator&quot;
 style=&quot;clear: both;
 text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeBSaMnNvVUMvXDnRBVaGly3fO8BPK5gfOTiyk4qVWJfq-HnJqrNYMVlfgRXB1-psoVIow1-xrjtR8fIcb76q2CPRJ2I9NdFmQvM1ZSKU_3fCcPd-aasYWnegQwKmJrOBfft6AwvTlKh6y/s1600/arduino-codes.png&quot;
 imageanchor=&quot;1&quot;
 style=&quot;margin-left: 1em;
 margin-right: 1em;&quot;&gt;
 &lt;img border=&quot;0&quot;
 data-original-height=&quot;904&quot; 
 data-original-width=&quot;1600&quot; 
 height=&quot;362&quot; 
 src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeBSaMnNvVUMvXDnRBVaGly3fO8BPK5gfOTiyk4qVWJfq-HnJqrNYMVlfgRXB1-psoVIow1-xrjtR8fIcb76q2CPRJ2I9NdFmQvM1ZSKU_3fCcPd-aasYWnegQwKmJrOBfft6AwvTlKh6y/w640-h362/arduino-codes.png&quot;
 width=&quot;640&quot; /&gt;
&lt;/a&gt;
&lt;/div&gt;


&lt;pre&gt;

&lt;font color=&quot;#95a5a6&quot;&gt;&amp;#47;*&lt;/font&gt;
&lt;font color=&quot;#95a5a6&quot;&gt;Programa de pré-montagem do bípede&lt;/font&gt;
&lt;font color=&quot;#95a5a6&quot;&gt;Data: 15&amp;#47;11&amp;#47;2012 às 10:34:57&lt;/font&gt;
&lt;font color=&quot;#95a5a6&quot;&gt;Programa de controle do robô bípede com 6 servos&lt;/font&gt;
&lt;font color=&quot;#95a5a6&quot;&gt;&lt;/font&gt;
&lt;font color=&quot;#95a5a6&quot;&gt;*&amp;#47;&lt;/font&gt;

&lt;font color=&quot;#5e6d03&quot;&gt;#include&lt;/font&gt; &lt;font color=&quot;#434f54&quot;&gt;&amp;lt;&lt;/font&gt;&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Servo&lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;h&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;&amp;gt;&lt;/font&gt;

&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Servos&lt;/font&gt;
&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Quadris&lt;/font&gt;
&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Servo&lt;/font&gt;&lt;/b&gt; &lt;font color=&quot;#000000&quot;&gt;quadrilDireito&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Servo&lt;/font&gt;&lt;/b&gt; &lt;font color=&quot;#000000&quot;&gt;quadrilEsquerdo&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;joelhos&lt;/font&gt;
&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Servo&lt;/font&gt;&lt;/b&gt; &lt;font color=&quot;#000000&quot;&gt;joelhoDireito&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Servo&lt;/font&gt;&lt;/b&gt; &lt;font color=&quot;#000000&quot;&gt;joelhoEsquerdo&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;pés&lt;/font&gt;
&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Servo&lt;/font&gt;&lt;/b&gt; &lt;font color=&quot;#000000&quot;&gt;peDireito&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;b&gt;&lt;font color=&quot;#d35400&quot;&gt;Servo&lt;/font&gt;&lt;/b&gt; &lt;font color=&quot;#000000&quot;&gt;peEsquerdo&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;

&lt;font color=&quot;#00979c&quot;&gt;void&lt;/font&gt; &lt;font color=&quot;#5e6d03&quot;&gt;setup&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Definindo as portas de controle dos servos&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;peDireito&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;attach&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;6&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;peEsquerdo&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;attach&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;11&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;joelhoDireito&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;attach&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;5&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;joelhoEsquerdo&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;attach&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;10&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;quadrilDireito&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;attach&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;3&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;quadrilEsquerdo&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;attach&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;9&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;

&lt;font color=&quot;#00979c&quot;&gt;void&lt;/font&gt; &lt;font color=&quot;#5e6d03&quot;&gt;loop&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Movendo servos para posição inicial&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;posicaoInicial&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#d35400&quot;&gt;delay&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;3000&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;

&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;

&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Função Posição Inicial (Move o eixo de todos os servos para 90º)&lt;/font&gt;
&lt;font color=&quot;#00979c&quot;&gt;void&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;posicaoInicial&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt; &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;peDireito&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;write&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;90&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;peEsquerdo&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;write&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;90&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;quadrilDireito&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;write&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;90&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;quadrilEsquerdo&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;write&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;90&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;joelhoDireito&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;write&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;90&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;joelhoEsquerdo&lt;/font&gt;&lt;font color=&quot;#434f54&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#d35400&quot;&gt;write&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;90&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
 &amp;nbsp;&lt;font color=&quot;#d35400&quot;&gt;delay&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;2000&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;font color=&quot;#434f54&quot;&gt;&amp;#47;&amp;#47;Fim&lt;/font&gt;

&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/7984293495497270943/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/7984293495497270943?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/7984293495497270943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/7984293495497270943'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2012/11/robo-bipede-programa-de-pre-montagem.html' title='Robô Bípede - Programa de Pré-Montagem'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeBSaMnNvVUMvXDnRBVaGly3fO8BPK5gfOTiyk4qVWJfq-HnJqrNYMVlfgRXB1-psoVIow1-xrjtR8fIcb76q2CPRJ2I9NdFmQvM1ZSKU_3fCcPd-aasYWnegQwKmJrOBfft6AwvTlKh6y/s72-w640-h362-c/arduino-codes.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-8486125972276697335</id><published>2012-10-20T18:30:00.001-03:00</published><updated>2020-02-20T22:17:41.762-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Projetos"/><title type='text'>Robô Bípede - Chassi</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 16px;&quot;&gt;
Robô bípede é um pequeno robô que possui duas pernas. Este modelo utiliza seis servo-motores para &amp;nbsp;locomoção e poderá ser controlado de forma autônoma ou manual.
&lt;/span&gt;
&lt;/div&gt;
&lt;br /&gt;


&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghyphenhyphenmckd2IMvEtMvHXc6zwIsFiagWbiDYtXf4FAkLgnclvP8XKJl7ixNpHr-KXv-YOzxtHoQsRLbc6o3Dg0aHb07yzfVUEt2eV5bQLXvw9-eRaWEB0uxay-7UV02rgvyC1Ju7Yx0P2skgEw/s1600/Foto0028.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;Bípede (vista frontal)&quot; border=&quot;0&quot; data-original-height=&quot;1600&quot; data-original-width=&quot;1200&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghyphenhyphenmckd2IMvEtMvHXc6zwIsFiagWbiDYtXf4FAkLgnclvP8XKJl7ixNpHr-KXv-YOzxtHoQsRLbc6o3Dg0aHb07yzfVUEt2eV5bQLXvw9-eRaWEB0uxay-7UV02rgvyC1Ju7Yx0P2skgEw/s320/Foto0028.jpg&quot; title=&quot;Bípede (vista frontal)&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;

&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzkV2ExsaJWNPjmSbWFsS9Ml1DSxetlh6U6vUBc-JTzXZq7Az56ATU7ljcXpe044nXrcvQ_VIEVeIs1gG8six0Qm7Kp8T08nJnsJfI-gfvS63enSDDGPc-Z7b645HJ4Vcxs0LvqbbBIJK5/s1600/Foto0029.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;Bípede (vista traseira)&quot; border=&quot;0&quot; data-original-height=&quot;1600&quot; data-original-width=&quot;1200&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzkV2ExsaJWNPjmSbWFsS9Ml1DSxetlh6U6vUBc-JTzXZq7Az56ATU7ljcXpe044nXrcvQ_VIEVeIs1gG8six0Qm7Kp8T08nJnsJfI-gfvS63enSDDGPc-Z7b645HJ4Vcxs0LvqbbBIJK5/s320/Foto0029.jpg&quot; title=&quot;Bípede (vista traseira)&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;

&lt;/div&gt;

</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/8486125972276697335/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/8486125972276697335?isPopup=true' title='5 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/8486125972276697335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/8486125972276697335'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2012/10/chassi-robo-bipede.html' title='Robô Bípede - Chassi'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghyphenhyphenmckd2IMvEtMvHXc6zwIsFiagWbiDYtXf4FAkLgnclvP8XKJl7ixNpHr-KXv-YOzxtHoQsRLbc6o3Dg0aHb07yzfVUEt2eV5bQLXvw9-eRaWEB0uxay-7UV02rgvyC1Ju7Yx0P2skgEw/s72-c/Foto0028.jpg" height="72" width="72"/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-5321909737830229247</id><published>2012-09-03T16:05:00.005-03:00</published><updated>2020-02-20T20:11:51.612-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><title type='text'>Simulino UNO [Simulador de Arduino UNO]</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 16px;&quot;&gt;
O Simulador possui aparência e funcionalidade muito similar à placa original, foi desenvolvido pelo &lt;a href=&quot;https://blogembarcado.blogspot.com.br/2012/02/simulino-simulando-arduino.html&quot; target=&quot;_blank&quot;&gt;Blog Embarcado&lt;/a&gt; utilizando o software Proteus e é baseado no Arduino UNO R3.
&lt;/span&gt;
&lt;/div&gt;

&lt;br /&gt;

&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgshUlBgVoML-isDT3MJW2VeJe5U0CExQJ7fU5lnLyZde9IiN4Xbb6rHf5hdmtnMRZc39B49o9wew322iNBQNz-mdiqsA2TWt5Fwa_X4cUTsBpPxo1g609N2SAMf-Pa-XY6CEWOTVQBDSMz/s1600/Sem+t%25C3%25ADtulo.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;Simulino UNO&quot; border=&quot;0&quot; data-original-height=&quot;539&quot; data-original-width=&quot;689&quot; height=&quot;313&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgshUlBgVoML-isDT3MJW2VeJe5U0CExQJ7fU5lnLyZde9IiN4Xbb6rHf5hdmtnMRZc39B49o9wew322iNBQNz-mdiqsA2TWt5Fwa_X4cUTsBpPxo1g609N2SAMf-Pa-XY6CEWOTVQBDSMz/s400/Sem+t%25C3%25ADtulo.png&quot; title=&quot;Simulino UNO&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Simulino UNO&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;br /&gt;

&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 16px;&quot;&gt;
Clique &lt;a href=&quot;https://skydrive.live.com/redir?resid=7A96730D6C176F80!790&quot; target=&quot;_blank&quot;&gt;aqui&lt;/a&gt; para fazer o download do Simulino UNO
&lt;/span&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/5321909737830229247/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/5321909737830229247?isPopup=true' title='4 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/5321909737830229247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/5321909737830229247'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2012/09/simulino-uno.html' title='Simulino UNO [Simulador de Arduino UNO]'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgshUlBgVoML-isDT3MJW2VeJe5U0CExQJ7fU5lnLyZde9IiN4Xbb6rHf5hdmtnMRZc39B49o9wew322iNBQNz-mdiqsA2TWt5Fwa_X4cUTsBpPxo1g609N2SAMf-Pa-XY6CEWOTVQBDSMz/s72-c/Sem+t%25C3%25ADtulo.png" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-6145045311868591497</id><published>2012-08-27T15:52:00.001-03:00</published><updated>2020-02-20T20:17:54.258-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="Tutoriais"/><title type='text'>Alterando o idioma da IDE do Arduino 1.01</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;times new roman&amp;quot;, serif; font-size: 16px; text-align: start;&quot;&gt;
O idioma padrão da interface do Arduino é o inglês, porém é possível personalizar a interface trocando o idioma padrão para português ou outro idioma de sua preferência.
&lt;/span&gt;
&lt;/div&gt;

&lt;br /&gt;

&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/xZgkbzyeBzo&quot; frameborder=&quot;0&quot; allow=&quot;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/6145045311868591497/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/6145045311868591497?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/6145045311868591497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/6145045311868591497'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2012/08/alterar-idioma-ide-arduino.html' title='Alterando o idioma da IDE do Arduino 1.01'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/xZgkbzyeBzo/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-7386438840021982470</id><published>2012-07-27T14:39:00.002-03:00</published><updated>2020-02-20T20:28:43.306-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Tutoriais"/><title type='text'>Como soldar componentes eletrônicos</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 16px;&quot;&gt;
Aprenda com este vídeo tutorial do &lt;a href=&quot;http://www.tecmundo.com.br/area-42/25840-area-42-como-soldar-componentes-eletronicos.htm&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Tecmundo&lt;/a&gt; a efetuar soldas com qualidade e rapidez.
&lt;/span&gt;
&lt;/div&gt;

&lt;br /&gt;

&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;iframe allow=&quot;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/6RmA_Qq0KPs&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/7386438840021982470/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/7386438840021982470?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/7386438840021982470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/7386438840021982470'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2012/07/soldando-componentes-eletronicos.html' title='Como soldar componentes eletrônicos'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/6RmA_Qq0KPs/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-2729578293674476028</id><published>2012-04-13T22:29:00.003-03:00</published><updated>2020-02-22T10:16:24.714-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Campeonatos"/><category scheme="http://www.blogger.com/atom/ns#" term="Minotauro"/><category scheme="http://www.blogger.com/atom/ns#" term="Projetos"/><title type='text'>Lutas do Minotauro no CBRA 2011</title><content type='html'>&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEju2CsdmAxdppDzhQt9lZjtW1r0Ik02KdJLQeHJiij29mWe9Vw0cCCP3ddyl74Z_8p5qZseya2KXXZnoX1fUIZZrFhKGYZ02G-ldZlOpUDXsATFMJ4BmjDdpA714PbldbpYZvPykrDzuSED/s1600/CBRA+2011.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;CBRA 2011&quot; border=&quot;0&quot; data-original-height=&quot;600&quot; data-original-width=&quot;800&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEju2CsdmAxdppDzhQt9lZjtW1r0Ik02KdJLQeHJiij29mWe9Vw0cCCP3ddyl74Z_8p5qZseya2KXXZnoX1fUIZZrFhKGYZ02G-ldZlOpUDXsATFMJ4BmjDdpA714PbldbpYZvPykrDzuSED/s400/CBRA+2011.jpg&quot; title=&quot;CBRA 2011&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Minotauro x Verme&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 16px;&quot;&gt;
Lista de reprodução com alguns dos vídeos do Campeonato Baiano de Robôs Autônomos (CBRA 2011).
&lt;/span&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;iframe allow=&quot;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/videoseries?list=PL0B0CBA2159A61766&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/2729578293674476028/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/2729578293674476028?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/2729578293674476028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/2729578293674476028'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2012/04/minotauro-no-cbra-2011.html' title='Lutas do Minotauro no CBRA 2011'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEju2CsdmAxdppDzhQt9lZjtW1r0Ik02KdJLQeHJiij29mWe9Vw0cCCP3ddyl74Z_8p5qZseya2KXXZnoX1fUIZZrFhKGYZ02G-ldZlOpUDXsATFMJ4BmjDdpA714PbldbpYZvPykrDzuSED/s72-c/CBRA+2011.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6048397612350913035.post-8076828801913114649</id><published>2012-03-14T15:36:00.001-03:00</published><updated>2020-02-20T20:31:42.689-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Projetos"/><title type='text'>Adaptando fonte ATX para bancada</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 16px; text-align: justify;&quot;&gt;Uma fonte de alimentação de qualidade é um item indispensável numa bancada de eletrônica, porém, seu preço é relativamente alto, principalmente as que possuem proteção contra curto-circuito e sobrecarga.
&lt;br /&gt;
Uma alternativa eficiente e de baixo custo é adaptar uma fonte ATX, pois, ela possui proteção contra curto-circuito e pode fornecer altos níveis de corrente. Abaixo disponibilizamos um modelo e o link para baixar o tutorial completo de como adaptar sua Fonte ATX.
&lt;/span&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg86lyAs2jcx6Nl731eGaBu2m4bli-BxSzLkWMRg6KTFa2kUTHxagipAJ38A2NjOA68fZzT_3QIyBU6EcW1Lc9Dt1UCGIm8UE_smzzRQMQSQpCe392heHdi_AI2xW8jqB59c8ayClhZXJa-/s1600/01.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Fonte ATX &quot; border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg86lyAs2jcx6Nl731eGaBu2m4bli-BxSzLkWMRg6KTFa2kUTHxagipAJ38A2NjOA68fZzT_3QIyBU6EcW1Lc9Dt1UCGIm8UE_smzzRQMQSQpCe392heHdi_AI2xW8jqB59c8ayClhZXJa-/s400/01.jpg&quot; title=&quot;Fonte ATX &quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 16px; text-align: center;&quot;&gt;
Clique &lt;a href=&quot;https://1drv.ms/b/s!AoBvF2wNc5Z6gzqSZ_IibfyvSFGd?e=gnYB5d&quot; target=&quot;_blank&quot;&gt;aqui&lt;/a&gt; para fazer o download do tutorial
&lt;/span&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.mbsborges.com/feeds/8076828801913114649/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6048397612350913035/8076828801913114649?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/8076828801913114649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6048397612350913035/posts/default/8076828801913114649'/><link rel='alternate' type='text/html' href='http://www.mbsborges.com/2012/03/como-adaptar-fonte-atx-para-bancada.html' title='Adaptando fonte ATX para bancada'/><author><name>Marcelo Borges dos Santos</name><uri>http://www.blogger.com/profile/08929635816399382966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzWTmyQLOQQsDvAH6E1qTeV1z02nYbq0wK6SROwWCqm6OIsXiscT343J9gl93yKrZUC5gftulngmdQAP5XzzL4rmG0aenoqavL71_wuw3qPPWjaYhgIdwYc8R1WYndHVc/s113/19665607_1825969034085488_1363998071100649522_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg86lyAs2jcx6Nl731eGaBu2m4bli-BxSzLkWMRg6KTFa2kUTHxagipAJ38A2NjOA68fZzT_3QIyBU6EcW1Lc9Dt1UCGIm8UE_smzzRQMQSQpCe392heHdi_AI2xW8jqB59c8ayClhZXJa-/s72-c/01.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>