View previous topic :: View next topic |
Author |
Message |
estenolotien
Joined: 26 Oct 2010 Posts: 3 Location: Madrid
|
Problem with PIC18F87J50 |
Posted: Tue Oct 26, 2010 5:35 am |
|
|
Hi, this is my first message and I don´t know use well this forum, I´m making some personal projects. I choose the pic18f87j50 because is very completed, 2xSPI, 2xUART, USB...
I bougth a board for practice in mikroelectronika and I run a program for switch on some leds and it run ok, but when I run a program for use the uart with RS-232, it no compilate, most of register that I configure manually en my program do not exists in "18f87j50.h", Can you help me? Can you give me the "18f87j50.h" complete?
And, if you have any program that run OK and you want give me, it would be the best.
Thanks, |
|
|
SherpaDoug
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
|
|
Posted: Tue Oct 26, 2010 6:28 am |
|
|
Are you using the #use rs232 and printf() or putc() functions of the compiler? You should not have to use any UART registers for basic usage. _________________ The search for better is endless. Instead simply find very good and get the job done. |
|
|
estenolotien
Joined: 26 Oct 2010 Posts: 3 Location: Madrid
|
|
Posted: Tue Oct 26, 2010 7:30 am |
|
|
No, that is my problem, is the first time that I use CCS (recommended for my friend) and I don´t know the main commands. There is any tutorial? or any document with the main functions?
Thanks, |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
estenolotien
Joined: 26 Oct 2010 Posts: 3 Location: Madrid
|
|
Posted: Wed Oct 27, 2010 1:32 am |
|
|
Ufff, thanks very much, I've seen it a little and it's very complete. I will read all.
Thanks, |
|
|
|