InicioInfoTutorial básico en Proton IDE

Tutorial básico en Proton IDE

Info6/20/2013


Hola a todos bueno comenzara con mi primer tutorial propio de proton ide , para los que desconocen esto es para programar microcontroladores , realizare un ejemplo sencillo y con el tiempo realizare ejemplos un poco mas completos


Usare el pic 16f877a xq a futuro haré cosas mas interesantes .
'****************************************************************
'* Name : F2APC.BAS *
'* Author : [select VIEW...EDITOR OPTIONS] *
'* Notice : Copyright (c) 2013 [select VIEW...EDITOR OPTIONS] *
'* : All Rights Reserved *
'* Date : 20/JUNIO/2013 *
'* Version : 1.0 *
'* Notes : *
'* : *
'****************************************************************



Device = 16F877A
XTAL = 4

Symbol BOTON1 = PORTD.0 ; PARA LOS BOTONES DEL PIC
Symbol BOTON2 = PORTD.1
Symbol BOTON3 = PORTD.2
Symbol BOTON4 = PORTD.3
Symbol LED=PORTD.4
Symbol ok=PORTD.5
LCD_DTPIN = PORTB.4
LCD_RSPIN = PORTB.2
LCD_ENPIN = PORTB.3

Dim suma As Byte



In:
If BOTON1 = 0 Then sumar
If BOTON2 = 0 Then resta
If suma = 5 Then High LED : Else : Low LED

GoTo In

sumar:
suma = suma +1
DelayMS 250
Print At 1,1, DEC3 suma
GoTo In
resta:
suma = suma -1
DelayMS 250
Print At 1,1, DEC3 suma

GoTo In



En la noche subo el gif del funcionamiento y explico todo

Datos archivados del Taringa! original
70puntos
547visitas
0comentarios
Actividad nueva en Posteamelo
0puntos
3visitas
0comentarios
Dar puntos:

Dejá tu comentario

0/2000

Autor del Post

F
F2APC🇦🇷
Usuario
Puntos0
Posts4
Ver perfil →
PosteameloArchivo Histórico de Taringa! (2004-2017). Preservando la inteligencia colectiva de la internet hispanohablante.

CONTACTO

18 de Septiembre 455, Casilla 52

Chillán, Región de Ñuble, Chile

Solo correo postal

© 2026 Posteamelo.com. No afiliado con Taringa! ni sus sucesores.

Contenido preservado con fines históricos y culturales.