Author |
Message |
Topic: SERVO.c outputing 50% Duty Cycle Square Wave |
kg6vkg
Replies: 7
Views: 15383
|
Forum: General CCS C Discussion Posted: Sun Jul 09, 2006 6:31 pm Subject: SERVO.c outputing 50% Duty Cycle Square Wave |
Thanks for looking at my problem again PCM_Programmer. Why I was having the problem wasn't making sense, so I started playing around with some of the code. And all of sudden I was able to get it to w ... |
Topic: SERVO.c outputing 50% Duty Cycle Square Wave |
kg6vkg
Replies: 7
Views: 15383
|
Forum: General CCS C Discussion Posted: Fri Jul 07, 2006 1:41 pm Subject: What I expect |
I agree with the link PCM_Programmer that you sent me. What I expect is a pulse every 20ms. The pulse whould range between 1.0 to 2.0 ms. In order for the modified servo to stop i would give it a 1.5 ... |
Topic: SERVO.c outputing 50% Duty Cycle Square Wave |
kg6vkg
Replies: 7
Views: 15383
|
Forum: General CCS C Discussion Posted: Fri Jul 07, 2006 7:05 am Subject: Still Not Working |
I still have not been able to figure out why the servo.c is not working. I changed the output pins and it does the same thing on whatever pins I declare. How would I verify that timer 1 is operating c ... |
Topic: SERVO.c outputing 50% Duty Cycle Square Wave |
kg6vkg
Replies: 7
Views: 15383
|
Forum: General CCS C Discussion Posted: Mon Jul 03, 2006 11:25 am Subject: SERVO.c outputing 50% Duty Cycle Square Wave |
I am programming a Mark III mini-sumo robot with RC servos for drives.
Chip: 16F877A
OSC: 20 Mhz
Servo Control Pins: B1 and B2
I am trying to use the SERVO.c driver for the two servos that are ... |
Topic: Problems with Full Bridge Configuration |
kg6vkg
Replies: 1
Views: 4387
|
Forum: General CCS C Discussion Posted: Sat Dec 10, 2005 2:50 am Subject: Problems with Full Bridge Configuration |
I am new to the CCS compiler and am having trouble setting up a full bridge controller.
Setup:
Compiler: PCWH 3.239
Chip: 18F4520
ICD: ICD-U40
I can't seem to get the Full Bridge PWM to work u ... |
Topic: Trouble with debug mode on ICD-U40 |
kg6vkg
Replies: 3
Views: 29895
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Sat Dec 10, 2005 2:11 am Subject: Trouble with debug mode on ICD-U40 |
I found the problem. In the debug configure it changed to look for a serial ICD and not the USB ICD. Thanks for all your help. - Mark |
Topic: Trouble with debug mode on ICD-U40 |
kg6vkg
Replies: 3
Views: 29895
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Thu Dec 08, 2005 6:15 pm Subject: Pic Chip |
I am using an 18F4520. |
Topic: Trouble with debug mode on ICD-U40 |
kg6vkg
Replies: 3
Views: 29895
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Thu Dec 08, 2005 5:50 pm Subject: Trouble with debug mode on ICD-U40 |
I am new to CCS and am using the ICD-U40 with CCS PCWH 3.239. I was working on some code tried to go into debug mode and the status word said attaching and then gave me the following error: "No respon ... |
Topic: Problems debugging 16F690 |
kg6vkg
Replies: 4
Views: 11453
|
Forum: General CCS C Discussion Posted: Sun Dec 04, 2005 2:23 am Subject: One more question |
On the page you linked me to there is # sign next to it as follows:
PIC16F690 #
And at the bottom of the page it says:
# Indicates a special -ICD part is required for debugging
Any idea wh ... |
Topic: Problems debugging 16F690 |
kg6vkg
Replies: 4
Views: 11453
|
Forum: General CCS C Discussion Posted: Sun Dec 04, 2005 2:20 am Subject: That would explain alot |
Thanks for for the heads up.
-Mark |
Topic: Problems debugging 16F690 |
kg6vkg
Replies: 4
Views: 11453
|
Forum: General CCS C Discussion Posted: Sat Dec 03, 2005 7:48 pm Subject: Problems debugging 16F690 |
Greetings I bought CCS PCWH two weeks ago in order to finish my senior project. I was able to for the most part program a 18F4520 to run a display and decode a 4x4 keypad. Now I am trying to program t ... |
Topic: LCD Control Wires Split Across 2 PORTS |
kg6vkg
Replies: 2
Views: 6029
|
Forum: General CCS C Discussion Posted: Thu Dec 01, 2005 9:45 pm Subject: Thanks for the code |
That code worked perfect, thanks for the links. My LCD is working great now.
-Mark |
Topic: LCD Control Wires Split Across 2 PORTS |
kg6vkg
Replies: 2
Views: 6029
|
Forum: General CCS C Discussion Posted: Sat Nov 26, 2005 11:56 pm Subject: LCD Control Wires Split Across 2 PORTS |
Greetings. I bought the PCWH software last week and am trying to get familiar with it. I am pretty familiar with the pic assembler, and am now trying to branch into the C language.
I am using:
... |
|