View Single Post
  #1   Spotlight this post!  
Unread 05-02-2014, 21:55
JakeE's Avatar
JakeE JakeE is offline
Shut up and program.
FRC #4127 (LoggerBots)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Vernonia, OR
Posts: 3
JakeE is an unknown quantity at this point
Counting the amount of times a voltage is read?

I have been having a complete brain fart over how to program something I think should be really simple. Using a sequence, I want a button to start a motor, count the amount of times a certain voltage is read from our analog channel, and then stopping the motor. However, I have no idea how to count and reset the amount of times this voltage is read! Anyone have any ideas?
Reply With Quote