Well, Frank seems to be right. I have 0.39.2extended-test4.exe on XP; I have changed the actual com number by doing<br><br>control panel-&gt;system-&gt;device manager-&gt;bluetooth devices and changing the com number for my device to com 2.
<br><br>That seems to work fine. <br><br>I have always wondered why these limitations are put in place? Why limit things like that? Surely the memory usage difference is minimal in comparison with the hassle that arises from hitting the limitations? Or am I missing something?
<br><br>Thanks for the help. I don't think I would have been close to a solution without it.<br><br>- martin<br><br><br><div><span class="gmail_quote">On 04/08/06, <b class="gmail_sendername">Martin Peach</b> &lt;<a href="mailto:martin.peach@sympatico.ca">
martin.peach@sympatico.ca</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Frank Barknecht wrote:<br>&gt; Hallo,<br>&gt; Martin Dupras hat gesagt: // Martin Dupras wrote:
<br>&gt;<br>&gt;<br>&gt;&gt; Hi,<br>&gt;&gt;<br>&gt;&gt; I'm trying to use a Spark Fun WiTilt (essentially a 3D accelerometer<br>&gt;&gt; attached to a bluetooth radio, see<br>&gt;&gt; <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=254">
http://www.sparkfun.com/commerce/product_info.php?products_id=254</a>) with PD<br>&gt;&gt; 0.39.2extended-test4 on win XP.<br>&gt;&gt;<br>&gt;&gt; I know the device is connected and sending because I can see the correct<br>
&gt;&gt; output if I connect to the device with hyperterminal.<br>&gt;&gt;<br>&gt;&gt; My device is on com port 12. If I try<br>&gt;&gt;<br>&gt;&gt; [comport 12 9600]<br>&gt;&gt;<br>&gt;&gt; I get the error: &quot;[comport] invalid handle for COM&quot;.
<br>&gt;&gt;<br>&gt;&gt; Is there any reason why comport should not see the port, when hyperterminal<br>&gt;&gt; can?<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt; You may need to recompile comport or use a different port: As default it only
<br>&gt; accepts up to 8 comports.<br>&gt;<br>&gt; Therse is this in comport.c:<br>&gt;<br>&gt; #define COMPORT_MAX 8<br>&gt; static char *sys_com_port[COMPORT_MAX] =<br>&gt; {<br>&gt;&nbsp;&nbsp; &quot;COM1&quot;, &quot;COM2&quot;, &quot;COM3&quot;, &quot;COM4&quot;,
<br>&gt;&nbsp;&nbsp; &quot;COM5&quot;, &quot;COM6&quot;, &quot;COM7&quot;, &quot;COM8&quot;<br>&gt; };<br>&gt;<br>&gt;<br>I think you have an older version of comport.<br><br>The sys_com_port array is not there. There is just this in the latest version of 
comport.c in cvs:<br><br>#define COMPORT_MAX 99<br>so you should be able to open COM1 through COM98.<br><br>Martin<br>&gt; which you can try to change to something like:<br>&gt;<br>&gt; #define COMPORT_MAX 12<br>&gt; static char *sys_com_port[COMPORT_MAX] =
<br>&gt; {<br>&gt;&nbsp;&nbsp; &quot;COM1&quot;, &quot;COM2&quot;, &quot;COM3&quot;, &quot;COM4&quot;,<br>&gt;&nbsp;&nbsp; &quot;COM5&quot;, &quot;COM6&quot;, &quot;COM7&quot;, &quot;COM8&quot;<br>&gt;&nbsp;&nbsp; &quot;COM9&quot;, &quot;COM10&quot;, &quot;COM11&quot;, &quot;COM12&quot;
<br>&gt; };<br>&gt;<br>&gt; but I just guessed this, so no guarantees.<br>&gt;<br>&gt; Ciao<br>&gt;<br><br><br><br>_______________________________________________<br><a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list
<br>UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br></blockquote></div><br>