Motor and Sensor Setup
Page 1 of 1

Author:  aaronmk1 [ Mon Feb 10, 2014 1:57 pm ]
Post subject:  Motor and Sensor Setup

Our team uses MANY different autonomous programs and teleop programs. And every time we add something (i.e. a servo) we have to open every single program, change the motor and sensor setup, then re-compile and download every program. Is there a way to create our own, separate program (a header file?), where we have our motor and sensor setup? Then each program would reference (#include?) that file.

Does anyone know if this, or some variation of this, would be possible? We are not very familiar with header files, so more information about those would be great too!

Author:  BurningLights [ Tue Feb 11, 2014 10:40 am ]
Post subject:  Re: Motor and Sensor Setup

Unfortunately, the answer right now is no. The best thing I can suggest is to copy your #pragmas into a text file, then copy-and-paste them from there into every code file. :?

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group