View Single Post
  #4   Spotlight this post!  
Unread 29-02-2012, 23:10
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: How to tell if hardware component is detached?

Why do you need to dynamically skip over the code? We use #ifdef to enclose code for some components such as Vision, so if we don't have the camera connected, that code won't compile. Isn't that good enough?
__________________
Reply With Quote