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.
I set PORTB as ouputs and i set PORTBbits.RB0==1; (HIGH) but when i measure the voltage on RB0 was zero
- - - Updated - - -
Finally i fix it. I change PORTBbits.RB0==1 to PORTA=0b00000001;
Thank you mate!
Hello mate
I know that, but i want to connect my pic18f2520 with arduino. i want to sent HIGH (3-5V) from RB1 to arduino only when I want, not continuously
I changed this code:
void Delay20TCY() //20 clock cycles, 2.5mS
{
Delay10TCYx(2);
}
to
void Delay20TCY()
{
Delay10TCYx(50);
}
i don't know if its correct but its now working fine with the Clear Screen! :smile:
I found this delay generator but i don't understand the code...
The clock frequency is 40 MHz
- - - Updated - - -
Yes i added delay before and after screen command and its working but alexx said that "This will not fix the problem, but it will help you understand what is going on, before the second print."
- - - Updated - - -
The initialize is it this...
First it print ("Hello World") on fist line and after 1 second it print ("ello again") on fist line.
I use c18 compiler.
I tried your code but i have error to this line void WriteChar(char *data) i think is the *
- - - Updated - - -
Ps. This code it was for pic18f1220. i tried to this pic and...
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.