Programming: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
No edit summary
No edit summary
Line 29: Line 29:
<div class="mw-parser-output">
<div class="mw-parser-output">
<div class="mw-parser-output"><div class="mw-parser-output">
<div class="mw-parser-output"><div class="mw-parser-output">
<div class="mw-parser-output">
<div class="mw-parser-output">
<div class="mw-parser-output">
<div class="mw-parser-output">
<div class="mw-parser-output">
Line 39: Line 40:
[http://penfieldrobotics.com/wiki/images/8/84/Preseason_Lesson1_TurnMotor.txt <font color="#0066cc">Lesson 1</font>]: Make a motor run
[http://penfieldrobotics.com/wiki/images/8/84/Preseason_Lesson1_TurnMotor.txt <font color="#0066cc">Lesson 1</font>]: Make a motor run


[[Preseason_Lesson2|Lesson 2]]: Control motor using the joystick
[[Preseason_Lesson2|Lesson 2]]: Control motor direction using the joystick


[[Preseason_Lesson3|Lesson 3]]: Automatically stop motor when limit switch is tripped
[[Preseason_Lesson3|Lesson 3]]: Automatically stop motor when limit switch is tripped
</div> </div> </div> </div> </div> </div> </div> </div> </div> </div></div></div></div>
</div> </div> </div> </div> </div> </div> </div> </div> </div> </div></div></div></div></div>

Revision as of 11:15, 25 November 2019

FRC and WPILib References

Quite Useful Things to Remember

Camera Server Port is 1181

Programming Preseason

Lessons

Create a 'test' project following these instructions: Create Test Project

      NOTE: Get Robot.cpp & Robot.h file contents from:  Preseason_Initial.zip

Lesson 1: Make a motor run

Lesson 2: Control motor direction using the joystick

Lesson 3: Automatically stop motor when limit switch is tripped