<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="http://forum.robosavvy.com/feed.php?f=4&amp;t=978" />

<title>RoboSavvy Forum</title>
<subtitle>Robosavvy Forum: The largest online community of Humanoid Robot Builders</subtitle>
<link href="http://forum.robosavvy.com/index.php" />
<updated>2009-01-16T04:01:14+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=4&amp;t=978</id>
<entry>
<author><name><![CDATA[LOtrobot]]></name></author>
<updated>2009-01-16T04:01:14+01:00</updated>
<published>2009-01-16T04:01:14+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=18854#p18854</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=18854#p18854"/>
<title type="html"><![CDATA[Expand Your Remcon.]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=18854#p18854"><![CDATA[
Hi guys, I would like to incorporate your codes into my Remote so that it has additional banks. Which part of the codes do I copy and paste onto the robo basic template? I am completely noob about programming so need some guide on this. Thanks.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1319">LOtrobot</a> — Fri Jan 16, 2009 4:01 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[grisuzone]]></name></author>
<updated>2008-03-16T22:24:51+01:00</updated>
<published>2008-03-16T22:24:51+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=14816#p14816</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=14816#p14816"/>
<title type="html"><![CDATA[Expand Your Remcon.]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=14816#p14816"><![CDATA[
Am there Novelty?<br />Have you optimized the code for remocon?<br />You can post him/it thanks from all the NewByes<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=915">grisuzone</a> — Sun Mar 16, 2008 10:24 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Tim]]></name></author>
<updated>2008-02-05T10:48:01+01:00</updated>
<published>2008-02-05T10:48:01+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=14017#p14017</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=14017#p14017"/>
<title type="html"><![CDATA[Expand Your Remcon.]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=14017#p14017"><![CDATA[
Hi Visuvius<br /><br />Glad to be of help <img src="http://forum.robosavvy.com/images/smilies/icon_wink.gif" alt=";-)" title="Wink" /><br /><br />I suspect your latest problem is that when you push a key that falls outside the range of the valid options in the on .. goto statement for the bank you are in, it will cause the code to find its way back to MAIN: and you have to start over.<br /><br />You can avoid all that by implementing the following approach where the bank select keys are just like any other 'move', except that they change the context (i.e. the bank). That context is picked up every time you process a move key. You'll see that I've kept the default behaviour for all banks except for the first say 2 - 6 moves where I have new code. This means the favourites like walk forward/backward cartwheel/tumble etc are always available if you so wish (not that this is a new feature), also note that you have to keep the K18,K23,K32 the same in each bank's on_goto so that you can change the bank! This is just what I blatted down after reading this thread so nothing exactly new here . . . . <br /><br />'&lt;snip&gt;<br /><br />DIM BANKSEL AS BYTE  'Used for code banking <br />'E key =&gt; BANKSEL = 0 =&gt; default routines<br />'F key =&gt; BANKSEL = 1 =&gt; dance and routines<br />'G key =&gt; BANKSEL = 2 =&gt; combat and sonar routines<br /><br />'&lt;snip&gt;<br /><br />GOSUB standard_pose<br />GOSUB gyro_setup<br />BANKSEL = 0 ' default bank<br /><br />MAIN:<br />'GOSUB robot_voltage<br />GOSUB robot_tilt<br /><br />'-----------------------------<br />IF RR = 0 THEN GOTO MAIN1<br /><br />ON RR GOTO MAIN,K1,K2,K3,K4,K5,K6,K7,K8,K9,K10,K11,K12,K13,K14,K15,K16,K17,K18,K19,K20,K21,K22,K23,K24,K25,K26,K27,K28,K29,K30,K31,K32<br />GOTO main_exit<br />'-----------------------------<br />MAIN1:   'this is the remote control section<br />A = REMOCON(1)  <br />A = A - ID<br /><br />IF BANKSEL &gt; 2 THEN BANKSEL = 2  'only three banks at the minute<br /><br />ON BANKSEL GOTO default_bank, cute_bank, combat_bank <br /><br />default_bank:<br />ON A GOTO MAIN,K1,K2,K3,K4,K5,K6,K7,K8,K9,K10,K11,K12,K13,K14,K15,K16,K17,K18,K19,K20,K21,K22,K23,K24,K25,K26,K27,K28,K29,K30,K31,K32<br />GOTO MAIN<br /><br />cute_bank:<br />ON A GOTO MAIN,a1,a2,a3,a4,a5,a6,K7,K8,K9,K10,K11,K12,K13,K14,K15,K16,K17,K18,K19,K20,K21,K22,K23,K24,K25,K26,K27,K28,K29,K30,K31,K32<br />GOTO MAIN<br /><br />combat_bank:<br />ON A GOTO MAIN,b1,b2,b3,K4,K5,K6,K7,K8,K9,K10,K11,K12,K13,K14,K15,K16,K17,K18,K19,K20,K21,K22,K23,K24,K25,K26,K27,K28,K29,K30,K31,K32<br />GOTO MAIN<br /><br />'&lt;snip&gt;<br /><br />k18:' E<br />TEMPO 230<br />MUSIC &quot;CDE&quot;<br />BANKSEL = 0<br />GOTO main_exit<br /><br />'&lt;snip&gt;<br /><br />k23:' G (not F!)<br />TEMPO 230<br />MUSIC &quot;EF&quot;<br />BANKSEL = 2 ' combat_bank<br />GOTO main_exit<br /><br />'&lt;snip&gt;<br /><br />k32:' F<br />TEMPO 230<br />MUSIC &quot;CCFC&quot;<br />BANKSEL = 1' cute bank<br />GOTO main_exit<br /><br /><br />'==================================<br />' CUTE BANK<br /><br />a1:<br />GOSUB butt_scratch<br />SPEED 10<br />GOSUB standard_pose<br />GOTO main_exit<br /><br />a2:<br />GOSUB ymca<br />SPEED 10<br />GOSUB standard_pose<br />GOTO main_exit<br /><br />a3:<br />GOSUB tip_toes<br />SPEED 10<br />GOSUB standard_pose<br />GOTO main_exit<br /><br />a4:<br />GOSUB led_toggle<br />SPEED 10<br />GOSUB standard_pose<br />GOTO main_exit<br /><br />a5:<br />GOSUB led_toggle2<br />SPEED 10<br />GOSUB standard_pose<br />GOTO main_exit<br /><br />a6: <br />GOSUB govenor<br />SPEED 10<br />GOSUB standard_pose<br />GOTO main_exit<br />'===================================<br />' COMBAT BANK<br /><br />b1:<br />GOSUB sonar_grab<br />SPEED 10<br />GOSUB standard_pose<br />GOTO main_exit<br />b2:<br />GOSUB map_right_attack<br />SPEED 10<br />GOSUB standard_pose<br />GOTO main_exit<br />b3:<br />GOSUB martial_arts_pose<br />DELAY 500<br />GOSUB standard_pose<br />GOTO main_exit<br /><br />'&lt;snip&gt; That's all folks.<br /><br /><br />oh - to add a new move, say called 'hug' on key 9 in the cute_bank you need to do the following three things:-<br /><br />1/ change the routine called when you hit key 9 in cute bank from k9 to a9, like so:<br /><br />cute_bank:<br />ON A GOTO MAIN,a1,a2,a3,a4,a5,a6,K7,K8,a9,K10,K11,K12,K13,K14,K15,K16,K17,K18,K19,K20,K21,K22,K23,K24,K25,K26,K27,K28,K29,K30,K31,K32<br />GOTO MAIN<br /><br />2/ add some code with label a9 to call your routine <br /><br /><br />a9:<br />   GOSUB hug<br />   SPEED 10<br />   GOSUB standard_pose<br />   GOTO main_exit<br /><br />3/ implement your new code <br /><br />hug:<br />   'do something interesting. <br />   RETURN<br /><br /><br />That should improve things for you <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":-)" title="Smile" /><br /><br />Also, if you get tempted to make the bank_select tunes longer (the ones that play when you hit E,F,G), you might find RN-1 falls over. It would seem that the motors are relaxed whilst he is whistling, so my attempt at a (unfortunately high-pitched) recreation of an 8 note jaws theme for the combat section just meant he fell over whilst waiting for the tune to finish! F<br /><br />Cheers<br />Tim<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=865">Tim</a> — Tue Feb 05, 2008 10:48 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[visuvius]]></name></author>
<updated>2008-02-05T04:42:00+01:00</updated>
<published>2008-02-05T04:42:00+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=14015#p14015</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=14015#p14015"/>
<title type="html"><![CDATA[Expand Your Remcon.]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=14015#p14015"><![CDATA[
Tim you're the man!  Doing what you said worked like a charm.  <br /><br />However, what I can't figure out is that sometimes, I have 2 or 3 seconds after I hit the code bank key to hit the move key, other times I have to hit the move key immediately after I press the code bank key.  At first I thought it had to do with the code banks; it seemed like I had several seconds with Bank1 but had to press the code immediately with the other banks but then I noticed it was more random.<br /><br />Anyhow, just wanted to say it worked and thanks again.  I'd still like to check out your code as it seems like a better alternative.<br /><br />For reference, here is what my code looks like now:<br /><br />MAIN: <br /><br />A = REMOCON(1)<br />A = A - ID<br />IF A = 18 THEN GOTO BANK1<br />IF A = 32 THEN GOTO BANK2<br />IF A = 23 THEN GOTO BANK3 <br />GOTO main<br /><br />'--------------------------------------------------<br />BANK1: <br />A = REMOCON(1) <br />A = A - ID<br />IF A = 16 THEN GOTO MAIN<br />ON A GOTO BANK1<br />ON A GOTO MAIN,K1,K2,K3,K4,K5<br />GOTO MAIN <br />'==================================================<br />BANK2: <br />A = REMOCON(1) <br />A = A - ID <br />IF A = 16 THEN GOTO MAIN<br />ON A GOTO BANK2<br />ON A GOTO MAIN,A1,A2,A3,A4,A5<br />GOTO MAIN <br />'===================================================<br />BANK3: <br />A = REMOCON(1) <br />A = A - ID <br />IF A = 16 THEN GOTO MAIN<br />ON A GOTO BANK3<br />ON A GOTO MAIN,B1,B2,B3,B4,B5<br />GOTO MAIN<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=871">visuvius</a> — Tue Feb 05, 2008 4:42 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[visuvius]]></name></author>
<updated>2008-02-05T00:49:40+01:00</updated>
<published>2008-02-05T00:49:40+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=14012#p14012</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=14012#p14012"/>
<title type="html"><![CDATA[Expand Your Remcon.]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=14012#p14012"><![CDATA[
Thanks for the reply Tim!<br /><br />I'm going to try your fix when I get home but I would totally be interested in your code if you don't mind sharing it.<br /><br />Thanks again.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=871">visuvius</a> — Tue Feb 05, 2008 12:49 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Tim]]></name></author>
<updated>2008-02-04T23:42:36+01:00</updated>
<published>2008-02-04T23:42:36+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=14010#p14010</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=14010#p14010"/>
<title type="html"><![CDATA[Expand Your Remcon.]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=14010#p14010"><![CDATA[
Hi Vesuvius<br /><br />At first glance it looks like your code requires you to press a bank key, then immediately press a move key (within &lt;10 Robobasic instruction cycles or 10 - 20 ms at most) - and since that is a tall order, you miss your one chance to hit a move key. And the cycle repeats...Caveat - I only skimmed your code so might have misunderstood some of the more subtle nuances of it (or the nature of the problem entirely!!)<br /><br />However, if you don't mind having to select the bank before each move, then a small tweak to your code should have you up and running. Just change the destination of the first jump in the on .. goto statement to point to the mainX: label for the bank you are currently in.<br /><br />MAIN1:<br />A = REMOCON(1)<br />A = A - ID<br />IF A = 16 THEN GOTO MAIN<br />ON A GOTO MAIN1,K1,K2,K3,K4,K5<br />GOTO MAIN<br />'==================================================<br />MAIN2:<br />A = REMOCON(1)<br />A = A - ID<br />IF A = 16 THEN GOTO MAIN<br />ON A GOTO MAIN2,A1,A2,A3,A4,A5<br />GOTO MAIN<br />'===================================================<br />MAIN3:<br />A = REMOCON(1)<br />A = A - ID<br />IF A = 16 THEN GOTO MAIN<br />ON A GOTO MAIN3,B1,B2,B3,B4,B5<br />GOTO MAIN <br /><br />Hope that helps . . . . <br /><br />As it happens, I've just implemented something more like what Pev suggested, incoporating the beeps from The Guru etc. I can post the code if you are really interested. The advantage of that approach is that once you have selected a bank, you stay in it until you select another bank - saves pressing two keys for each move. <br /><br />Cheers<br />Tim<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=865">Tim</a> — Mon Feb 04, 2008 11:42 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[visuvius]]></name></author>
<updated>2008-01-19T00:53:43+01:00</updated>
<published>2008-01-19T00:53:43+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=13628#p13628</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=13628#p13628"/>
<title type="html"><![CDATA[Expand Your Remcon.]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=13628#p13628"><![CDATA[
Anyone have any ideas on my code and what I might be doing wrong with this whole Code Banking thing?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=871">visuvius</a> — Sat Jan 19, 2008 12:53 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[visuvius]]></name></author>
<updated>2008-01-16T05:18:18+01:00</updated>
<published>2008-01-16T05:18:18+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=13540#p13540</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=13540#p13540"/>
<title type="html"><![CDATA[Expand Your Remcon.]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=13540#p13540"><![CDATA[
Ok, this is what I just tried and it didn't work but hopefully its a start:<br /><br />GOTO AUTO <br />FILL 255,10000 <br /><br />DIM RR AS BYTE <br />DIM A AS BYTE <br />DIM A16 AS BYTE <br />DIM A26 AS BYTE <br />DIM n AS INTEGER <br />DIM i AS BYTE<br /><br />CONST ID = 0 ' 1:0, 2:32, 3:64, 4:96, <br /><br />'== Action command check (50 - 82) <br />'IF RR &gt; 50 AND RR &lt; 83 THEN GOTO action_proc <br /><br />RR = 0 <br /><br />PTP SETON <br />PTP ALLON <br /><br />'== motor diretion setting ====================== <br />DIR G6A,1,0,0,1,0,0 <br />DIR G6B,1,1,1,1,1,1 <br />DIR G6C,0,0,0,0,0,0 <br />DIR G6D,0,1,1,0,1,0 <br /><br /><br />'== motor start position read =================== <br />TEMPO 230 <br />MUSIC &quot;CDE&quot; <br />GETMOTORSET G24,1,1,1,1,1,0,1,1,1,0,0,0,1,1,1,0,0,0,1,1,1,1,1,0 <br />'== motor power on ============================= <br />SPEED 5 <br />MOTOR G24 <br />GOSUB standard_pose <br />'================================================ <br />MAIN: <br /><br />A = REMOCON(1)<br />A = A - ID<br />IF A = 18 THEN GOTO MAIN1<br />IF A = 32 THEN GOTO MAIN2<br />IF A = 23 THEN GOTO MAIN3 <br />GOTO main<br /><br /><span style="color: red">This is my version of your &quot;Bank Select&quot;.  What I'm trying to tell it to do is goto MAIN1 if &quot;E&quot; is pressed, MAIN 2 if &quot;F&quot; is pressed and so on.  I assumed that 18, 32, and 23 are the Remocon codes for those buttons but I might be completly wrong about that.</span> <br /><br />'--------------------------------------------------<br /><span style="color: red">Here are my 3 different routines.  I'm trying to tell it to go back to MAIN if I press the power button.</span><br /><br />MAIN1:        <br />A = REMOCON(1) <br />A = A - ID<br />IF A = 16 THEN GOTO MAIN<br />ON A GOTO MAIN,K1,K2,K3,K4,K5<br />GOTO MAIN <br />'==================================================<br />MAIN2: <br />A = REMOCON(1) <br />A = A - ID <br />IF A = 16 THEN GOTO MAIN<br />ON A GOTO MAIN,A1,A2,A3,A4,A5<br />GOTO MAIN <br />'===================================================<br />MAIN3: <br />A = REMOCON(1) <br />A = A - ID <br />IF A = 16 THEN GOTO MAIN<br />ON A GOTO MAIN,B1,B2,B3,B4,B5<br />GOTO MAIN <br /><br />At this point I have all my different subroutines (moves).  <br /><br />Of course none of this worked and I'm sure there are some collosal errors I've made.  <br /><br />I just realized its probably a bad idea calling all the different routines MAIN so I will change that to your verbage. <br /><br />Thanks again.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=871">visuvius</a> — Wed Jan 16, 2008 5:18 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[DirtyRoboto]]></name></author>
<updated>2008-01-16T04:40:49+01:00</updated>
<published>2008-01-16T04:40:49+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=13539#p13539</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=13539#p13539"/>
<title type="html"><![CDATA[Expand Your Remcon.]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=13539#p13539"><![CDATA[
You need a initial routine that looks at the remcon input and sends it to the sub(main routine) like so...<br /><br />Bank_Select:<br />Get remcon input<br />IF remcon input = A then goto routine1<br />IF remcon input = B then goto routine2<br />IF remcon input = C then goto routine3<br />Goto Bank_Select<br /><br />routine1:<br />IF remcon = Z then goto Bank_Select<br />all of your basic moves go here.<br />Goto routine1<br /><br />routine2:<br />IF remcon = Z then goto Bank_Select<br />all of your fight moves go here.<br />Goto routine2<br /><br />routine3:<br />IF remcon = Z then goto Bank_Select<br />all of your show moves go here.<br />Goto routine3<br /><br />---------------------------------------<br />Where you see routine1/2/3 you would have a different set of moves and remcon jumps specific to that selection of moves.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=312">DirtyRoboto</a> — Wed Jan 16, 2008 4:40 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[visuvius]]></name></author>
<updated>2008-01-16T04:04:27+01:00</updated>
<published>2008-01-16T04:04:27+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=13537#p13537</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=13537#p13537"/>
<title type="html"><![CDATA[Re: I understand now.]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=13537#p13537"><![CDATA[
<blockquote><div><cite>Pev wrote:</cite><br /><blockquote><div><cite>Gort wrote:</cite>You write it in your code. Like calling a class or subroutine but you put it at the end of your main code. If you press f, gosub this block of code which has a copy of the main program with different routines for the buttons pressed. To get out of block you have an exit button which returns you back to the main program block. <img src="http://forum.robosavvy.com/images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" /><br /></div></blockquote><br /><br />Oh okay I was thinking of having a vaiable say &quot;CMDSET&quot; as a byte then doing something like<br /><br />If CMDSET=1 then GOTO SET1<br />If CMDSET=2 then GOTO SET2<br />If CMDSET=3 then GOTO SET3<br />goto MAIN<br /><br />SET1:<br />ON A GOTO MAIN,K1,K2,K3,K4.........<br />goto MAIN<br /><br />SET2:<br />ON A GOTO MAIN,A1,A2,A3,A4.........<br />goto MAIN<br /><br />SET3:<br />ON A GOTO MAIN,B1,B2,B3,B4........<br />goto MAIN<br /><br />and then have 3 key in each routine assigned to the value to CMDSET<br /><br />Was that what you meant?<br /><br />Pev</div></blockquote><br /><br />Sorry to bring up this old thread but Code Banking is something i really want to try out with my Robonova.  This post in particular was very helptul in furthering my understanding of what code banking is but I'm still have some trouble implementing it.<br /><br />My question is, how in RoboBasic, do I link the 3 Remocon buttons I'd like to use to the CMDSET variable above?  I don't even know if that question makes sense.  <br /><br />In other words, how in the program do I assign the &quot;E&quot; button to go to SET1?  I understand how each of the buttons would make the program go to a different Main loop but the part about assigning the Remocon button to each of those loops is stumping me.<br /><br />Thanks in advance for any help.<br /><br />PS - i'm often in Chat if anyone wants to join me in there!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=871">visuvius</a> — Wed Jan 16, 2008 4:04 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[fleek]]></name></author>
<updated>2007-01-25T06:49:49+01:00</updated>
<published>2007-01-25T06:49:49+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=6469#p6469</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=6469#p6469"/>
<title type="html"><![CDATA[My attempt]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=6469#p6469"><![CDATA[
Using only one key (key 18) to switch code banks, default is basic set (bank 1).<br /><br />Press once - 2 beeps (switch to 2nd set)<br />Press again - 3 beeps (switch to 3rd set)<br />can implement as many sets as you want.<br /><br /><a href="http://my-eportal.com/temp/robonova_moves.zip" class="postlink">http://my-eportal.com/temp/robonova_moves.zip</a><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=255">fleek</a> — Thu Jan 25, 2007 6:49 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Gort]]></name></author>
<updated>2007-01-19T14:47:06+01:00</updated>
<published>2007-01-19T14:47:06+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=6311#p6311</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=6311#p6311"/>
<title type="html"><![CDATA[That is the idea]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=6311#p6311"><![CDATA[
Pev, that is my idea exactly. I think that RETURN may work better than Goto main. The robot basic manual said that you can go 5 deep in gosub calls and us the returns to go back one step at a time. I like the Guru’s idea. I will make a driver block then point to a move type category block of code. Hopefully, I can find time to work on it this weekend. Thanks for the help. <img src="http://forum.robosavvy.com/images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=174">Gort</a> — Fri Jan 19, 2007 2:47 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[TheGuru]]></name></author>
<updated>2007-01-19T01:00:13+01:00</updated>
<published>2007-01-19T01:00:13+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=6298#p6298</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=6298#p6298"/>
<title type="html"><![CDATA[Expand Your Remcon.]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=6298#p6298"><![CDATA[
Yet another alternative which I thought of using, but have yet to implement was to take two or three keys as a standard input with audio feedback to inform of 'accepted digit'. The reason I first looked at this particularly if using the remocon was to make it digit only e.g. '005' or '999' and giving up to 1000! alternatives. If all key inputs were combined into a single integer (maybe RR) then the 'Main' section would not change (although I can't confirm that a single code line could contain so many ON RR alternatives <img src="http://forum.robosavvy.com/images/smilies/icon_lol.gif" alt=":lol:" title="Laughing" /> ). It is also easier to remember move numbers than Left arrow/E etc. The first 32 could represent the standard moves.<br />I suspect the final implementation will be somewhere between the two as I like the idea of categorising move types -standard/custom/combat/etc<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=434">TheGuru</a> — Fri Jan 19, 2007 1:00 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Pev]]></name></author>
<updated>2007-01-19T00:04:33+01:00</updated>
<published>2007-01-19T00:04:33+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=6294#p6294</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=6294#p6294"/>
<title type="html"><![CDATA[Re: I understand now.]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=6294#p6294"><![CDATA[
<blockquote><div><cite>Gort wrote:</cite><br />You write it in your code. Like calling a class or subroutine but you put it at the end of your main code. If you press f, gosub this block of code which has a copy of the main program with different routines for the buttons pressed. To get out of block you have an exit button which returns you back to the main program block. <img src="http://forum.robosavvy.com/images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" /><br /></div></blockquote><br /><br />Oh okay I was thinking of having a vaiable say "CMDSET" as a byte then doing something like<br /><br />If CMDSET=1 then GOTO SET1<br />If CMDSET=2 then GOTO SET2<br />If CMDSET=3 then GOTO SET3<br />goto MAIN<br /><br />SET1:<br />ON A GOTO MAIN,K1,K2,K3,K4.........<br />goto MAIN<br /><br />SET2:<br />ON A GOTO MAIN,A1,A2,A3,A4.........<br />goto MAIN<br /><br />SET3:<br />ON A GOTO MAIN,B1,B2,B3,B4........<br />goto MAIN<br /><br />and then have 3 key in each routine assigned to the value to CMDSET<br /><br />Was that what you meant?<br /><br />Pev<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=88">Pev</a> — Fri Jan 19, 2007 12:04 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Gort]]></name></author>
<updated>2007-01-18T23:22:03+01:00</updated>
<published>2007-01-18T23:22:03+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=6292#p6292</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=6292#p6292"/>
<title type="html"><![CDATA[I understand now.]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=978&amp;p=6292#p6292"><![CDATA[
You write it in your code. Like calling a class or subroutine but you put it at the end of your main code. If you press f, gosub this block of code which has a copy of the main program with different routines for the buttons pressed. To get out of block you have an exit button which returns you back to the main program block. <img src="http://forum.robosavvy.com/images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=174">Gort</a> — Thu Jan 18, 2007 11:22 pm</p><hr />
]]></content>
</entry>
</feed>