Practica4 Pic

  • Uploaded by: Luis
  • 0
  • 0
  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Practica4 Pic as PDF for free.

More details

  • Words: 62
  • Pages: 1
Práctica # 4 Tema: Display alfanuméricos y gráficos Objetivo: Utilizar con el microcontrolador pic displays alfanuméricos y gráficos. 1. Escribir la sentencia Hola e Ingenieria Electrónica en un display. Código program practica2 'PROGRAMA PARA ESCRIBIR EN UN LCD 16X2 'D7=PORTB.7,D6=PORTB.6,D5=PORTB.5,D4=PORTB.4;RS=PORTB.0,R/W=PORTB.1,E =PORTB.2 'PARA ELIMINAR EL CURSOS, SE APAGA MEDIANTE EL SIGUIENTE COMANDO 'LCD_CMD(LCD_CURSOR_OFF) main: Lcd_config(portb,7,6,5,4,portb,0,1,2) lcd_out(1,1,"HOLA") delay_ms(2000) lcd_cmd(lcd_clear) lcd_out(1,1,"INGENIERIA ") LCD_OUT(2,1,"ELECTRONICA") end. Esquema:

Related Documents

Practica4 Pic
June 2020 3
Practica4
November 2019 10
Practica4
October 2019 12
Practica4
October 2019 14
Practica4
October 2019 7
Practica4
November 2019 13

More Documents from ""

Libros.txt
June 2020 35
Web Quest 2
May 2020 37
Doc1.docx
June 2020 46
Web Quests
May 2020 30