View Single Post
  #2   Spotlight this post!  
Unread 23-01-2015, 17:55
Quantum Byte's Avatar
Quantum Byte Quantum Byte is offline
Lead Programmer
AKA: Domenic
FRC #4776 (S.C.O.T.S. Bots)
Team Role: Programmer
 
Join Date: May 2012
Rookie Year: 2011
Location: Hartland, Michigan
Posts: 16
Quantum Byte is an unknown quantity at this point
Re: Documentation on the RoboRIO HAL

Nope. I managed to get one working though.

Basically, you just create a PWM object. Then, call the get() function, and that will return a bool/boolean of if a magnet is detected.