Author |
Message |
Topic: Routine for RS232 |
JEliecer
Replies: 23
Views: 24738
|
Forum: General CCS C Discussion Posted: Wed Apr 27, 2005 8:20 pm Subject: Routine for RS232 |
Hi,
I'm ready. I have a complete routine for receive strings and save it in the eeprom.
Thanks to everybody.
Until soon. |
Topic: Routine for RS232 |
JEliecer
Replies: 23
Views: 24738
|
Forum: General CCS C Discussion Posted: Sat Apr 23, 2005 7:53 am Subject: Routine for RS232 |
Where is the ccs manual.
Can you send me it to [email protected].
Thanks by your help. |
Topic: Display a decimal number in LCD |
JEliecer
Replies: 2
Views: 6836
|
Forum: General CCS C Discussion Posted: Fri Apr 22, 2005 8:03 pm Subject: JELIECER |
x=25;
lcd_putc(x);
With this lines you can place a number in the LCD.
or
printf(lcd_putc,"\f %d", x);
See the PIC C reference manual for number formats. |
Topic: Routine for RS232 |
JEliecer
Replies: 23
Views: 24738
|
Forum: General CCS C Discussion Posted: Fri Apr 22, 2005 7:46 pm Subject: Routine for RS232 |
What is kbhit() ???
How I can use it...??
Can I call this function in the #int_rda routine, How I can do it...??? |
Topic: Routine for RS232 |
JEliecer
Replies: 23
Views: 24738
|
Forum: General CCS C Discussion Posted: Fri Apr 22, 2005 7:46 am Subject: Routine for Rs232 |
If I put gets() in my main() code, it will be executed in every cycle of the forever loop...????
My program has many more instructions, and these should be executed in every cycle of the forever lo ... |
Topic: Routine for RS232 |
JEliecer
Replies: 23
Views: 24738
|
Forum: General CCS C Discussion Posted: Thu Apr 21, 2005 6:42 pm Subject: Routine for RS232 |
The routine to receive strings for the RS232, alone it is a part of my program.
This code that I place in the forum is a test to know how works the data reception by the RS 232.
... |
Topic: Routine for RS232 |
JEliecer
Replies: 23
Views: 24738
|
Forum: General CCS C Discussion Posted: Thu Apr 21, 2005 2:55 pm Subject: Routine for Rs232 |
Hi,
I need your help again....
I wrote the code with yours indications, but it doesn't still work correctly...
I no know where I should define the char C#include<18f448.h>
#include&l ... |
Topic: Routine for RS232 |
JEliecer
Replies: 23
Views: 24738
|
Forum: General CCS C Discussion Posted: Wed Apr 20, 2005 7:45 am Subject: Routine for Rs232 |
Yes, I want to do receive the chars into an array and then convert that array to an integer.
The string only have numbers.
But I can't do it. How can I do...???
Please help me boys. |
Topic: Routine for RS232 |
JEliecer
Replies: 23
Views: 24738
|
Forum: General CCS C Discussion Posted: Tue Apr 19, 2005 6:07 pm Subject: Routine for RS232 |
This is a new code....
#include<18f448.h>
#include<stdlib.h>
#use delay(clock=20000000, RESTART_WDT)
#use RS232(BAUD=9600, BITS=7, PARITY=N, XMIT=PIN_C6, RCV=PIN_C7, RE ... |
Topic: Routine for RS232 |
JEliecer
Replies: 23
Views: 24738
|
Forum: General CCS C Discussion Posted: Tue Apr 19, 2005 9:42 am Subject: Routine for RS232 |
I renewed my code in this way:
#include<18f448.h>
#include<stdlib.h>
#use delay(clock=20000000, RESTART_WDT)
#use RS232(BAUD=9600, BITS=7, PARITY=N, XMIT=PIN_C6, RCV=PIN_ ... |
Topic: Routine for RS232 |
JEliecer
Replies: 23
Views: 24738
|
Forum: General CCS C Discussion Posted: Mon Apr 18, 2005 5:45 pm Subject: Routine for Rs232 |
Thanks boys. Now, I have a routine for receive the characters from the rs232.
But now, I need to convert streams of numbers to whole numbers of 8 bits.
As I can record the data received ... |
Topic: Routine for RS232 |
JEliecer
Replies: 23
Views: 24738
|
Forum: General CCS C Discussion Posted: Mon Apr 18, 2005 8:25 am Subject: Routine for Rs232 |
This is my new code:
#include<16f877a.h>
#include<stdlib.h>
#use delay(clock=10000000, RESTART_WDT)
#use RS232(BAUD=9600, BITS=8, PARITY=N, XMIT=PIN_C6, RCV=PIN_C7, RESTA ... |
Topic: Routine for RS232 |
JEliecer
Replies: 23
Views: 24738
|
Forum: General CCS C Discussion Posted: Sat Apr 16, 2005 1:07 pm Subject: Routine for RS232 |
I need your help.
I have a RS232 routine, but when I send a data by the RS232 to a PIC, the program is Stopped.
This is my code:
#include<18f448.h>
#include<stdlib.h>
#use dela ... |
Topic: Routines for LCD |
JEliecer
Replies: 6
Views: 10257
|
Forum: General CCS C Discussion Posted: Mon Feb 28, 2005 1:18 pm Subject: Routines for LCD |
JEliecer wrote:
lcd_putc(" Ni UnA PuTa MiErDa Y...\n");
lcd_putc("...EsToy QuE Lo MaTo...");
With this kind of messages in LCD I can�t imagine what is your project...
Humber ... |
Topic: Library - driver for LCD with PIC18FXXX |
JEliecer
Replies: 0
Views: 33116
|
Forum: Code Library Posted: Fri Feb 25, 2005 9:30 am Subject: Library - driver for LCD with PIC18FXXX |
////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
// LCDPIC18.C //
// DRIVER FOR LCD WI ... |
|