Author |
Message |
Topic: PIC Problems 101 |
wrocko
Replies: 7
Views: 23799
|
Forum: General CCS C Discussion Posted: Fri Oct 17, 2003 4:01 pm Subject: PIC Problems 101 |
Thanks for all the great ideas. The clock being set to the wrong delay was not the culprit, but was definetly something that needed to be fixed. I tried each idea seperately to see which would solve ... |
Topic: PIC Problems 101 |
wrocko
Replies: 7
Views: 23799
|
Forum: General CCS C Discussion Posted: Thu Oct 16, 2003 3:46 pm Subject: PIC Problems 101 |
#include <16F877.h>
#use delay(clock=40000000)
#fuses XT,NOWDT
#use rs232(baud=9600,parity=N,xmit=PIN_C6,rcv=PIN_C7)
The chip is a PIC16F877, and i have a 1k resistor going to 5V on the MC ... |
Topic: PIC Problems 101 |
wrocko
Replies: 7
Views: 23799
|
Forum: General CCS C Discussion Posted: Thu Oct 16, 2003 1:56 pm Subject: PIC Problems 101 |
I have a nice working circuit that I am utilizing to control a set of H-Bridges for control of a robot. Yet, the oddest thing happens. When I energize the system, the PIC does not begin its program ... |
Topic: RS-232 Woes |
wrocko
Replies: 2
Views: 15508
|
Forum: General CCS C Discussion Posted: Sun Sep 28, 2003 8:51 pm Subject: RS-232 Woes |
Thanks, that did the trick for the transmitter. I solved my own problems on the receiver. I wasn't emptying the characters that came with getc() so the loop kept going into the toggle area. The tog ... |
Topic: RS-232 Woes |
wrocko
Replies: 2
Views: 15508
|
Forum: General CCS C Discussion Posted: Sun Sep 28, 2003 1:03 pm Subject: RS-232 Woes |
I am a bit new to PCW and MCUs in general. I am trying to get some RS-232 communication going between two chips (16f877), more or less as practice. Yet, I am encountering two main problems: my recei ... |
|