CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 5 matches
CCS Forum Index
Author Message
  Topic: My Servo Function
palazzolojoe

Replies: 7
Views: 10627

PostForum: General CCS C Discussion   Posted: Wed Feb 15, 2012 2:54 pm   Subject: My Servo Function


20 msec is actually a typical recurring REFRESH rate for many kinds of this
servo. But the way you calculate the LOW duty makes no sense at all -
as it is NOT required AFTER a move is comple ...
  Topic: My Servo Function
palazzolojoe

Replies: 7
Views: 10627

PostForum: General CCS C Discussion   Posted: Wed Feb 15, 2012 1:59 pm   Subject: My Servo Function
I have a HS-311 servo motor that I want to control with a pic16f877a.
The pulse range is from 1 to 2 ms with a period of 20ms. its operating angle is +/- 45 degrees (90 degrees in total). its sp ...
  Topic: passing Pin to function
palazzolojoe

Replies: 2
Views: 4211

PostForum: General CCS C Discussion   Posted: Wed Feb 15, 2012 8:51 am   Subject: passing Pin to function
in the properties for ccsc
File version:4.0.0.207
product version: 4.0.0.0

basically what I need this for is to enhance my servo function, my code is as follows

void move_servo(int period, ...
  Topic: passing Pin to function
palazzolojoe

Replies: 2
Views: 4211

PostForum: General CCS C Discussion   Posted: Tue Feb 14, 2012 11:34 pm   Subject: passing Pin to function
Does anyone know how to pass a pin to a function?

For example,
Lets say I wanted pin=pin_b1
I want to pass pin_b1 into a function as follows:

void output (pin ) //this is where i am ha ...
  Topic: Can't Write/Read from EEPROM
palazzolojoe

Replies: 2
Views: 4281

PostForum: General CCS C Discussion   Posted: Sat Feb 04, 2012 11:41 am   Subject: Can't Write/Read from EEPROM
I have created a VB application to read serial input from the PIC. I have leds hooked up to B6/B7 to debug what state I'm in. When I use the following code I do not receive anything back on the VB si ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group