Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Brian,
Thank for a reply.
Well, i will try as you advice to use Mplab XC8 version 2.10.
I will follow you to use include xc.h.
Let me check it to compile under XC8 version 2.10.
Thanks.
Sacban.
- - - Updated - - -
Brian,
I trying to compile under XC8 Version 2.10, i still getting an error...
Hi,
Thanks all for suggestion, i trying to compile with MPLAB X IDE V3.45, i got an error.
Could anyone here check what a problem there.
Here are :
#include <pic.h>
// pic16f628a (раскомментировать, в случае использования)
// __CONFIG (INTIO & UNPROTECT & LVPDIS
// & BOREN & MCLRDIS & PWRTEN...
All Member,
Please help me.
I want to know what is to do compile this code, i do not know much this language/compiler they use, here are the code :
#include <pic.h>
// __CONFIG (INTIO & UNPROTECT & LVPDIS //What mean this
// & BOREN & MCLRDIS & PWRTEN & WDTDIS)...
Hi Tannara,
As well my program are :
1). I have for input are Q1-Q2-Q3-Q4 in PORTA, all those an input are waiting for instruction to get voltage around 2-3,2 Vdc (this led voltage).
2). Q1-Q2-Q3-Q4 working similiar BCD, example when Q1 have a high then the rest is lower, I need to...
Hi Tannara,
Is not AVR GCC, his a MikroC Compiler Pro C.
unsigned int adc_val, adc_val1, adc_val2, adc_val3;
unsigned long Q1, Q2, Q3, Q4; // These are gate PORTA0 - PORTA3
sbit LED0 at PORTD.B0;
sbit LED1 at PORTD.B1;
sbit LED2 at PORTD.B2;
sbit LED3 at PORTD.B3;
sbit BLINK at PORTE.B0...
Hi There,
I have a problem with my code, could please see on below :
unsigned int adc_val, adc_val1, adc_val2, adc_val3;
unsigned long Q1, Q2, Q3, Q4; // These are gate PORTA0 - PORTA3
sbit LED0 at PORTD.B0;
sbit LED1 at PORTD.B1;
sbit LED2 at PORTD.B2;
sbit LED3 at PORTD.B3;
sbit BLINK...
Hello There,
Thank you for your respond according my question.
As well your suggestion below are :
baileychic : I trying that method but doesn't working.
KlausST : My thoughts:
* What's wrong when it shows "00.00"?
** It's no wrong but more better if the zero hidden before use.
* there...
Hello Everyone,
I made a project for a volt meter, this project already working fine, just I want to change the method during first time running.
First time running, I got digit 00.00 onto LCD appears, then once the voltage read source voltage "example 4,5 volt" the digit reading for 04.50...
Hi Members,
Please find attached files.
This project has been discuss on this forum, and now has been working fine on Proteus, I am not tested yet on the hardware.
:thinker::thinker:
Sacban
KOPED-BJ-TB
097936.
baileychic :
PORTA.F0 & PORTA.F1 is an input, is not about debounce or speed, ofcourse their connected to button.
The code only work for PORTA.F0, but not for PORTA.F1, if they same like this (for PORTA.F1)
//if(UART1_Tx_Idle() == 1){
UART1_Write('Z');
UART1_Write('X');
UART1_Write('A')...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.