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

DC Motor duty Cycle LCD Display problem2

 
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

DC Motor duty Cycle LCD Display problem2
PostPosted: Fri Nov 30, 2007 11:47 am     Reply with quote

Hi All,
I want to display the duty cycle value of the DC motor. However, as for the display operation, I have some problems.
How can I display the duty cycle value in a persistent way until it changes with user affect(speed up or slow down the motor)
For example, I want that the LCD screen should display: "DUTY: 100" until duty changes. I do not want to show the "DUTY: 100" just when the duty cycle value is 100. Instead, I want to show it as long as the dduty cycle is 100. So, how can I provide this persistence ?

Thanks
Neutone



Joined: 08 Sep 2003
Posts: 839
Location: Houston

View user's profile Send private message

Re: DC Motor duty Cycle LCD Display problem2
PostPosted: Fri Nov 30, 2007 12:20 pm     Reply with quote

mcad wrote:
Hi All,
I want to display the duty cycle value of the DC motor. However, as for the display operation, I have some problems.
How can I display the duty cycle value in a persistent way until it changes with user affect(speed up or slow down the motor)
For example, I want that the LCD screen should display: "DUTY: 100" until duty changes. I do not want to show the "DUTY: 100" just when the duty cycle value is 100. Instead, I want to show it as long as the dduty cycle is 100. So, how can I provide this persistence ?

Thanks


You can think of it as if each segment of the LCD display is a bit in RAM. This is true for basically every LCD controller chip. The display will only change when you write to it or cycle power.
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