<?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-8711226211454682284</id><updated>2024-03-13T16:14:57.847-07:00</updated><category term="mecatronica"/><category term="zacatepec"/><category term="matlab"/><category term="Robotica"/><category term="robotica microcontroladores"/><category term="segmentacion de imagen"/><category term="vision por computadora"/><category term="interfaz"/><category term="proteus"/><category term="articulo cientifico"/><category term="jojutla"/><category term="microcontroladores"/><category term="puerto paralelo"/><category term="serie"/><category term="Bobinas"/><category term="adquisición de datos"/><category term="archivos"/><category term="inductancias"/><category term="inicio"/><category term="lenguaje c"/><category term="libro"/><category term="lpt1"/><category term="motor a pasos matlab"/><category term="paint matlab"/><category term="programacion"/><category term="puerto"/><category term="simulink"/><category term="zoom matlab"/><title type='text'>Mecatronica</title><subtitle type='html'>Fusionando la mecanica electronica y el control</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>44</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-7846879277056167614</id><published>2018-05-17T15:57:00.000-07:00</published><updated>2018-05-17T15:57:01.342-07:00</updated><title type='text'>ARDUINO Y SIMULINK</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
https://la.mathworks.com/videos/series/arduino-with-matlab-and-simulink-99406.html&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/7846879277056167614/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/7846879277056167614' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/7846879277056167614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/7846879277056167614'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2018/05/arduino-y-simulink.html' title='ARDUINO Y SIMULINK'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-4924757958281291693</id><published>2018-05-17T15:25:00.001-07:00</published><updated>2018-05-17T15:42:40.361-07:00</updated><title type='text'>programas a reproducir para aprender interfaces con matlab</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&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;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
GUI EN MATLAB&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;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;img alt=&quot;Resultado de imagen para MATLAB GUI&quot; height=&quot;358&quot; src=&quot;https://i.ytimg.com/vi/bipueUV01X8/maxresdefault.jpg&quot; width=&quot;640&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
REALIZAR EL&amp;nbsp; PROGRAMA DE CADA UNO DE LOS VIDEOS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.youtube.com/watch?v=S4xR2DjedG8&amp;amp;list=PLjApqg2Zsw31HHJONnV9IQkxTQfUrW_9F&amp;amp;index=1&quot;&gt;Curso Básico de GUI MATLAB. Introducción al entorno de desarrollo&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.youtube.com/watch?v=YMBQ8_sj24Q&amp;amp;index=2&amp;amp;list=PLjApqg2Zsw31HHJONnV9IQkxTQfUrW_9F&quot;&gt;Curso Básico de GUI MATLAB 2. Edit Text, Static Text y Push Button&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.youtube.com/watch?v=tJGbqaC-PU0&amp;amp;list=PLjApqg2Zsw31HHJONnV9IQkxTQfUrW_9F&amp;amp;index=3&quot;&gt;Curso Básico de GUI MATLAB 3. Axes&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.youtube.com/watch?v=etW5ZRmohh8&amp;amp;index=4&amp;amp;list=PLjApqg2Zsw31HHJONnV9IQkxTQfUrW_9F&quot;&gt;Curso Básico de GUI MATLAB 4. Pop-up Menu y Listbox&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.youtube.com/watch?v=JGddv5AR7PM&amp;amp;index=5&amp;amp;list=PLjApqg2Zsw31HHJONnV9IQkxTQfUrW_9F&quot;&gt;Curso Básico de GUI MATLAB 5. Radio Button y Check Box&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.youtube.com/watch?v=oD9ngF6aU7o&amp;amp;index=6&amp;amp;list=PLjApqg2Zsw31HHJONnV9IQkxTQfUrW_9F&quot;&gt;Curso Básico de GUI MATLAB 6. Slider&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.youtube.com/watch?v=E5rwUcsgrSk&amp;amp;list=PLjApqg2Zsw31HHJONnV9IQkxTQfUrW_9F&amp;amp;index=7&quot;&gt;Curso Básico de GUI MATLAB 7. Tablas&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.youtube.com/watch?v=UAmHE9VU3Rk&amp;amp;list=PLjApqg2Zsw31HHJONnV9IQkxTQfUrW_9F&amp;amp;index=8&quot;&gt;Curso Básico de GUI MATLAB 8. Condiciones iniciales y organización de elementos&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.youtube.com/watch?v=ZBFbrzfsuJI&amp;amp;index=9&amp;amp;list=PLjApqg2Zsw31HHJONnV9IQkxTQfUrW_9F&quot;&gt;Curso Básico de GUI MATLAB 9. Cuadros de diálogo (msgbox, errordlg,...&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.youtube.com/watch?v=hjr8Hc56Rqo&amp;amp;list=PLjApqg2Zsw31HHJONnV9IQkxTQfUrW_9F&amp;amp;index=10&quot;&gt;Curso Básico de GUI MATLAB 10. Agregar menú a la GUI&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/4924757958281291693/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/4924757958281291693' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/4924757958281291693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/4924757958281291693'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2018/05/programas-reproducir-para-aprender.html' title='programas a reproducir para aprender interfaces con matlab'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-7954382253642780689</id><published>2015-11-04T09:28:00.001-08:00</published><updated>2015-11-04T09:28:27.911-08:00</updated><title type='text'>RESPONDIENDO A UN SOLO BIT</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
unsigned short dato; &amp;nbsp; // Se declara “dato” para almacenar un byte u octeto&lt;br /&gt;
void main() {&lt;br /&gt;
&amp;nbsp; ANSEL=ANSELH=0x00; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Deshabilita entradas analógicas, &amp;nbsp;pone todo en digital&lt;br /&gt;
&amp;nbsp; PORTB=0x00; &amp;nbsp; &amp;nbsp;// Pone a 0 todos los bits del registro RB&lt;br /&gt;
&amp;nbsp; TRISB=0x00; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Habilita todos los bits de RB como salidas&lt;br /&gt;
&amp;nbsp; // Inicializa módulo USART (8 bit, 9600 bauds, sin bit de paridad)&lt;br /&gt;
&amp;nbsp; Uart1_Init(9600);&lt;br /&gt;
&amp;nbsp; do { // Ciclo infinito para checar continuamente la transmisión&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Uart1_Data_Ready()) { &amp;nbsp; // Si un byte es recibido&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; dato = Uart1_Read(); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Lee el byte recibido del pin Rx del PIC en “dato”&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;switch (dato){ &amp;nbsp; // Verifica el valor del byte recibido por el PIC&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case &#39;A&#39;: PORTB.F0=1; break; &amp;nbsp;// Si el dato es “A” pone 1 en el bit 0 de RB&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case &#39;R&#39;: PORTB.F1=1; break; &amp;nbsp;// Si el dato es “R” pone 1 en el bit 1 de RB&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case &#39;V&#39;: PORTB.F2=1; break; &amp;nbsp;// Si el dato es “V” pone 1 en el bit 2 de RB&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case &#39;a&#39;: PORTB.F0=0; break; &amp;nbsp; &amp;nbsp;// Si el dato es “a” pone 0 en el bit 0 de RB&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case &#39;r&#39;: PORTB.F1=0; break; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Si el dato es “r” pone 0 en el bit 1 de RB&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case &#39;v&#39;: PORTB.F2=0; break; &amp;nbsp; &amp;nbsp;// Si el dato es “v” pone 0 en el bit 2 de RB&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Uart1_Write(dato); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Envía el dato leído vía USART por el pin Tx&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; } while (1);&lt;br /&gt;
}&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/7954382253642780689/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/7954382253642780689' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/7954382253642780689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/7954382253642780689'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2015/11/respondiendo-un-solo-bit.html' title='RESPONDIENDO A UN SOLO BIT'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-7133308565431613304</id><published>2015-11-04T08:28:00.002-08:00</published><updated>2015-11-04T08:28:43.644-08:00</updated><title type='text'>ENVIO DE TEXTO A TRAVEZ DE TERMINAL,VERDE , AZUUL, AMARILLO CON PUNTO COMO TERMINADOR</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
void main(){&lt;br /&gt;
&amp;nbsp; char str[6]=&quot;verde&quot;;&lt;br /&gt;
&amp;nbsp; char str1[6]=&quot;azuul&quot;;&lt;br /&gt;
&amp;nbsp; char str2[6]=&quot;rojos&quot;;&lt;br /&gt;
&amp;nbsp; char str3[6]=&quot;amari&quot;;&lt;br /&gt;
&amp;nbsp; char cad[6];&lt;br /&gt;
&amp;nbsp; ANSEL=ANSELH=0x00;&lt;br /&gt;
&amp;nbsp; TRISB=0x00;&lt;br /&gt;
&amp;nbsp; Uart1_Init(9600);&lt;br /&gt;
&amp;nbsp; osccon=0x77;&lt;br /&gt;
&amp;nbsp; while(1) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (Uart1_Data_Ready()) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Uart1_Read_Text(cad,&quot;\.&quot;,255);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Uart1_Write_text(cad);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// verde&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(!strcmp(str,cad))&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Uart1_Write(13);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PORTB=0B00000001;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delay_ms(100);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cad[0]=cad[1]=cad[2]=cad[3]=cad[4]=cad[5]=&quot; &quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} &amp;nbsp; // azuul&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else &amp;nbsp;if(!strcmp(str1,cad))&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Uart1_Write(13);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PORTB=0B00000010;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delay_ms(100);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cad[0]=cad[1]=cad[2]=cad[3]=cad[4]=cad[5]=&quot; &quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} &amp;nbsp;// rojos&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else &amp;nbsp;if(!strcmp(str2,cad))&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Uart1_Write(13);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PORTB=0B00000100;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delay_ms(100);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cad[0]=cad[1]=cad[2]=cad[3]=cad[4]=cad[5]=&quot; &quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} &amp;nbsp; &amp;nbsp; &amp;nbsp;//amari&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else &amp;nbsp;if(!strcmp(str3,cad))&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Uart1_Write(13);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PORTB=0B00001000;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delay_ms(100);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cad[0]=cad[1]=cad[2]=cad[3]=cad[4]=cad[5]=&quot; &quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //Uart1_Write_text(&quot; Falso &quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Uart1_Write(13);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PORTB=0B00010000;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delay_ms(100);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cad[0]=cad[1]=cad[2]=cad[3]=cad[4]=cad[5]=&quot; &quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp;//if&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
}&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/7133308565431613304/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/7133308565431613304' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/7133308565431613304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/7133308565431613304'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2015/11/envio-de-texto-travez-de-terminalverde.html' title='ENVIO DE TEXTO A TRAVEZ DE TERMINAL,VERDE , AZUUL, AMARILLO CON PUNTO COMO TERMINADOR'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-209642745789626048</id><published>2015-10-28T17:56:00.006-07:00</published><updated>2015-10-28T17:57:03.283-07:00</updated><title type='text'>El arduino Nano y su descripcion</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&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/AVvXsEgnP1C8qOS_1HqA19OBy7_FDpWDdTRFzGzAUEyYklXFbV09xbFgzQ2Cn4PmQ5dlTNiFmD9TCF0j_aSyWI6EWYH2DUKcaf5MiD_j5Kt4-9LzGKORtQwrxKmpCYtxcGRJneJ2FrBPlfPMX5s/s1600/Diapositiva13.JPG&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/AVvXsEgnP1C8qOS_1HqA19OBy7_FDpWDdTRFzGzAUEyYklXFbV09xbFgzQ2Cn4PmQ5dlTNiFmD9TCF0j_aSyWI6EWYH2DUKcaf5MiD_j5Kt4-9LzGKORtQwrxKmpCYtxcGRJneJ2FrBPlfPMX5s/s640/Diapositiva13.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/209642745789626048/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/209642745789626048' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/209642745789626048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/209642745789626048'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2015/10/el-aduino-nano-y-su-descripcion.html' title='El arduino Nano y su descripcion'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnP1C8qOS_1HqA19OBy7_FDpWDdTRFzGzAUEyYklXFbV09xbFgzQ2Cn4PmQ5dlTNiFmD9TCF0j_aSyWI6EWYH2DUKcaf5MiD_j5Kt4-9LzGKORtQwrxKmpCYtxcGRJneJ2FrBPlfPMX5s/s72-c/Diapositiva13.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-1346689905618378233</id><published>2015-10-28T17:53:00.001-07:00</published><updated>2015-10-28T17:53:45.119-07:00</updated><title type='text'>Lo que debo saber para graficar php</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&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/AVvXsEhwlj6klhE2YdP6j2KaKFhQR1_5OqQotOWGQzReP-WKpmwVNBI3TO1WM_1SiItuq_c32NQZPDsd6mFEsXaJdICqO9kCqorjyuWQutELftv-tbFEzf3IsTfAYewu_hFuhu0lUwH4hXdbcDs/s1600/Diapositiva8.JPG&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/AVvXsEhwlj6klhE2YdP6j2KaKFhQR1_5OqQotOWGQzReP-WKpmwVNBI3TO1WM_1SiItuq_c32NQZPDsd6mFEsXaJdICqO9kCqorjyuWQutELftv-tbFEzf3IsTfAYewu_hFuhu0lUwH4hXdbcDs/s640/Diapositiva8.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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/AVvXsEiYsEAy616lh92MgAjxaAGAFM7f_bPFNXuipbvQfCGGAv_JV7j0bhM0BhWrIA1iMOXlv9ew5qM1locH6ddyUfGIDE9cb0p2LIPEsxvLeAjYokYGzuNKJknxpvQswsbGEddvdKCaxeGHTAA/s1600/Diapositiva9.JPG&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/AVvXsEiYsEAy616lh92MgAjxaAGAFM7f_bPFNXuipbvQfCGGAv_JV7j0bhM0BhWrIA1iMOXlv9ew5qM1locH6ddyUfGIDE9cb0p2LIPEsxvLeAjYokYGzuNKJknxpvQswsbGEddvdKCaxeGHTAA/s640/Diapositiva9.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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/AVvXsEgfqePWvkq0G-0pFMc20b1hS4nUCIY4nfPgqhHUNziCT0fQLkglxkWj-KhV958wDC0zcCegJDa8ddDLyaTL0hV16rJPCs-6bGtxNtEh-9DNKmTeSIYgSdUZotLEhCTkCbkzo7-XcXuOdZA/s1600/Diapositiva10.JPG&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/AVvXsEgfqePWvkq0G-0pFMc20b1hS4nUCIY4nfPgqhHUNziCT0fQLkglxkWj-KhV958wDC0zcCegJDa8ddDLyaTL0hV16rJPCs-6bGtxNtEh-9DNKmTeSIYgSdUZotLEhCTkCbkzo7-XcXuOdZA/s640/Diapositiva10.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/1346689905618378233/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/1346689905618378233' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/1346689905618378233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/1346689905618378233'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2015/10/lo-que-debo-saber-para-graficar-php.html' title='Lo que debo saber para graficar php'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwlj6klhE2YdP6j2KaKFhQR1_5OqQotOWGQzReP-WKpmwVNBI3TO1WM_1SiItuq_c32NQZPDsd6mFEsXaJdICqO9kCqorjyuWQutELftv-tbFEzf3IsTfAYewu_hFuhu0lUwH4hXdbcDs/s72-c/Diapositiva8.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-6495648129064509714</id><published>2015-10-28T17:49:00.001-07:00</published><updated>2015-10-28T17:49:23.677-07:00</updated><title type='text'>Comunicacion basica Esp8266   usando php</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&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/AVvXsEgId6yjnE9evC7PF6rvNaz_v_pTg39APPMFOvdpEc5uhDPejGQ5wCaFludGHhVBOaIS2c0EPY0m0kYCjTJsimnid4_sCMcHK4WOSn3rNmJaqUVAw4kXf3656ddG-LPGXSHAsQNLNnVCZL4/s1600/Diapositiva6.JPG&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/AVvXsEgId6yjnE9evC7PF6rvNaz_v_pTg39APPMFOvdpEc5uhDPejGQ5wCaFludGHhVBOaIS2c0EPY0m0kYCjTJsimnid4_sCMcHK4WOSn3rNmJaqUVAw4kXf3656ddG-LPGXSHAsQNLNnVCZL4/s640/Diapositiva6.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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/AVvXsEi0bgkQsRA4ExafwT0MmKn2zXTj5abyO8Oo6_TunrOJkQGY_VRLhXpdIPBY06T9EGloQIzzOJi7cDQ2konfe1Pi3IVR4u5fpdV5UbseCrEXh4nhyphenhyphenxmq40WvZo3Ws7aHprcykZbA_54cHc8/s1600/Diapositiva7.JPG&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/AVvXsEi0bgkQsRA4ExafwT0MmKn2zXTj5abyO8Oo6_TunrOJkQGY_VRLhXpdIPBY06T9EGloQIzzOJi7cDQ2konfe1Pi3IVR4u5fpdV5UbseCrEXh4nhyphenhyphenxmq40WvZo3Ws7aHprcykZbA_54cHc8/s640/Diapositiva7.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/6495648129064509714/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/6495648129064509714' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/6495648129064509714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/6495648129064509714'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2015/10/comunicacion-basica-esp8266-usando-php.html' title='Comunicacion basica Esp8266   usando php'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgId6yjnE9evC7PF6rvNaz_v_pTg39APPMFOvdpEc5uhDPejGQ5wCaFludGHhVBOaIS2c0EPY0m0kYCjTJsimnid4_sCMcHK4WOSn3rNmJaqUVAw4kXf3656ddG-LPGXSHAsQNLNnVCZL4/s72-c/Diapositiva6.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-1637958858903112980</id><published>2015-10-28T17:47:00.000-07:00</published><updated>2015-10-28T17:47:02.527-07:00</updated><title type='text'>Conectividad Wifi  esp8266</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&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/AVvXsEguog03-69IYLbQbgGJ4NM6cZeOM6lCrFO5L3D0uw5iQjzLMaDn4VppkyzDy58H0R1mceoalpmsXFwdDgTjsmu3q0pmGzczEPstk19_7QKFjsF4uBGXmKWt242_g576COulKT8yOy_js9c/s1600/Diapositiva2.JPG&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/AVvXsEguog03-69IYLbQbgGJ4NM6cZeOM6lCrFO5L3D0uw5iQjzLMaDn4VppkyzDy58H0R1mceoalpmsXFwdDgTjsmu3q0pmGzczEPstk19_7QKFjsF4uBGXmKWt242_g576COulKT8yOy_js9c/s640/Diapositiva2.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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/AVvXsEiReUEuC2BkEVQSSjfwCXgWNEQklXJeTLWkHo60-sMmOzlZi2wRCWVh71MvPQ59UOh_HgD5JKgoYtNrTISHY40julLUcIXfJYwMS5aRiwzPDFayup1B2kSOQYBUSw-m2ZqpjWBgqaGuqbc/s1600/Diapositiva3.JPG&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/AVvXsEiReUEuC2BkEVQSSjfwCXgWNEQklXJeTLWkHo60-sMmOzlZi2wRCWVh71MvPQ59UOh_HgD5JKgoYtNrTISHY40julLUcIXfJYwMS5aRiwzPDFayup1B2kSOQYBUSw-m2ZqpjWBgqaGuqbc/s640/Diapositiva3.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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/AVvXsEgwITt3Q5k6gbuH9wL8qp-wo8V972AG1w_4TQBa5rh1C7eneB5CXYDNopl68CZ8PqsVfAGzZNLbdUboj-0iQpaMSVtf_1zadSd4m16TG4kFM80hPsv9dd1cCvnqpw4W0BL12CAdfIOJ27Y/s1600/Diapositiva4.JPG&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/AVvXsEgwITt3Q5k6gbuH9wL8qp-wo8V972AG1w_4TQBa5rh1C7eneB5CXYDNopl68CZ8PqsVfAGzZNLbdUboj-0iQpaMSVtf_1zadSd4m16TG4kFM80hPsv9dd1cCvnqpw4W0BL12CAdfIOJ27Y/s640/Diapositiva4.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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/AVvXsEgoIOU6JoLhqeC0K6ryxLQ8PvxO2fsGEAF8EMQrn4q1vwSOzSbDmFR8QnActwQOVUxPEtf9KHO002lkSIBle4StNpjsWsF8jfYztcX_ILIQmFWsAzLWyMJbEldE4BUPXF9yvXYHFE-6RgI/s1600/Diapositiva5.JPG&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/AVvXsEgoIOU6JoLhqeC0K6ryxLQ8PvxO2fsGEAF8EMQrn4q1vwSOzSbDmFR8QnActwQOVUxPEtf9KHO002lkSIBle4StNpjsWsF8jfYztcX_ILIQmFWsAzLWyMJbEldE4BUPXF9yvXYHFE-6RgI/s640/Diapositiva5.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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/AVvXsEiZlTwc6Clv59xbzqsqoSpzQOrj25EEL-Bn7gkV0AGW-EsRH-Z89eRm12kTqy7PZ7yeVnDk5Y-2VkdiiCShXt1Wi_1wf5ehxykBqpR55EqA7WvOpYoBHTM7WPoo_tzhCPmog82DJnpQw7c/s1600/Diapositiva6.JPG&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/AVvXsEiZlTwc6Clv59xbzqsqoSpzQOrj25EEL-Bn7gkV0AGW-EsRH-Z89eRm12kTqy7PZ7yeVnDk5Y-2VkdiiCShXt1Wi_1wf5ehxykBqpR55EqA7WvOpYoBHTM7WPoo_tzhCPmog82DJnpQw7c/s640/Diapositiva6.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/1637958858903112980/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/1637958858903112980' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/1637958858903112980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/1637958858903112980'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2015/10/conectividad-wifi-esp8266.html' title='Conectividad Wifi  esp8266'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguog03-69IYLbQbgGJ4NM6cZeOM6lCrFO5L3D0uw5iQjzLMaDn4VppkyzDy58H0R1mceoalpmsXFwdDgTjsmu3q0pmGzczEPstk19_7QKFjsF4uBGXmKWt242_g576COulKT8yOy_js9c/s72-c/Diapositiva2.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-3343638383480367648</id><published>2013-12-09T11:23:00.000-08:00</published><updated>2013-12-09T11:23:01.003-08:00</updated><title type='text'>CUENTA MONEDAS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;pre class=&quot;matlab-code&quot; style=&quot;background-color: white; color: #626b77; font-size: 11px; line-height: 15px; overflow: hidden !important; padding: 0px; white-space: pre-wrap; width: 600px !important; word-wrap: break-word;&quot;&gt;
&lt;/pre&gt;
&lt;pre class=&quot;matlab-code&quot; style=&quot;background-color: white; color: #626b77; font-size: 11px; line-height: 15px; overflow: hidden !important; padding: 0px; white-space: pre-wrap; width: 600px !important; word-wrap: break-word;&quot;&gt;UN EXCELENTE PROGRAMA PARA APRENDER LAS INTRUCCIONES IMFILL,BWLABEL,REGIONPROPS ETC...&lt;/pre&gt;
&lt;pre class=&quot;matlab-code&quot; style=&quot;background-color: white; color: #626b77; font-size: 11px; line-height: 15px; overflow: hidden !important; padding: 0px; white-space: pre-wrap; width: 600px !important; word-wrap: break-word;&quot;&gt;
&lt;/pre&gt;
&lt;pre class=&quot;matlab-code&quot; style=&quot;background-color: white; color: #626b77; font-size: 11px; line-height: 15px; overflow: hidden !important; padding: 0px; white-space: pre-wrap; width: 600px !important; word-wrap: break-word;&quot;&gt;%% COUNT OF COINS
% Ing. Diego Barragn Guerrero
% www.matpic.com - www.eqbyte.com
%% Convert image to BW&lt;/pre&gt;
&lt;pre class=&quot;matlab-code&quot; style=&quot;background-color: white; color: #626b77; font-size: 11px; line-height: 15px; overflow: hidden !important; padding: 0px; white-space: pre-wrap; width: 600px !important; word-wrap: break-word;&quot;&gt;coin1 = im2bw(imread(&#39;coins.png&#39;));
%% Fill image regions and holes
coin2 = imfill(coin1,&#39;holes&#39;);
%% Label and count connected components
[L Ne]=bwlabel(double(coin2));
%% Measure properties of image regions
prop=regionprops(L,&#39;Area&#39;,&#39;Centroid&#39;);
%% Counter
total=0;
%% Show image
imshow(imread(&#39;coins.png&#39;));hold on
%% Money count based on area of coin
for n=1:size(prop,1) %For 1 to Total number of coins
    cent=prop(n).Centroid;
    X=cent(1);Y=cent(2);
    if prop(n).Area&amp;gt;2000
        text(X-10,Y,&#39;5 C&#39;) 
        total=total+5;
    else
        total=total+10;
        text(X-10,Y,&#39;10 C&#39;) 
    end
end
hold on
title([&#39;Total of money: &#39;,num2str(total),&#39; Cents&#39;])&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/3343638383480367648/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/3343638383480367648' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/3343638383480367648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/3343638383480367648'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2013/12/cuenta-monedas.html' title='CUENTA MONEDAS'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-2508279544351128869</id><published>2013-11-26T02:39:00.000-08:00</published><updated>2013-11-26T02:39:50.225-08:00</updated><title type='text'>examen de polo</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
modelo=input(&#39;introduce modelo de coginete &amp;nbsp; &#39;);&lt;br /&gt;
a=xlsread(&#39;tablas.xlsx&#39;);&lt;br /&gt;
b=xlsread(&#39;tablas.xlsx&#39;,2);&lt;br /&gt;
[r,c]=find(a==modelo);&lt;br /&gt;
co=a(r,c+1)&lt;br /&gt;
Pa=input(&#39;introduce el valor de la carga axial &amp;nbsp;&#39;);&lt;br /&gt;
Pr=input(&#39;introduce el valor de la carga radial &amp;nbsp;&#39;);&lt;br /&gt;
e=Pa/co&lt;br /&gt;
valor=Pa/Pr&lt;br /&gt;
&lt;br /&gt;
e=input(&#39;introduce el error &amp;nbsp; &amp;nbsp;&#39;);&lt;br /&gt;
&lt;br /&gt;
if valor&amp;gt;e&lt;br /&gt;
&amp;nbsp; &amp;nbsp;[r,c]=find(b==e);&lt;br /&gt;
&amp;nbsp; &amp;nbsp;x=b(r,c+1)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;y=b(r,c+2)&lt;br /&gt;
end&lt;br /&gt;
if valor&amp;lt;=e&lt;br /&gt;
&amp;nbsp; &amp;nbsp;[r,c]=find(b==e) ;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; x=b(r,c+3)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;y=b(r,c+4)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; pzero=x*Pr+y*Pa&lt;br /&gt;
&amp;nbsp; &amp;nbsp; tao=(a(r,c+1)/pzero)^3&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Nb=input(&#39;introduce la velocidad rotacional &amp;nbsp; &amp;nbsp;&#39;);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; t10=(10E6*tao)/(60*Nb)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/2508279544351128869/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/2508279544351128869' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/2508279544351128869'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/2508279544351128869'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2013/11/examen-de-polo.html' title='examen de polo'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-2223243424092851920</id><published>2013-09-05T01:21:00.001-07:00</published><updated>2013-09-05T01:21:54.264-07:00</updated><title type='text'>Contador con TMR0</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&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/AVvXsEgUtSeai8VHkIowSeyT7-eQEperTje00rFEPwRECQd1dLjR2in904IOryIOvEd467XTPK4IR6xChGqFsuMLiARHMg0HB-7ABMGf8hb9xIac4JIqyQ0BsWc24yJiXJu5HTtT7_J3icXeqIs/s1600/Imagen1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUtSeai8VHkIowSeyT7-eQEperTje00rFEPwRECQd1dLjR2in904IOryIOvEd467XTPK4IR6xChGqFsuMLiARHMg0HB-7ABMGf8hb9xIac4JIqyQ0BsWc24yJiXJu5HTtT7_J3icXeqIs/s320/Imagen1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
char *text[10];&lt;br /&gt;
unsigned int pulsos;&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
ANSEL=0;&lt;br /&gt;
ANSELH=0;&lt;br /&gt;
OSCCON=0x77;&lt;br /&gt;
TRISA=0xFF;&lt;br /&gt;
TRISB=0x00;&lt;br /&gt;
T1CON=0b00000011;&lt;br /&gt;
Lcd_Init(&amp;amp;PORTB);&lt;br /&gt;
Lcd_Cmd(Lcd_CLEAR);&lt;br /&gt;
Lcd_Cmd(Lcd_CURSOR_OFF);&lt;br /&gt;
while (1)&lt;br /&gt;
{&lt;br /&gt;
TMR1L=0;&lt;br /&gt;
TMR1H=0;&lt;br /&gt;
Delay_ms(1000);&lt;br /&gt;
pulsos=((TMR1H&amp;lt;&lt;8 p=&quot;&quot;&gt;wordToStr(pulsos,text);&lt;br /&gt;
Lcd_Out(1,1,text);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Este programa realiza la cuenta de los pulsos que ingresan al sistema&lt;/8&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/2223243424092851920/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/2223243424092851920' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/2223243424092851920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/2223243424092851920'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2013/09/contador-con-tmr0.html' title='Contador con TMR0'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUtSeai8VHkIowSeyT7-eQEperTje00rFEPwRECQd1dLjR2in904IOryIOvEd467XTPK4IR6xChGqFsuMLiARHMg0HB-7ABMGf8hb9xIac4JIqyQ0BsWc24yJiXJu5HTtT7_J3icXeqIs/s72-c/Imagen1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-8352100655290920761</id><published>2013-09-03T07:14:00.001-07:00</published><updated>2013-09-03T07:19:45.750-07:00</updated><title type='text'>555 astable -practica alumnos del itz</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;img src=&quot;http://www.electroschematics.com/wp-content/uploads/2010/01/1Hz-Pulse-Generator.png&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Material para la practica del 555&lt;br /&gt;
&lt;br /&gt;
VR es un potenciometro de 100k&lt;br /&gt;
C1 de 10uF, si es posible consigan mas capacitores de valores diferentes&lt;br /&gt;
C2 es un capacitor de lenteja&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, &#39;Trebuchet MS&#39;; font-size: 13px; line-height: 18px;&quot;&gt;Frequencia = 1.44 / {(R1 + 2R2) * C1}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, &#39;Trebuchet MS&#39;; font-size: 13px; line-height: 18px;&quot;&gt;Ciclo de trabajo = (R1 + R2) * 100/ (R1 + 2R2)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, &#39;Trebuchet MS&#39;; font-size: 13px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;img src=&quot;http://www.electroschematics.com/wp-content/uploads/2010/01/INSIDE-IC-555.png&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, &#39;Trebuchet MS&#39;; font-size: 13px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, &#39;Trebuchet MS&#39;; font-size: 13px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, &#39;Trebuchet MS&#39;; font-size: 13px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, &#39;Trebuchet MS&#39;; font-size: 13px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/8352100655290920761/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/8352100655290920761' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/8352100655290920761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/8352100655290920761'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2013/09/555-astable.html' title='555 astable -practica alumnos del itz'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-3248868482138696219</id><published>2013-07-16T08:07:00.000-07:00</published><updated>2013-07-16T08:07:12.486-07:00</updated><title type='text'>Neumatica basica</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
Este es el documento que contiene los circuitos basicos neumaticos a reproducir en fluidsim:&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://www.cygintegral.cl/Biblioteca/Neumatica-4.pdf&quot;&gt;http://www.cygintegral.cl/Biblioteca/Neumatica-4.pdf&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/3248868482138696219/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/3248868482138696219' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/3248868482138696219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/3248868482138696219'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2013/07/neumatica-basica.html' title='Neumatica basica'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-8497109903834050101</id><published>2012-06-17T11:54:00.001-07:00</published><updated>2012-06-17T11:54:09.923-07:00</updated><title type='text'>Activando Relees con el Pic</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&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/AVvXsEi5k6wF3LUQiqm5UmY2gbEmcvLbJOzC3lsRGPo0S7bFm0H8YYHWgb8ASCGcJ3514iI_m5m5245Mp1Rb5aE3C_YF5xBBtxm0dK4_DRc1c1bIkTX8cmU_BZVs18NH1gW_wNu1dzBhMMlgAXk/s1600/relees.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5k6wF3LUQiqm5UmY2gbEmcvLbJOzC3lsRGPo0S7bFm0H8YYHWgb8ASCGcJ3514iI_m5m5245Mp1Rb5aE3C_YF5xBBtxm0dK4_DRc1c1bIkTX8cmU_BZVs18NH1gW_wNu1dzBhMMlgAXk/s320/relees.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;osccon = 0x77; &amp;nbsp; //reloj interno a 8Mhz&lt;br /&gt;
&amp;nbsp;portD = 0x00; &amp;nbsp; &amp;nbsp;//PuertoD en 0&lt;br /&gt;
&amp;nbsp;trisD = 0; &amp;nbsp; &amp;nbsp; &amp;nbsp; //PuertoD salidas&lt;br /&gt;
&amp;nbsp;while (1) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//ciclo infinito&lt;br /&gt;
&amp;nbsp; {&lt;br /&gt;
&amp;nbsp; portD = 0b00000001; &amp;nbsp; &amp;nbsp;//manda 1 a RD0&lt;br /&gt;
&amp;nbsp; delay_ms(3000); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//retardo de 3 minutos&lt;br /&gt;
&amp;nbsp; portD = 0b00000010; &amp;nbsp; &amp;nbsp;//manda 1 a RD1&lt;br /&gt;
&amp;nbsp; delay_ms(1000); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//retardo de 1 minuto&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/8497109903834050101/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/8497109903834050101' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/8497109903834050101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/8497109903834050101'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2012/06/activando-relees-con-el-pic.html' title='Activando Relees con el Pic'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5k6wF3LUQiqm5UmY2gbEmcvLbJOzC3lsRGPo0S7bFm0H8YYHWgb8ASCGcJ3514iI_m5m5245Mp1Rb5aE3C_YF5xBBtxm0dK4_DRc1c1bIkTX8cmU_BZVs18NH1gW_wNu1dzBhMMlgAXk/s72-c/relees.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-5073305557905024371</id><published>2012-06-17T11:45:00.003-07:00</published><updated>2012-06-17T11:45:46.446-07:00</updated><title type='text'>Pwm con pic y botones</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&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/AVvXsEi6WN2pi7mX8vYucZ3DHBBEUTe82ybeES3iS1F2WSnh9lnRhMFd3mzP1HqsttXTSZqFjIBuW_5Fwt_yapMe7KpO8YDDIqT1bvYrSI5KH0aM3t4gPJHaBoMZhLSEPrSLAX-QP8iObNC99v4/s1600/pwm.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6WN2pi7mX8vYucZ3DHBBEUTe82ybeES3iS1F2WSnh9lnRhMFd3mzP1HqsttXTSZqFjIBuW_5Fwt_yapMe7KpO8YDDIqT1bvYrSI5KH0aM3t4gPJHaBoMZhLSEPrSLAX-QP8iObNC99v4/s320/pwm.png&quot; width=&quot;320&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;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
unsigned short j, oj;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
void InitMain()&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
{&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; osccon = 0x77; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// oscilador a 8MHz&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; PORTB = 0; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Set PORTB to 0&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; TRISB = 0; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// PORTB son salidas&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; ADCON1 = 6; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // todo pin ADC a digital I/O&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; PORTA = 255;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; TRISA = 255; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// PORTA como entradas&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; PORTC = 0xFF; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Set PORTC to $FF&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; TRISC = 0; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// PORTC son salidas&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; Pwm_Init(5000); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Inicializa el modulo PWM&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
}//~&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
void main() {&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; InitMain();&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; j &amp;nbsp; = 80; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // valor inicial para j&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; oj &amp;nbsp;= 0; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// oj will keep the &#39;old j&#39; value&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; Pwm_Start(); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Empieza PWM&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; while (1) { &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // ciclo infinito&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; if (Button(&amp;amp;PORTA, 0,1,1)) &amp;nbsp; // presiona el boton en RA0&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; j++ ; &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;incrementa j&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; if (Button(&amp;amp;PORTA, 1,1,1)) &amp;nbsp; // presiona el boton en RA1&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; j-- ; &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;decrementa j&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; if (oj != j) { &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// si cambia el ciclo,&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Pwm_Change_Duty(j); // &amp;nbsp; cambia la frecuencia,&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; oj = j; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp; se menoriza,&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; PORTB = oj; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp; and display on PORTB&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; Delay_ms(200); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// retardo de 200ms&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; }&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
}&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/5073305557905024371/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/5073305557905024371' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/5073305557905024371'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/5073305557905024371'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2012/06/pwm-con-pic-y-botones.html' title='Pwm con pic y botones'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6WN2pi7mX8vYucZ3DHBBEUTe82ybeES3iS1F2WSnh9lnRhMFd3mzP1HqsttXTSZqFjIBuW_5Fwt_yapMe7KpO8YDDIqT1bvYrSI5KH0aM3t4gPJHaBoMZhLSEPrSLAX-QP8iObNC99v4/s72-c/pwm.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-1825847989858975842</id><published>2012-06-17T11:41:00.001-07:00</published><updated>2012-06-17T11:41:01.557-07:00</updated><title type='text'>Puente H con pic y transistores</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&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/AVvXsEj8FQC4gix6_ci_Px4mm7A9kTYyUv42e_Lqu2gmG48NdY8eoASy3Q4QmAcTbACvwnO8gdW2aCd22axcML_2aHAnJsGkACkUaTUIr782_7fYu3mc_VMDor0ykfgpuFuA3dCFNUd6pwRa0Ps/s1600/puenteh.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8FQC4gix6_ci_Px4mm7A9kTYyUv42e_Lqu2gmG48NdY8eoASy3Q4QmAcTbACvwnO8gdW2aCd22axcML_2aHAnJsGkACkUaTUIr782_7fYu3mc_VMDor0ykfgpuFuA3dCFNUd6pwRa0Ps/s320/puenteh.png&quot; width=&quot;320&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;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
void main()&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
{&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; osccon = 0X77; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//reloj interno a 8 Mhz&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; PORTD = 0x00; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //inicia el puertoD&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; TRISD = 0x00; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //el puertoD son salidas&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; ANSEL = 0; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//configura los puertos como digitales&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; ANSELH = 0; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //configura los puertos como digitales&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; while(1) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//ciclo infinito&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; {&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; PORTD=0b00000101; &amp;nbsp; &amp;nbsp; //manda 1 a RD0 y RD2&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; delay_ms(5000); &amp;nbsp; &amp;nbsp; &amp;nbsp; //retardo de 5s&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; PORTD=0b00001010; &amp;nbsp; &amp;nbsp; //manda 1 a RD1 y RD3&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; delay_ms(5000); &amp;nbsp; &amp;nbsp; &amp;nbsp; //retaardo de 5s&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; }&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
}&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/1825847989858975842/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/1825847989858975842' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/1825847989858975842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/1825847989858975842'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2012/06/puente-h-con-pic-y-transistores.html' title='Puente H con pic y transistores'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8FQC4gix6_ci_Px4mm7A9kTYyUv42e_Lqu2gmG48NdY8eoASy3Q4QmAcTbACvwnO8gdW2aCd22axcML_2aHAnJsGkACkUaTUIr782_7fYu3mc_VMDor0ykfgpuFuA3dCFNUd6pwRa0Ps/s72-c/puenteh.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-1839269008230981543</id><published>2012-06-17T11:35:00.000-07:00</published><updated>2012-06-17T11:35:21.384-07:00</updated><title type='text'>Pasos unipolar a transistores</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&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/AVvXsEhd3KskfGe3F9oVSlnOTbr2b_rSuxoeoYSJqKgpAGGwYzK4nXsnXr2Am9BJtTIL2kYhNtHG47UpePLiqqetAWdw1Uxgrvcso3o6gUFy3p4aABdnPYPszEo_ul1nqzyPwaq61Omf6DyGcvM/s1600/pasos+unipolar+uln200.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhd3KskfGe3F9oVSlnOTbr2b_rSuxoeoYSJqKgpAGGwYzK4nXsnXr2Am9BJtTIL2kYhNtHG47UpePLiqqetAWdw1Uxgrvcso3o6gUFy3p4aABdnPYPszEo_ul1nqzyPwaq61Omf6DyGcvM/s320/pasos+unipolar+uln200.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
void main()&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
{&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;osccon = 0x77; &amp;nbsp; //reloj interno a 8Mhz&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;portD = 0x00; &amp;nbsp; &amp;nbsp;//inicia puertoD&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;TrisD = 0x00; &amp;nbsp; &amp;nbsp;//el puertoD son salidas&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;while(1) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //ciclo infinito&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;{&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; portD.f0=1; &amp;nbsp; &amp;nbsp; //manda 1 a RD0&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; delay_ms(200); &amp;nbsp;//retarda 200ms&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; portD.f0=0; &amp;nbsp; &amp;nbsp; //manda 0 a RD0&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; portD.f1=1; &amp;nbsp; &amp;nbsp; //manda 1 a RD1&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; delay_ms(200); &amp;nbsp;//retarda 200ms&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; portD.f1=0; &amp;nbsp; &amp;nbsp; //manda 0 a RD1&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; portD.f2=1; &amp;nbsp; &amp;nbsp; //manda 1 a RD2&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; delay_ms(200); &amp;nbsp;//retarda 200ms&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; portD.f2=0; &amp;nbsp; &amp;nbsp; //manda 0 a RD2&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; portD.f3=1; &amp;nbsp; &amp;nbsp; //manda 1 a RD3&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; delay_ms(200); &amp;nbsp;//retarda 200ms&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; portD.f3=0; &amp;nbsp; &amp;nbsp; //manda 0 a RD0&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; }&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
}&lt;/div&gt;
&lt;br /&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&gt;</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/1839269008230981543/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/1839269008230981543' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/1839269008230981543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/1839269008230981543'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2012/06/pasos-unipolar-transistores.html' title='Pasos unipolar a transistores'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhd3KskfGe3F9oVSlnOTbr2b_rSuxoeoYSJqKgpAGGwYzK4nXsnXr2Am9BJtTIL2kYhNtHG47UpePLiqqetAWdw1Uxgrvcso3o6gUFy3p4aABdnPYPszEo_ul1nqzyPwaq61Omf6DyGcvM/s72-c/pasos+unipolar+uln200.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-537651635539834180</id><published>2012-06-17T11:22:00.000-07:00</published><updated>2012-06-17T11:22:03.811-07:00</updated><title type='text'>Luces del Auto increible con pic</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&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/AVvXsEj-Xj91TZIwTFtoadcCidtX9ZKNlSWsTg3CPOgJQ9f_A8zs1dqf9RIZimfrzSXRKY-BGvZtTmKVFvssMjvUC603ReFfhQoL1XKPcAdw3BMQTdMTBtlzM-AlieCbLEvEiK5DF2_JwR_dyXk/s1600/autoincreible.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-Xj91TZIwTFtoadcCidtX9ZKNlSWsTg3CPOgJQ9f_A8zs1dqf9RIZimfrzSXRKY-BGvZtTmKVFvssMjvUC603ReFfhQoL1XKPcAdw3BMQTdMTBtlzM-AlieCbLEvEiK5DF2_JwR_dyXk/s320/autoincreible.png&quot; width=&quot;320&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;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Este programa realiza el mismo efecto de luces que el auto increible, sencillo y didactico para empezar a programar pics en C...&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
void main() &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
{&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; osccon=0x77; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //oscilador interno a 8 Mhz&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; PORTD=0xff; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//Puerto D salidas&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; TRISD=0; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // PORTD is output&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; while(1) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //Ciclo infinito&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; {&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; portD=0b00000001; &amp;nbsp; &amp;nbsp;//Coloca 1 en RD0&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; delay_ms(400); &amp;nbsp; &amp;nbsp; &amp;nbsp; //retardo de 400 ms&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; portD=0b00000010; &amp;nbsp; &amp;nbsp;//Coloca 1 en RD1&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; delay_ms(400); &amp;nbsp; &amp;nbsp; &amp;nbsp; //retardo de 400 ms&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; portD=0b00000100; &amp;nbsp; &amp;nbsp;//Coloca 1 en RD2&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; delay_ms(400); &amp;nbsp; &amp;nbsp; &amp;nbsp; //retardo de 400 ms&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; portD=0b00001000; &amp;nbsp; &amp;nbsp;//Coloca 1 en RD3&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; delay_ms(400); &amp;nbsp; &amp;nbsp; &amp;nbsp; //retardo de 400 ms&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; portD=0b00010000; &amp;nbsp; &amp;nbsp;//Coloca 1 en RD4&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; delay_ms(400); &amp;nbsp; &amp;nbsp; &amp;nbsp; //retardo de 400 ms&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; portD=0b00100000; &amp;nbsp; &amp;nbsp;//Coloca 1 en RD5&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; delay_ms(400); &amp;nbsp; &amp;nbsp; &amp;nbsp; //retardo de 400 ms&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; portD=0b01000000; &amp;nbsp; &amp;nbsp;//Coloca 1 en RD6&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; delay_ms(400); &amp;nbsp; &amp;nbsp; &amp;nbsp; //retardo de 400 ms&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; portD=0b10000000; &amp;nbsp; &amp;nbsp;//Coloca 1 en RD7&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; delay_ms(400); &amp;nbsp; &amp;nbsp; &amp;nbsp; //retardo de 400 ms&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; portD=0b01000000; &amp;nbsp; &amp;nbsp;//Coloca 1 en RD6&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; delay_ms(400); &amp;nbsp; &amp;nbsp; &amp;nbsp; //retardo de 400 ms&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; portD=0b00100000; &amp;nbsp; &amp;nbsp;//Coloca 1 en RD5&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; delay_ms(400); &amp;nbsp; &amp;nbsp; &amp;nbsp; //retardo de 400 ms&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; portD=0b00010000; &amp;nbsp; &amp;nbsp;//Coloca 1 en RD4&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; delay_ms(400); &amp;nbsp; &amp;nbsp; &amp;nbsp; //retardo de 400 ms&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; portD=0b00001000; &amp;nbsp; &amp;nbsp;//Coloca 1 en RD3&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; delay_ms(400); &amp;nbsp; &amp;nbsp; &amp;nbsp; //retardo de 400 ms&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; portD=0b00000100; &amp;nbsp; &amp;nbsp;//Coloca 1 en RD2&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; delay_ms(400); &amp;nbsp; &amp;nbsp; &amp;nbsp; //retardo de 400 ms&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; portD=0b00000010; &amp;nbsp; &amp;nbsp;//Coloca 1 en RD1&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; delay_ms(400); &amp;nbsp; &amp;nbsp; &amp;nbsp; //retardo de 400 ms&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; }&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
}&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/537651635539834180/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/537651635539834180' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/537651635539834180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/537651635539834180'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2012/06/luces-del-auto-increible-con-pic.html' title='Luces del Auto increible con pic'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-Xj91TZIwTFtoadcCidtX9ZKNlSWsTg3CPOgJQ9f_A8zs1dqf9RIZimfrzSXRKY-BGvZtTmKVFvssMjvUC603ReFfhQoL1XKPcAdw3BMQTdMTBtlzM-AlieCbLEvEiK5DF2_JwR_dyXk/s72-c/autoincreible.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-8155397873246947549</id><published>2012-05-12T00:28:00.000-07:00</published><updated>2012-05-19T14:08:09.878-07:00</updated><title type='text'>Piano con pic y MikroC</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&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/AVvXsEi1k2RNV9A_LgWyL46tOrv4T5L4oH5oirxifmPCbJx3VH8tnVhq-CU3_YXxZt5ytdiEg3J0e1S-IB6Q-IjFjUA4RyftGOrXXi62HgNnqHQy2EcMea0RIpquG7ABKH5wI3p0HqRSWmEohSw/s1600/xxxx.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1k2RNV9A_LgWyL46tOrv4T5L4oH5oirxifmPCbJx3VH8tnVhq-CU3_YXxZt5ytdiEg3J0e1S-IB6Q-IjFjUA4RyftGOrXXi62HgNnqHQy2EcMea0RIpquG7ABKH5wI3p0HqRSWmEohSw/s320/xxxx.png&quot; width=&quot;320&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;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Este es el&amp;nbsp;código&amp;nbsp; de Mikroc Para realizar un pianito, con el pic16f887 con oscilador interno..&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
void main ()&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
{&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
osccon=0x77;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
TRISC=0XFF;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
TRISD=0X00;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Sound_init(&amp;amp;PORTD,0);&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
for(;;)&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
{&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
if (Button(&amp;amp;PORTC, 0, 1, 1)) Sound_Play(522,100); &amp;nbsp; &amp;nbsp; &amp;nbsp;//Do&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
if (Button(&amp;amp;PORTC, 1, 1, 1)) Sound_Play(588,100); &amp;nbsp; &amp;nbsp; &amp;nbsp;//Re&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
if (Button(&amp;amp;PORTC, 2, 1, 1)) Sound_Play(660,100); &amp;nbsp; &amp;nbsp; &amp;nbsp;//Mi&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
if (Button(&amp;amp;PORTC, 3, 1, 1)) Sound_Play(698,100); &amp;nbsp; &amp;nbsp; &amp;nbsp;//Fa&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
if (Button(&amp;amp;PORTC, 4, 1, 1)) Sound_Play(784,100); &amp;nbsp; &amp;nbsp; &amp;nbsp;//Sol&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
if (Button(&amp;amp;PORTC, 5, 1, 1)) Sound_Play(880,100); &amp;nbsp; &amp;nbsp; &amp;nbsp;//La&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
if (Button(&amp;amp;PORTC, 6, 1, 1)) Sound_Play(988,100); &amp;nbsp; &amp;nbsp; &amp;nbsp;//Si&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
if (Button(&amp;amp;PORTC, 7, 1, 1)) Sound_Play(783,100); &amp;nbsp; &amp;nbsp; &amp;nbsp;//Do&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
}&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
}&lt;/div&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/AVvXsEgwQkK-IWjyJzfrZ3KeysXhumjqNHFHQvpU9yqC8jyeV8j1ShrfT-SdPDCbyk2BUJLHhWs2-CLfefElDhrCVoN-5Yyz2UI-dnqyWtNy3iiwFfEbEo8pl_3FdsVivjcThLKxlAAAh7F1sKs/s1600/notas.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;113&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwQkK-IWjyJzfrZ3KeysXhumjqNHFHQvpU9yqC8jyeV8j1ShrfT-SdPDCbyk2BUJLHhWs2-CLfefElDhrCVoN-5Yyz2UI-dnqyWtNy3iiwFfEbEo8pl_3FdsVivjcThLKxlAAAh7F1sKs/s320/notas.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/8155397873246947549/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/8155397873246947549' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/8155397873246947549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/8155397873246947549'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2012/05/piano-con-pic-y-mikroc.html' title='Piano con pic y MikroC'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1k2RNV9A_LgWyL46tOrv4T5L4oH5oirxifmPCbJx3VH8tnVhq-CU3_YXxZt5ytdiEg3J0e1S-IB6Q-IjFjUA4RyftGOrXXi62HgNnqHQy2EcMea0RIpquG7ABKH5wI3p0HqRSWmEohSw/s72-c/xxxx.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-2146041737005116338</id><published>2012-05-04T07:10:00.001-07:00</published><updated>2012-05-12T00:29:08.112-07:00</updated><title type='text'>Llave electronica con MikroC</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
El siguiente programa enciende la marcha de un carro, utilizando un teclado matricial en mikroc&lt;br /&gt;
tambien tiene una clave de proteccion con encendido de poco tiempo, y una clave para apagar el carro&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/AVvXsEibaAC0_FEMWTUhEJmqazM8jEZUc7YDsHWbPnpYF3uRqNkniikvnW9FjwMWwuxRo9JDe9qj1RqF1reBZBKHWojIU-n-mxx5N5kNmGlj5xnj1HQaJZ1NPMM_Gtf7fabMRoxYdpRks13OFo0/s1600/keypad.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;239&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibaAC0_FEMWTUhEJmqazM8jEZUc7YDsHWbPnpYF3uRqNkniikvnW9FjwMWwuxRo9JDe9qj1RqF1reBZBKHWojIU-n-mxx5N5kNmGlj5xnj1HQaJZ1NPMM_Gtf7fabMRoxYdpRks13OFo0/s320/keypad.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
unsigned short contador,clave[5],apagar,apago[5],memoria[5]={&#39;2&#39;,&#39;2&#39;,&#39;2&#39;,&#39;2&#39;,&#39;2&#39;}, kp;&lt;br /&gt;
char oldstate = 0;&lt;br /&gt;
&amp;nbsp; char &amp;nbsp;J = 0;&lt;br /&gt;
char *txt1 = &quot;password&quot;;&lt;br /&gt;
char *txt2 = &quot; &amp;nbsp; ok_hola&quot;;&lt;br /&gt;
char *txt3 = &quot;correcto&quot;;&lt;br /&gt;
char *txt4 = &quot;APAGADO&quot;;&lt;br /&gt;
void main() { &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; Keypad_Init(&amp;amp;PORTB); &amp;nbsp; &amp;nbsp; &amp;nbsp;// Initialize Keypad EN PORTB&lt;br /&gt;
&amp;nbsp; Lcd_Init(&amp;amp;PORTD); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Initialize LCD on PORTD,&lt;br /&gt;
&amp;nbsp; Lcd_Cmd(LCD_CLEAR); &amp;nbsp; &amp;nbsp; &amp;nbsp;// LIMPIA LA PANTALLA DE LA LCD&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; trisa=0b000000; &amp;nbsp; &amp;nbsp; &amp;nbsp; // INICIAMOS CON LOS PINES DE SALIDA EN CERO&lt;br /&gt;
&amp;nbsp; kp = 0; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // INICIAMOS LA VARIABLE DE KP EN CERO&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Lcd_Out(1,1, txt1);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;do {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Button(&amp;amp;PORTC, 1, 1, 1)) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// detect logical one on RB1 pin&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; oldstate = 1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (oldstate &amp;amp;&amp;amp; Button(&amp;amp;PORTC, 1, 1, 0)) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; for(J=0 ; J&amp;lt;5 ; J ++ )&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if( J&amp;gt;=5)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;PORTA = ~PORTA;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; oldstate = 0;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; J=0;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; } &amp;nbsp;// detect one-to-zero transition on RB1 pin&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; } while(1); &amp;nbsp; &amp;nbsp;// MANDANOS UN TEXTO A LA LCD DE PASSWORD&lt;br /&gt;
&amp;nbsp; do { &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // INICIAMOS PROGRAMA&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Lcd_Cmd(LCD_CLEAR); &amp;nbsp;// LIMPIAMOS LA PANTALLA DE LA LCD&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Lcd_Cmd(LCD_cursor_off); &amp;nbsp; // APAGAMOS EL CURSOR DE LA LCD&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Lcd_Out(1,1, txt1); &amp;nbsp; &amp;nbsp;// MANDAMOS EL TEXTO PASSWORD AL REGLON UNO COLUMNA UNO&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; clave[0]=&#39;0&#39;;clave[1]=&#39;0&#39;;clave[2]=&#39;0&#39;;clave[3]=&#39;0&#39;;clave[4]=&#39;0&#39;; // LE ASIGNAMOS LA LETRA CERO&lt;br /&gt;
&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; &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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //AL ARRELO EN SUS ESPACIOS&lt;br /&gt;
&amp;nbsp; &amp;nbsp; for(contador=0 ; contador&amp;lt;5 ; contador ++ ) &amp;nbsp;//DECLARAMOS UN CONTADOR CON UN FOR&lt;br /&gt;
&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; do {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; kp = Keypad_Released(); // FUNCION DE LA KEYPAD MANDA UN 1 O UN 16&lt;br /&gt;
&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;Delay_ms(10); &amp;nbsp; &amp;nbsp; &amp;nbsp; // SEGUN LA TECLA PRESIONADA&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}while (!kp);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Lcd_Chr_CP(&#39;*&#39;); &amp;nbsp;// IMPRIME EN LA LCD&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; switch (kp) { &amp;nbsp; // UBICO A KP EN CADA UNO DE LOS CASOS&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; case &amp;nbsp;1: kp = &#39;1&#39;; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; case &amp;nbsp;2: kp = &#39;2&#39;; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; case &amp;nbsp;3: kp = &#39;3&#39;; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; case &amp;nbsp;4: kp = &#39;A&#39;; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; case &amp;nbsp;5: kp = &#39;4&#39;; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; case &amp;nbsp;6: kp = &#39;5&#39;; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; case &amp;nbsp;7: kp = &#39;6&#39;; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; case &amp;nbsp;8: kp = &#39;B&#39;; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; case &amp;nbsp;9: kp = &#39;7&#39;; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; case 10: kp = &#39;8&#39;; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; case 11: kp = &#39;9&#39;; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; case 12: kp = &#39;C&#39;; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; case 13: kp = &#39;*&#39;; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; case 14: kp = &#39;0&#39;; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; case 15: kp = &#39;#&#39;; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; case 16: kp = &#39;D&#39;; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp;clave[contador]=kp; // ASIGNAMOS EL VALOR DE KP EN CADA PUNTO DEL ARREGLO&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; if(clave[0]==memoria[0]&amp;amp;&amp;amp;clave[1]==memoria[1]&amp;amp;&amp;amp;clave[2]==memoria[2]&amp;amp;&amp;amp;clave[3]==memoria[3]&amp;amp;&amp;amp;clave[4]==memoria[4])&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Lcd_Cmd(Lcd_Clear); &amp;nbsp;// LIMPIA PANTALLA&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Lcd_Out(2,1, txt2); &amp;nbsp; // IMPRIME EL TEXTO OK_HOLA&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; porta=0b001101; &amp;nbsp;// ENCIENDE EL switch&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delay_ms(300); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// TARDA 300 MS&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;porta=0b001111; &amp;nbsp; &amp;nbsp; &amp;nbsp;// ENCIENDE MARCHA&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delay_ms(650); &amp;nbsp; &amp;nbsp; &amp;nbsp;// RETARDO DE 650&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; porta=0b001101; &amp;nbsp; &amp;nbsp; // APAGA MARCHA&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delay_ms(10000);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;porta=0b001101;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;delay_ms(10000); &amp;nbsp;// TARDA 2 SEGUNDOS&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; porta=0b001101;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delay_ms(10000);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; porta=0b001101;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delay_ms(10000);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; porta=0b001101;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delay_ms(10000);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; porta=0b000000; &amp;nbsp; &amp;nbsp;// CARRO SE APAGA&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Lcd_Cmd(Lcd_Clear); &amp;nbsp; &amp;nbsp;// LIMPIA PANTALLA&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;clave[0]=&#39;0&#39;;clave[1]=&#39;0&#39;;clave[2]=&#39;0&#39;;clave[3]=&#39;0&#39;;clave[4]=&#39;0&#39;;clave[5]=&#39;0&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; if(clave[0]==&#39;2&#39;&amp;amp;&amp;amp;clave[1]==&#39;6&#39;&amp;amp;&amp;amp;clave[2]==&#39;C&#39;&amp;amp;&amp;amp;clave[3]==&#39;6&#39;&amp;amp;&amp;amp;clave[4]==&#39;6&#39;)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Lcd_Cmd(Lcd_Clear);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Lcd_Out(2,1, txt3); // CORRECTO&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;porta=0b001101;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delay_ms(300);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;porta=0b001111;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delay_ms(650);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; porta=0b001101;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Lcd_Cmd(Lcd_Clear);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;clave[0]=&#39;0&#39;;clave[1]=&#39;0&#39;;clave[2]=&#39;0&#39;;clave[3]=&#39;0&#39;;clave[4]=&#39;0&#39;;clave[5]=&#39;0&#39;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(clave[0]==&#39;C&#39;&amp;amp;&amp;amp;clave[1]==&#39;C&#39;&amp;amp;&amp;amp;clave[2]==&#39;C&#39;&amp;amp;&amp;amp;clave[3]==&#39;C&#39;&amp;amp;&amp;amp;clave[4]==&#39;C&#39;)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Lcd_Cmd(Lcd_Clear);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Lcd_Out(2,3, txt4); &amp;nbsp;// APAGADO&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;porta=0b000000;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delay_ms(2000);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;porta=0b000000;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Lcd_Cmd(Lcd_Clear);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;clave[0]=&#39;0&#39;;clave[1]=&#39;0&#39;;clave[2]=&#39;0&#39;;clave[3]=&#39;0&#39;;clave[4]=&#39;0&#39;;clave[5]=&#39;0&#39;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; } while (1); &amp;nbsp;// CERRAMOS EL CICLO&lt;br /&gt;
}&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/2146041737005116338/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/2146041737005116338' title='5 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/2146041737005116338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/2146041737005116338'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2012/05/llave-electronica-con-mikroc.html' title='Llave electronica con MikroC'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibaAC0_FEMWTUhEJmqazM8jEZUc7YDsHWbPnpYF3uRqNkniikvnW9FjwMWwuxRo9JDe9qj1RqF1reBZBKHWojIU-n-mxx5N5kNmGlj5xnj1HQaJZ1NPMM_Gtf7fabMRoxYdpRks13OFo0/s72-c/keypad.png" height="72" width="72"/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-7267095908949800133</id><published>2012-03-29T02:36:00.004-07:00</published><updated>2012-03-29T02:36:50.902-07:00</updated><title type='text'>Generador de funciones con amplificador operacional</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Realizar en protoboard para pasarlo a PCB&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&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/AVvXsEjnYUw7m72o4sDbNN-LqNiZqWSa8_8GgDQ0Vc7RtOjofltnJGhM4yzXzRFVc34VFUECCdks6u350DlSIGvwKX7gbJFe2ede-LquDHvmAAqo20-hLFANxa-PF-YhMZCI613fAyG7v9sAnBU/s1600/amplificador+operacional.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnYUw7m72o4sDbNN-LqNiZqWSa8_8GgDQ0Vc7RtOjofltnJGhM4yzXzRFVc34VFUECCdks6u350DlSIGvwKX7gbJFe2ede-LquDHvmAAqo20-hLFANxa-PF-YhMZCI613fAyG7v9sAnBU/s320/amplificador+operacional.png&quot; width=&quot;201&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/7267095908949800133/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/7267095908949800133' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/7267095908949800133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/7267095908949800133'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2012/03/generador-de-funciones-con-amplificador.html' title='Generador de funciones con amplificador operacional'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnYUw7m72o4sDbNN-LqNiZqWSa8_8GgDQ0Vc7RtOjofltnJGhM4yzXzRFVc34VFUECCdks6u350DlSIGvwKX7gbJFe2ede-LquDHvmAAqo20-hLFANxa-PF-YhMZCI613fAyG7v9sAnBU/s72-c/amplificador+operacional.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-8271889732684291353</id><published>2012-03-28T22:54:00.001-07:00</published><updated>2012-06-17T11:32:32.666-07:00</updated><title type='text'>Motor a pasos uln2003 con botones</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
El diagrama es:&lt;/div&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/AVvXsEgCiRrzgnDLsc_KTR_-WG0wqHmW14_-yYxf1h469C6LdrNpX3mbHG0bCDRRBAsxWldiRgAGFlFDftiODq8Qd4kkmW6IcfYPKmCvgNE9v1x8EOmaP19Z6hv5cJRt_pwdFu_eqMdpYHE_63s/s1600/proteus2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;237&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCiRrzgnDLsc_KTR_-WG0wqHmW14_-yYxf1h469C6LdrNpX3mbHG0bCDRRBAsxWldiRgAGFlFDftiODq8Qd4kkmW6IcfYPKmCvgNE9v1x8EOmaP19Z6hv5cJRt_pwdFu_eqMdpYHE_63s/s320/proteus2.jpg&quot; width=&quot;320&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;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
El codigo es:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
void main ( void )&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
{&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; TRISB = 0; &amp;nbsp; &amp;nbsp;//SALIDAS&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; TRISD=0b11111111;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; while( 1 )&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; if (Button(&amp;amp;PORTD, 0, 1, 1))&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; {PORTB = 0b00000011;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; Delay_ms(100);&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; PORTB = 0b00000110;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; Delay_ms(100);&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; PORTB = 0b00001100;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; Delay_ms(100);&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; PORTB = 0b00011000;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; Delay_ms(100);&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; if (Button(&amp;amp;PORTD, 1, 1, 1))&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; {PORTB = 0b00000011;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; Delay_ms(100);&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; PORTB = 0b00001001;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; Delay_ms(100);&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; PORTB = 0b00001100;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; Delay_ms(100);&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; PORTB = 0b00000110;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; Delay_ms(100);&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;}&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
}&lt;/div&gt;
&lt;br /&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;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/8271889732684291353/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/8271889732684291353' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/8271889732684291353'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/8271889732684291353'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2012/03/motor-pasos-uln2003.html' title='Motor a pasos uln2003 con botones'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCiRrzgnDLsc_KTR_-WG0wqHmW14_-yYxf1h469C6LdrNpX3mbHG0bCDRRBAsxWldiRgAGFlFDftiODq8Qd4kkmW6IcfYPKmCvgNE9v1x8EOmaP19Z6hv5cJRt_pwdFu_eqMdpYHE_63s/s72-c/proteus2.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-2383732290305522453</id><published>2012-03-28T22:06:00.003-07:00</published><updated>2012-03-28T22:06:49.650-07:00</updated><title type='text'>Usando la  Lcd con Proteus y MikroC en pic16f887</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Resolvimos el problema de la siguiente manera:&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/AVvXsEgFmb6InTnesEQV_dXYlcIXT_WF40kbCbiZsT_7oAzCoCyDYrRrRySSWhFBKJ54kDpwDlxiWvY3jpM4Z8K9ClIw3NI1fpeRdRt_krP1OCwCCVp0fQ6hrRFlSPH3TYJt7DFG3rTx8loWX_4/s1600/proteus1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;227&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFmb6InTnesEQV_dXYlcIXT_WF40kbCbiZsT_7oAzCoCyDYrRrRySSWhFBKJ54kDpwDlxiWvY3jpM4Z8K9ClIw3NI1fpeRdRt_krP1OCwCCVp0fQ6hrRFlSPH3TYJt7DFG3rTx8loWX_4/s320/proteus1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
El codigo fuente es:&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
char *text = &quot;OH GRAN MAESTRO¡¡&quot;;&lt;/div&gt;
&lt;div&gt;
void main()&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
{&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; ANSEL = 0; &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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //SOLO PUERTOS DIGITALES&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; ANSELH = 0;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; osccon = 0x77; &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; &amp;nbsp; &amp;nbsp; //OSCILADOR INTERNO&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; TRISB = 0; &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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// PUERTO B SALIDAS&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; Lcd_Init(&amp;amp;PORTB); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Lcd_Config(&amp;amp;PORTB, 2, 3, 0, 7, 6, 5, 4); ES LO MISMO&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; Lcd_Cmd(Lcd_CLEAR); &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; Lcd_Cmd(Lcd_CURSOR_OFF); &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; Lcd_Out(1, 1, text); &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
}&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
ANSEL Y ANSEL H SON REGISTROS QUE EXISTEN EN EL PIC16F887 Y DESHABILITAN PUERTO A Y B PARA TRABAJAR ANALOGICAMENTE RESPECTIVAMENTE , ANSEL PARA PUERTO A Y ANSELH PARA PUERTO B..&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
PARA EL PIC 16F877A SE USA ADCON0 Y ADCON1 RESPECTIVAMENTE&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/2383732290305522453/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/2383732290305522453' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/2383732290305522453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/2383732290305522453'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2012/03/usando-la-lcd-con-proteus-y-mikroc-en.html' title='Usando la  Lcd con Proteus y MikroC en pic16f887'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFmb6InTnesEQV_dXYlcIXT_WF40kbCbiZsT_7oAzCoCyDYrRrRySSWhFBKJ54kDpwDlxiWvY3jpM4Z8K9ClIw3NI1fpeRdRt_krP1OCwCCVp0fQ6hrRFlSPH3TYJt7DFG3rTx8loWX_4/s72-c/proteus1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-2026378181853751861</id><published>2012-01-17T06:51:00.000-08:00</published><updated>2012-01-17T06:56:22.116-08:00</updated><title type='text'>Diapositivas de matlab</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Aqui estan las diapositivas de matlab para los profes del tec..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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/AVvXsEj06ynARDUaitFFLn_YAtbg8cBL_B0LENL6JG_KMmVRAMwybjM0aR_fOpspfL6x8RNduAV7_pc4KhOQVzMX3tAFRMHMOtKDLulZHLz7jpgIIycglpFFBTZCbx-F-gPns_O5k9_6eB4yeO4/s1600/matlablogo.jpg&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/AVvXsEj06ynARDUaitFFLn_YAtbg8cBL_B0LENL6JG_KMmVRAMwybjM0aR_fOpspfL6x8RNduAV7_pc4KhOQVzMX3tAFRMHMOtKDLulZHLz7jpgIIycglpFFBTZCbx-F-gPns_O5k9_6eB4yeO4/s1600/matlablogo.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://docs.google.com/viewer?a=v&amp;amp;pid=sites&amp;amp;srcid=ZGVmYXVsdGRvbWFpbnxlbGVjdHJvbWVjYW5pY2FpdHp8Z3g6Mzc5MDJhZTcxMDMwZmJlMg&quot;&gt;Diapositivas de curso&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/2026378181853751861/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/2026378181853751861' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/2026378181853751861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/2026378181853751861'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2012/01/aqui-estan-las-diapositivas-de-matlab.html' title='Diapositivas de matlab'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj06ynARDUaitFFLn_YAtbg8cBL_B0LENL6JG_KMmVRAMwybjM0aR_fOpspfL6x8RNduAV7_pc4KhOQVzMX3tAFRMHMOtKDLulZHLz7jpgIIycglpFFBTZCbx-F-gPns_O5k9_6eB4yeO4/s72-c/matlablogo.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711226211454682284.post-8717335633462855139</id><published>2011-12-10T16:36:00.001-08:00</published><updated>2011-12-10T20:43:17.805-08:00</updated><title type='text'>Lectura de  AC para un microcontrolador</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&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/AVvXsEgkf9d-wfSwj4ablJTP_vuc4ZcaK_p5t81iX8O3mHzWX6lqaw13ul2BIlAlMisuwndA0oExT_HZrKMUjTI6vckXCqaAXJMj6DjeG21ihTxjBVyvK_y1S88oeFbRutVb1h2UZjmjILNFwLg/s1600/SOLUCION+OSCILOSCOPIO.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;154&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkf9d-wfSwj4ablJTP_vuc4ZcaK_p5t81iX8O3mHzWX6lqaw13ul2BIlAlMisuwndA0oExT_HZrKMUjTI6vckXCqaAXJMj6DjeG21ihTxjBVyvK_y1S88oeFbRutVb1h2UZjmjILNFwLg/s320/SOLUCION+OSCILOSCOPIO.bmp&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Paran medir Ac en el pic&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mecatronicaitz.blogspot.com/feeds/8717335633462855139/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8711226211454682284/8717335633462855139' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/8717335633462855139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711226211454682284/posts/default/8717335633462855139'/><link rel='alternate' type='text/html' href='http://mecatronicaitz.blogspot.com/2011/12/lectura-de-ac-para-un-microcontrolsdor.html' title='Lectura de  AC para un microcontrolador'/><author><name>MTI Jairo Avendaño Malvaez</name><uri>http://www.blogger.com/profile/09045557296934112430</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkf9d-wfSwj4ablJTP_vuc4ZcaK_p5t81iX8O3mHzWX6lqaw13ul2BIlAlMisuwndA0oExT_HZrKMUjTI6vckXCqaAXJMj6DjeG21ihTxjBVyvK_y1S88oeFbRutVb1h2UZjmjILNFwLg/s72-c/SOLUCION+OSCILOSCOPIO.bmp" height="72" width="72"/><thr:total>0</thr:total></entry></feed>