|
|
PIC16F877A-I/PMICROCHIP TECHNOLOGY
|
x 1 | |
|
|
LCD_16X2_Arduino_Shield |
x 1 |
|
KiCADKicad
|
|
|
CCS C CompilerCCS
|
|
|
Proteus 8 |
|
|
MPLAB X IDEMicrochip Technology
|
ENTRENADOR DE MICROCONTROLADORES PARA DIP-40
proyecto dirigido a universitarios para coadyuvar la programacion en pic, sin necesidad de usar un protoboard.
project aimed at university students to help programming in pic, without the need to use a breadboard.


#include <16f877a.h>
#fuses HS,NOWDT,NOPROTECT,NOPUT,NOLVP,BROWNOUT
#use delay(clock=20M)
#use standard_io(D)
#define LCD_DB4 PIN_D5
#define LCD_DB5 PIN_D4
#define LCD_DB6 PIN_D3
#define LCD_DB7 PIN_D2
#define LCD_RS PIN_D0
#define LCD_E PIN_D1
#include <LCD_16X2.c> //libreria de la lcd
char animado1[8]={0x04,0x0E,0x1F,0x07,0x07,0x04,0x0C,0x14};
char animado2[8]={0x00,0x00,0x01,0x1E,0x1E,0x16,0x02,0x05};
char animado3[8]={0x04,0x0E,0x1F,0x07,0x07,0x04,0x0C,0x14};
char animado4[8]={0x00,0x00,0x01,0x1E,0x1E,0x16,0x02,0x05};
void main(){
char y=1;//indica la fila
signed char x=16;// para el barrido
lcd_init();
CGRAM_position(0);
CGRAM_create_char(animado1);
CGRAM_position(1);
CGRAM_create_char(animado2);
CGRAM_position(2);
CGRAM_create_char(animado3);
CGRAM_position(3);
CGRAM_create_char(animado4);
while(1){
lcd_clear();
lcd_gotoxy(x,y);
CGRAM_putc(0);
lcd_gotoxy(x+1,y);
CGRAM_putc(1);
lcd_gotoxy(x+2,y);
CGRAM_putc(2);
lcd_gotoxy(x+3,y);
CGRAM_putc(3);
delay_ms(500);
x--;//barrido de derecha a izquierda
if(x<-8)
{
x=16;
y++;
if(y>2){y=1;}
}
lcd_clear();
}
}
ENTRENADOR DE MICROCONTROLADORES PARA DIP-40
Project images are for reference only. Actual production is based on the manufacturing files on the project page.
Please review the designer's notes (e.g., PCB thickness) and select the appropriate options.
PCBWay is not responsible
for issues caused by unsuitable parameter selections.
For more important ordering information, please refer to
Read More
Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW- Comments(0)
- Likes(1)
-
Omar Emiliano Jallasi Huasco
May 27,2024
- 1 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
-
10design
-
10usability
-
10creativity
-
10content
More by Omar Emiliano Jallasi Huasco
-
Programmable Mist Maker - XIAO / QT PY Extension
1014 2 1 -
RadioHAT - Raspberry Pi radio development platform
816 0 2 -
QWIIC-VL53L4CD Time-of-Flight Distance Sensor Module
1040 0 1 -
-
-
-
ARPS-2 – Arduino-Compatible Robot Project Shield for Arduino UNO
3276 0 6 -
-
A Compact Charging Breakout Board For Waveshare ESP32-C3
3895 3 8 -
AI-driven LoRa & LLM-enabled Kiosk & Food Delivery System
4276 2 2







