MultiProg3.txt Hextor MultiProg 3 ------------------ This file describes the software as developed in Hextor MultiProgSx3 which is the suit of programs in the folder MultiProgSx3. The suit occupies six of eight pages in the BS2Sx. Program0 -------- First program to run, handles cold/warm start cold start default action warm start options/actions hands control to LCDmenu in Prog6 if nothing else to do. Program1 -------- runs the Activities defined in DATA statements. Activities may transfer control to other activities, they may call other activities as subroutines, they may call US- behaviours as subroutines, they may transfer control to a US- behaviour, they may call Basic subroutines and they may run programs in other pages. Program2 -------- runs the US behaviour rules defined in DATA statements. Behaviours may call Activities as subroutines, they may call other behaviours as subroutines, they may transfer control to other behaviours or to other programs. Program3 -------- has been reserved as an area where the user can experiment with direct control of the servos from Basic. Program4 -------- is free for use by the user. Program5 -------- is free for use by the user. Program6 -------- runs the LCD menu system which allows all user functions of the software to be run. As new activities or behaviour rules are written it is a simple matter to link these into the menu, details will be given later. A power-on or reset default can be set which starts the desired activity, behaviour or even program to be run automatically. If interupted by an IR command or Pendant button press then control will pass back to Program0 menu. Program7 -------- has two routines which wouldn't fit in Program0. They are the routine which allows Hextor to be guided from a standard IR- remote control, and the routine which allows Hextor to be guided by the LCD Pendant buttons.