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 4 matches
CCS Forum Index
Author Message
  Topic: Problem with step
cuopbienquin

Replies: 0
Views: 2613

PostForum: General CCS C Discussion   Posted: Thu Oct 11, 2007 7:46 am   Subject: Problem with step
I have a problem with control step.Requirement of programing is followed:
1. When press button_direction , directional of rotation of motor is to will change
2.When press button_star/stop, motor ...
  Topic: A problem with interrupt _external
cuopbienquin

Replies: 6
Views: 7495

PostForum: General CCS C Discussion   Posted: Thu Sep 20, 2007 9:49 pm   Subject: A problem with interrupt _external
@Ttlemah.Okay I see what you expalin in ur code.Genarally, I tend to expand urs to switch program using Timer2_interrupt. For example:
button 1: portb=0b0001111;
delay 50 ms
...
  Topic: A problem with interrupt _external
cuopbienquin

Replies: 6
Views: 7495

PostForum: General CCS C Discussion   Posted: Thu Sep 20, 2007 5:39 am   Subject: A problem with interrupt _external
Thank for comment.And I use ur codes to simulink stpeper motor circuit by Proteuss and it oprerate as I desire.But actually, I cant understand fully this code (sorry u ) .I wish u can find the err ...
  Topic: A problem with interrupt _external
cuopbienquin

Replies: 6
Views: 7495

PostForum: General CCS C Discussion   Posted: Wed Sep 19, 2007 7:08 am   Subject: A problem with interrupt _external
Hi everyone.These followed codes are control stepper motor program.
include
#fuses NOWDT,PUT,XT,NOPROTECT
#use delay(clock=4000000)
#use fast_io(b)
#byte portb=0x06
#byte intcon=0x000B
#bit RB ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group