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: Problems with bounce in code
danielpepo

Replies: 2
Views: 3964

PostForum: General CCS C Discussion   Posted: Sun May 02, 2010 1:59 pm   Subject: Problems with bounce in code
There's another thing about the code, when I set the delay for 10ms, it takes about 4 seconds for the display to multiplex. Any ideas what's wrong?
Thank you
  Topic: Problems with bounce in code
danielpepo

Replies: 2
Views: 3964

PostForum: General CCS C Discussion   Posted: Fri Apr 30, 2010 2:09 pm   Subject: Problems with bounce in code
I'm using this code to know if a wheel is turning right or left and to increment or decrement the times it turns and show it in a couple of 7segment displays.
When the wheel stops on one of the optic ...
  Topic: Avoiding bounce in input
danielpepo

Replies: 4
Views: 9399

PostForum: General CCS C Discussion   Posted: Wed Apr 14, 2010 3:13 am   Subject: Avoiding bounce in input
I just found out if I load 255 on delay, it doesn't repeat.
I couldn't understand one thing from your button code, How can you know 50 would be 500ms and so on?
  Topic: Avoiding bounce in input
danielpepo

Replies: 4
Views: 9399

PostForum: General CCS C Discussion   Posted: Wed Apr 14, 2010 2:43 am   Subject: Avoiding bounce in input
Thanks for your help.
What if using your button.c code I don't want the delay and the auto-repeat to work?
I want to make a counter which only counts once when the button is pressed, the button coul ...
  Topic: Avoiding bounce in input
danielpepo

Replies: 4
Views: 9399

PostForum: General CCS C Discussion   Posted: Mon Apr 12, 2010 11:31 am   Subject: Avoiding bounce in input
I'm a newbie and I'm trying to learn to program with C.
What's the best way to avoid getting lots of ones when you push a button or get a signal from a sensor? interruption with RB0? or a delay? (I d ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group