Thread
:
Documentation on the RoboRIO HAL
View Single Post
#
2
23-01-2015, 17:55
Quantum Byte
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
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.
Quantum Byte
View Public Profile
Find all posts by Quantum Byte
Find CD-Media Photos by Quantum Byte
Find CD-Media Papers by Quantum Byte