Author |
Message |
Topic: Serial Comms acting screwy |
Steve_Kos
Replies: 3
Views: 3401
|
Forum: General CCS C Discussion Posted: Mon Dec 01, 2008 7:41 pm Subject: Serial Comms acting screwy |
Thank you for your response, see code below:
// Setup RS232 Port.
#use rs232(baud=19200, xmit=PIN_B7, rcv=PIN_B5)
If I understand correctly, this will save "error" mes ... |
Topic: Serial Comms acting screwy |
Steve_Kos
Replies: 3
Views: 3401
|
Forum: General CCS C Discussion Posted: Mon Dec 01, 2008 6:49 pm Subject: Serial Comms acting screwy |
Good day all!
I searched through the forums but I could not find a problem similar to mine. I am doing my second simple comms (RS232) project and trying to receive a simple character via an ASCII m ... |
Topic: PIC RS232 Routine "stops" after first loop. |
Steve_Kos
Replies: 3
Views: 4295
|
Forum: General CCS C Discussion Posted: Wed Sep 24, 2008 12:44 pm Subject: PIC RS232 Routine "stops" after first loop. |
Geeez, thanks!
Totally missed that.
Thanks again!
Steve |
Topic: PIC RS232 Routine "stops" after first loop. |
Steve_Kos
Replies: 3
Views: 4295
|
Forum: General CCS C Discussion Posted: Wed Sep 24, 2008 12:29 pm Subject: PIC RS232 Routine "stops" after first loop. |
All,
I have been searching the forums for an answer to my simple
question, but nothing has worked yet. All want to do is read the
RS232 from Hyperterminal (1 character) using a PIC16F877A
(ru ... |
Topic: Adding a zero in front of numbers and removing decimal place |
Steve_Kos
Replies: 3
Views: 4127
|
Forum: General CCS C Discussion Posted: Tue Aug 26, 2008 3:35 pm Subject: Adding a zero in front of numbers and removing decimal place |
PCM Programmer: Thank you for the advice, I will keep that in mind.
Ttelmah: Thanks, it worked like a champ. So simple, I knew it was staring me in the face.
Thanks!
Steve |
Topic: Adding a zero in front of numbers and removing decimal place |
Steve_Kos
Replies: 3
Views: 4127
|
Forum: General CCS C Discussion Posted: Tue Aug 26, 2008 1:57 pm Subject: Adding a zero in front of numbers and removing decimal place |
Folks,
I am trying to take a known variable that is in the format "xx.xx" and do two things to it. The number range is from 7.00 to 24.99. I would like to add a zero to the begining and r ... |
Topic: PWM ERROR Message |
Steve_Kos
Replies: 2
Views: 3095
|
Forum: General CCS C Discussion Posted: Tue Apr 22, 2008 5:15 pm Subject: PWM ERROR Message |
PCM Programmer ..... Thank you.
I had the project associated with another file that used a PIC with a different part without CCP/PWM.
Thanks again.
Steve |
Topic: PWM ERROR Message |
Steve_Kos
Replies: 2
Views: 3095
|
Forum: General CCS C Discussion Posted: Tue Apr 22, 2008 4:55 pm Subject: PWM ERROR Message |
I am trying to use a PIC16F685 to create a 38kHZ PWM signal. The clock is a 4MHz crystal, CCS 'C' is 4.071. When I add the following code:
setup_ccp1 (CCP_PWM); // ... |
Topic: PIC12F675 "BLINKY" program |
Steve_Kos
Replies: 4
Views: 5793
|
Forum: General CCS C Discussion Posted: Wed Sep 06, 2006 1:41 pm Subject: PIC12F675 not so "BLINKY" Program |
Thanks guys! Program is working as expected now.
It was "growing pains". |
Topic: PIC12F675 "BLINKY" program |
Steve_Kos
Replies: 4
Views: 5793
|
Forum: General CCS C Discussion Posted: Wed Sep 06, 2006 9:33 am Subject: PIC12F675 "BLINKY" program |
Friends,
I am playing with the PIC12F675 for the first time using CCS version 4.005. I am currently just trying to turn on a LED on GP5 using the following:
------------------------------------- ... |
|