Kas and Tom IR commands for BS2-ear =================================== There are 8 Acts held in EEPROM in the BSe-ear(IRearP08m2) which can be recorded and played. These Acts can hold cmnds which are sent to the BSe for execution when Played The Acts 1-8 in the BSe can only be changed in the BSe Editor. They can be played by KEY_VCROSS The default BS Act is set by the HexSwitch The BS-ear is listened to in Tom14-3.BSe Key code action ----------------------------------- KEY_POWER =21 BScmnd =5 Stop/Halt feet together KEY_UP =16 BScmnd =1 Step Forward KEY_DOWN =17 BScmnd =2 Step Back KEY_RIGHT =18 BScmnd =3 Step Right KEY_LEFT =19 BScmnd =4 Step Left KEY_BAR = 96 '[f|] learn an Act, next [key] selects an Act KEY_TENT = 54 '[f^] next [key] selects a Subroutine-Act KEY_VERT_CROSS = 37 'use synonym for easier coding KEY_VCROSS = 37 '[f+] BS2Do CASE >=shiftDo60 BS2cmnd =$2F GOSUB tellBS2 ;$2F =>'c', jump TO Act number in NEXT Byte KEY_DIAG_CROSS = 20 'use synonym for easier coding KEY_XCROSS = 20 '[fX] transfer EEPROM Acts to PC THEN BS2cmnd =$2A dump BSe Acts in decimal KEY_1 =0 Act1 KEY_2 =1 Act2 KEY_3 =2 Act3 KEY_4 =3 Act4 KEY_5 =4 Act5 KEY_6 =5 Act6 KEY_7 =6 Act7 KEY_8 =7 Act8 KEY_9 =8 - behavior, then KEY_1 =0 be slow BS2cmnd =$22 param =$11 GOSUB tellBS2 '$22=s $rp =$11 speed KEY_2 =1 be medium BS2cmnd =$22 param =$33 GOSUB tellBS2 '$22=s $rp =$33 speed KEY_3 =2 be fast BS2cmnd =$22 param =$55 GOSUB tellBS2 '$22=s $rp =$55 speed KEY_4 =3 be UStimid BS2cmnd =$1B GOSUB tellBS2 'be UStimid KEY_5 =4 be USnormal BS2cmnd =$1C GOSUB tellBS2 'be USnormal KEY_6 =5 be USbold BS2cmnd =$1D GOSUB tellBS2 'be USbold KEY_UP =6 be faster BS2cmnd =$10 GOSUB tellBS2 'Su=$10 'increase speed(+1) MAX potspeed KEY_DOWN =17 be slower BS2cmnd =$11 GOSUB tellBS2 'Sd=$11 'reduce speed(/2) MIN minpacespeed KEY_MINUS =98 StbOff BS2cmnd =$13 GOSUB tellBS2 'StbOff=98-60 [9][-]=disable foot test KEY_MINUS BS2cmnd =$12 StbOn KEY_0 BS2cmnd =9 AutoRun =1 KEY_PLUS (enable whiskers - not used, no whiskers)