Technology Forum Has Moved!

The FIRST Tech Challenge Technology forum has moved to a new location! Please take a look at our forum blog for links and instructions on how to access the new forum.


Note that volunteers (except for FTA/WTA/CSA will still access their role specific forum through this site. The blog also outlines how to access the volunteer forums.
See more
See less

passing parameters to opmodes

  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by tvsknights View Post
    which two wires would you connect to the switch?
    You can't just connect switch directly to Core Device Module, you'll need pull up or pull down resistors. However since I have few limiting switches like these https://images-na.ssl-images-amazon....jL._SY300_.jpg , I'll just limiting switch out and solder toggle switch


    • #17
      Our team has class that contains all the code then two derived classes one for red and one for blue only has a constructor that passes alliance specific setup information to the main code.
      We did the same thing last year and it worked great.
      Note that just having it turn left as opposed to turning right is often not quite enough as there is often some imperfections that prevent 100% mirror symmetry.