View Single Post
  #3   Spotlight this post!  
Unread 20-02-2012, 13:10
DjScribbles DjScribbles is offline
Programming Mentor
AKA: Joe S
FRC #2474 (Team Excel)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Niles MI
Posts: 284
DjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to behold
Re: Last year's limit switch code?

The only thing thats changed (correct me if I'm wrong) is the module number in the constructor. In previous years you would pass in the slot number (or exclude the slot number to use the default), this year, if you are specifying the slot number the convention is:
Module = 1 if this is the module in slots 1-4
Module = 2 if this is the module in slots 5-8

You've probably already seen this in other areas if you typically specify your slot/module number, but it is a change.