0000: 063E00 -- goto main_loop 0003: -- 0003: -- sub button 0003: 02002E01F40128 -- 0 get_position 500 less_than 000A: 05 -- return 000B: -- 000B: -- sub wait_for_button_press 000B: 82 -- wait_for_button_open_10ms 000C: 83 -- wait_for_button_closed_10ms 000D: 05 -- return 000E: -- 000E: -- sub wait_for_button_open_10ms 000E: 09 -- get_ms 000F: -- begin 000F: 80 -- button 0010: 071800 -- if 0013: 0B09 -- drop get_ms 0015: 062300 -- else 0018: 090D1D020A29 -- get_ms over minus 10 greater_than 001E: 0723000B05 -- if drop return endif 0023: -- endif 0023: 060F00 -- repeat 0026: -- 0026: -- sub wait_for_button_closed_10ms 0026: 09 -- get_ms 0027: -- begin 0027: -- 0027: 80 -- button 0028: 073900 -- if 002B: 090D1D020A29 -- get_ms over minus 10 greater_than 0031: 0736000B05 -- if drop return endif 0036: 063B00 -- else 0039: 0B09 -- drop get_ms 003B: -- endif 003B: 062700 -- repeat 003E: -- 003E: -- main_loop: 003E: -- begin 003E: 01701784 -- 6000 frame 0042: -- 0042: 01401F84 -- 8000 frame 0046: 063E00 -- repeat 0049: -- 0049: -- sub frame 0049: 81 -- wait_for_button_press 004A: 02012A -- 1 servo 004D: 05 -- return 004E: -- 004E: -- 004E: -- 004E: -- Subroutines: Hex Decimal Address Name 00 000 0003 BUTTON 01 001 000B WAIT_FOR_BUTTON_PRESS 02 002 000E WAIT_FOR_BUTTON_OPEN_10MS 03 003 0026 WAIT_FOR_BUTTON_CLOSED_10MS 04 004 0049 FRAME