Fixing a Wrong 'Degrees' Indicator in the IDE

<< Click to Display Table of Contents >>

Navigation:  eTPU Development Tool (ASH WARE, Inc.) >

Fixing a Wrong 'Degrees' Indicator in the IDE

Previous pageReturn to chapter overviewNext page

The simulator uses default and arbitrary angle constants for number of degrees per cycle (typically 720) and the number of teeth per revolution (typically 36.) These defaults can be overriden with the following script command:

set_angle_indices(DegreesPerCycle, TeethPerCycle);

To find out more about this script command ...

1.In the DevTool IDE, go the the "Help" menu and select, "Contents".

2.In the top toolbar, click on "Index".

3.In the dialog that pops up, select the "Search" tab.

4.Type in, 'set_angle_indeces' and view the topics that are found.

5.This 'splains it!