Author |
Message |
Topic: Need help with RS232 |
Vlad
Replies: 2
Views: 9160
|
Forum: General CCS C Discussion Posted: Tue Jun 01, 2004 2:30 pm Subject: Need help with RS232 |
Thank you!
It worked. No MAX232, so I needed that INVERT.
Thanks again,
Vlad |
Topic: Need help with RS232 |
Vlad
Replies: 2
Views: 9160
|
Forum: General CCS C Discussion Posted: Tue Jun 01, 2004 12:01 pm Subject: Need help with RS232 |
Hi,
I am trying to connect PIC using RS232 to a PC (using HyperTerminal to read from the PIC (18F452)).
The problem is that no matter how I set the parity and data bits with #use RS232 and no ... |
Topic: Problem with Timer. Please help |
Vlad
Replies: 9
Views: 17916
|
Forum: General CCS C Discussion Posted: Tue May 04, 2004 9:50 am Subject: Problem with Timer. Please help |
Same problem with Timer0.
#include <16F877A.h>
#device ICD=TRUE
#device adc=8
#use delay(clock=4000000)
#include "math.h"
#fuses NOWDT,NOPROTECT,NOLVP
#use delay ... |
Topic: Problem with Timer. Please help |
Vlad
Replies: 9
Views: 17916
|
Forum: General CCS C Discussion Posted: Tue May 04, 2004 9:14 am Subject: Problem with Timer. Please help |
Put the 4MHz crystal in, but still no change with different overflows... I am going to try timer0, just in case. |
Topic: Problem with Timer. Please help |
Vlad
Replies: 9
Views: 17916
|
Forum: General CCS C Discussion Posted: Tue May 04, 2004 8:43 am Subject: Problem with Timer. Please help |
I just looked at the crystal, and its clearly 40MHz. I got this board from a friend who was using it for PIC18 chips, so it might as well be too fast for my PIC16. I guess I will see if he has slower ... |
Topic: Problem with Timer. Please help |
Vlad
Replies: 9
Views: 17916
|
Forum: General CCS C Discussion Posted: Tue May 04, 2004 8:35 am Subject: Problem with Timer. Please help |
Thanks guys. That must be it... From what I recall on one of the boards from Microchip, you can select between the internal and external clock (crystal). Is that correct ?
Anyway, I am curious why ... |
Topic: Problem with Timer. Please help |
Vlad
Replies: 9
Views: 17916
|
Forum: General CCS C Discussion Posted: Mon May 03, 2004 10:31 pm Subject: Problem with Timer. Please help |
1. PIC16F877A
2. I did not specify any fuses
3. #use delay(clock=40000000)
I am pretty sure it is 40Mhz because that is what it says on the crystal oscillator. |
Topic: Problem with Timer. Please help |
Vlad
Replies: 9
Views: 17916
|
Forum: General CCS C Discussion Posted: Mon May 03, 2004 3:38 pm Subject: Problem with Timer. Please help |
Here I am trying to finish the timing equipment for a local car club by friday, and my timer is acting up. I know it is some silly thing, but I cannot see what I am doing wrong.
All I am trying to ... |
|