Jump to content
  • 0
Sign in to follow this  
kevinmanuel

Coding Problems: Making a Counter that Counts by 1

Question

Hi,

My team and I have been struggling to write code that uses a limit switch or bump switch. We want the code to make a counter that counts each time the switch is pressed down. However our code counts to roughly 60,000 for every 1 second it is pressed. It counts higher and higher the longer you hold it down. We just want the code to count it when it is pressed and not by how many seconds it was held down for. I do not have the code on my person as it is on my teammate's computer but if anybody could offer tips or guidelines to follow.

Any help will be apprecited.

I didn't find the right solution from the Internet. 

References:
http://www.robotc.net/forums/viewtopic.php?p=38220
Professional video production company

Thank you.


    

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Welcome to Skytells

    This is the official community for Skytells, Inc,
    we're glad to see you've stopped by! We'd love to have you join our community please take a moment to register and join in on the conversation.

  • Recently Browsing   0 members

    No registered users viewing this page.

×