View Single Post
  #3   Spotlight this post!  
Unread 01-03-2013, 23:56
enrique's Avatar
enrique enrique is offline
Registered User
FRC #1251 (Tech Tigers)
Team Role: Electrical
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Florida
Posts: 87
enrique will become famous soon enough
Send a message via Yahoo to enrique
Re: How to read a pulse?

ok here is the code and the spec. I threw something together using timers, but I was wondering if there is a better way. This is basically using PWM.
Attached Files
File Type: cpp GP2Y0D805Z0F.cpp (1.4 KB, 13 views)
File Type: h GP2Y0D805Z0F.h (625 Bytes, 10 views)
File Type: pdf GP2Y0D805Z0F.pdf (59.7 KB, 25 views)
Reply With Quote