How Far is that?

In an earlier section, we learned how to use Debug mode to control our servo position. Debug mode is primarily used for checking and debugging your code. This can be done through the use of controls, indicators and graphs.

Indicators are outputs, take data out of the program, and therefore help us read important values. Combined with with the Debug mode, the indicator will continually update. Indicators appear on both the front panel and the block diagram. The use of graphs can also be useful in checking code. Graphs are placed on the front panel, and create an indicator on the front panel. The purpose of this section’s exercise will be to incorporate controls, graphs, and indicators into your previous code.

Left Arrow Right Arrow