Author |
Message |
Topic: rs232 issue |
Pulsartomi
Replies: 22
Views: 24677
|
Forum: General CCS C Discussion Posted: Fri Aug 12, 2011 4:46 am Subject: rs232 issue |
Finally, i've got what could cause some errors:
The max 232 circuit is faulty.
I've deleted the INT_RDA and changed the rs-232 interface too.
Now it is budging.
Thank You  |
Topic: rs232 issue |
Pulsartomi
Replies: 22
Views: 24677
|
Forum: General CCS C Discussion Posted: Thu Aug 11, 2011 4:01 pm Subject: rs232 issue |
Thank You very much PCMProgammer  |
Topic: rs232 issue |
Pulsartomi
Replies: 22
Views: 24677
|
Forum: General CCS C Discussion Posted: Thu Aug 11, 2011 11:32 am Subject: rs232 issue |
Hello!
Sure.
#include "F:\Project\16f690 proba\690_uj.h"
#define LED_G PIN_C0
#define LED_Y PIN_C1
#define voltage 3
#define current 7
char f;
unsigned int adc_value;
... |
Topic: rs232 issue |
Pulsartomi
Replies: 22
Views: 24677
|
Forum: General CCS C Discussion Posted: Thu Aug 11, 2011 10:09 am Subject: rs232 issue |
Sorry for writing to this topic, but I didn't want to open a new one for this:
using printf on rs-232, on the PC I receive only the first character of several.
For eg. with printf("adc"); ... |
Topic: Software UART baud rate problem |
Pulsartomi
Replies: 13
Views: 24886
|
Forum: General CCS C Discussion Posted: Thu Apr 21, 2011 1:02 am Subject: Software UART baud rate problem |
SherpaDoug:I don't have a scope yet, but can check it with sound card
Ttelmah: Thank You for the information of the fuses, I was always confused about these.
Thank You guys for your help, much a ... |
Topic: Software UART baud rate problem |
Pulsartomi
Replies: 13
Views: 24886
|
Forum: General CCS C Discussion Posted: Wed Apr 20, 2011 10:25 am Subject: Software UART baud rate problem |
Post the PIC involved.
18F4550
Post the fuses line(s).
#include <18F4550.h>
#device adc=8
#FUSES NOWDT //No Watch Dog Timer
#FUSES WDT128 //Watch D ... |
Topic: Software UART baud rate problem |
Pulsartomi
Replies: 13
Views: 24886
|
Forum: General CCS C Discussion Posted: Wed Apr 20, 2011 9:02 am Subject: Software UART baud rate problem |
my pic rs-232 keeps running at Baud rate 4800 (tested with hyperterminal, and other terminal softwares), but this line should set it to 19200 Baud!
#use delay(clock=20000000)
#use rs232(baud=19200 ... |
Topic: PIC18F26J11 / CCS PCWH help |
Pulsartomi
Replies: 11
Views: 15987
|
Forum: General CCS C Discussion Posted: Mon Jun 07, 2010 7:46 am Subject: PIC18F26J11 / CCS PCWH help |
Thank You very much.
Tomi  |
Topic: Low Voltage Detect interrupt |
Pulsartomi
Replies: 8
Views: 25705
|
Forum: General CCS C Discussion Posted: Mon Jun 07, 2010 7:11 am Subject: Low Voltage Detect interrupt |
Managed to do without interrupt, just with watching the LVDIF flag.
if(bit_test(PIR2,2)==1) shutdown(); |
Topic: Low Voltage Detect interrupt |
Pulsartomi
Replies: 8
Views: 25705
|
Forum: General CCS C Discussion Posted: Mon Jun 07, 2010 4:20 am Subject: Low Voltage Detect interrupt |
For 18f46j11 there is no low voltage interrupt defined. What should I do if I want to use this interrupt to clear the HLVDIF flag, and want to go to sleep mode? I can watch this flag with a bit test, ... |
Topic: Question on waking up from sleep (ULPWU) |
Pulsartomi
Replies: 8
Views: 14836
|
Forum: General CCS C Discussion Posted: Sun Jun 06, 2010 5:36 pm Subject: Question on waking up from sleep (ULPWU) |
bit_set(INTCON,6); //don't forget to enable peripherial interrupts before sleep(); |
Topic: Question on waking up from sleep (ULPWU) |
Pulsartomi
Replies: 8
Views: 14836
|
Forum: General CCS C Discussion Posted: Sun Jun 06, 2010 3:21 pm Subject: Question on waking up from sleep (ULPWU) |
At the same time You replied, I've read that in the datasheet. I've just started to write the code and didn't know this mapping command.
Thank You very much for your help
Best Regards, To ... |
Topic: Question on waking up from sleep (ULPWU) |
Pulsartomi
Replies: 8
Views: 14836
|
Forum: General CCS C Discussion Posted: Sun Jun 06, 2010 1:50 pm Subject: Question on waking up from sleep (ULPWU) |
New problem
I would like to use this routine with 18f46j11, but in compiler there is no INT_ULPWU defined for this device (although it has ulpwu).
Before i wanted to use sleep_ulpwu(); b ... |
Topic: PIC18F26J11 / CCS PCWH help |
Pulsartomi
Replies: 11
Views: 15987
|
Forum: General CCS C Discussion Posted: Wed Jun 02, 2010 10:41 am Subject: PIC18F26J11 / CCS PCWH help |
Sure, it's an older version.
Thank You |
Topic: PIC18F26J11 / CCS PCWH help |
Pulsartomi
Replies: 11
Views: 15987
|
Forum: General CCS C Discussion Posted: Wed Jun 02, 2010 10:30 am Subject: PIC18F26J11 / CCS PCWH help |
Hello All!
I didn't want to create a new topic for this.
I have problem with ccs 18f46j11.h, because it has defined pins only for 28-pin version.But i would like to use the 44-pin TQFP.
PORT D is n ... |
|