All pastes #485634 Raw Edit

tomp

public text v1 · immutable
#485634 ·published 2007-05-13 03:37 UTC
rendered paste body
<?xml version='1.0' encoding='UTF-8'?>
<pyvcp>
        <labelframe>
                <text>"Open Loop Jogger using pwmgen with l298"</text> # change the title as you like
                <vbox>
                        <dial>
                                <size>300</size>
                                <cpr>20</cpr>
                                <min_>-0.99</min_>
                                <max_>0.99</max_>
                                <text>"D%"</text>
                                <text2>0.01</text2>
                                <text3>0.1</text3>
                                <halpin>"dutyPsycho"</halpin>
                        </dial>
                </vbox>
                <hbox>                                                  # stuff in an hbox is stack like books on a shelf
                        <relief>RIDGE</relief>
                        <bd>2</bd>
                        <checkbutton>
                                <halpin>"pwmGenEna"</halpin>
                                # looks like i dont have MY checkbutton is cuz it puked on btntype
                        </checkbutton>
                        # ugly spacing technique
                        <label>
                                <text>"____________________________________"</text>
                        </label>
                        <led>
                                <size> 30 </size>
                                <halpin>"enaNdk8r"</halpin>
                        </led>
                </hbox>
                <label><text>"Some Axis"</text></label>
                <hbox>
                        <number>
                                <halpin>"droDisplayValu"</halpin>
                                <format>"+004.3f"</format>
                                <font>('courier 10 pitch',50)</font>
                        </number>
                        <button>
                                <text>"SetRef"</text>
                                <halpin>"guiSetRef"</halpin>
                        </button>
                </hbox>

        </labelframe>

</pyvcp>