Programs: Difference between revisions

Content added Content deleted
Line 3: Line 3:


==== Setup Section ====
==== Setup Section ====
The first lines of a program should be your setup instructions. This often means zeroing registers and setting constants to be used later. It's also a good idea to set all your outputs to ideal conditions.
The first lines of a program should be your setup instructions. This often means zeroing registers and setting constants to be used later. It's also a good idea to set all your outputs to ideal conditions. We can do this quickly using our [[Best Practices|best practices]] PR[2] which is set to zero.
Examples:
Examples: