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

Displaying speed problem

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
mcad



Joined: 25 Nov 2007
Posts: 48

View user's profile Send private message

Displaying speed problem
PostPosted: Wed Dec 05, 2007 7:45 am     Reply with quote

Hi all;
I tried to display the speed and the duty cycle of the DC motor on the LCD screen. THe sniipt which perform this is as the below.
However; in any case; it does not display the speed.
It does not move the second row.
Would you pleae tell me the reason ?
Code:

Taken out for a while


Last edited by mcad on Wed Dec 05, 2007 11:09 am; edited 1 time in total
Foppie



Joined: 16 Sep 2005
Posts: 138
Location: The Netherlands

View user's profile Send private message Send e-mail Visit poster's website MSN Messenger

PostPosted: Wed Dec 05, 2007 8:17 am     Reply with quote

are you sure count will be 60?

you might improve your code by replacing (count == 60) by (count > 59)

I hope this helps
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group