<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>8-bit MicrocontrollersのトピックRe: ZStarLib FreeFall + Auto connexion</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/ZStarLib-FreeFall-Auto-connexion/m-p/162954#M9997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I don't see the zstarlib for ages, but as I remmember the burst mode should be enabled and the sesnor should be set in basic range typically 1.5-2g.&lt;/P&gt;&lt;P&gt;Second question is one from good ones :smileyhappy:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I check the source code of ZSTAR GUI and I found that the main magic is call method :theZStar.GetZStarConfiguration(true); with true parameter (as I hope).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a nice day&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Dec 2010 20:29:02 GMT</pubDate>
    <dc:creator>Gargy</dc:creator>
    <dc:date>2010-12-08T20:29:02Z</dc:date>
    <item>
      <title>ZStarLib FreeFall + Auto connexion</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/ZStarLib-FreeFall-Auto-connexion/m-p/162953#M9996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I'm trying to make the freefall detection working into my zstar app.&lt;/P&gt;&lt;P&gt;My app is based on the example, I added into the constructor :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;m_theZStar.OnFreeFall += new ZStar3.OnFreeFallHandler(theZstar_OnFreeFallHandler );&lt;BR /&gt;m_theZStar.FreeFallEventEnableAll(1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And actually the Handler isn't called on freefall...&lt;/P&gt;&lt;P&gt;Note that I :&lt;/P&gt;&lt;P&gt;- desactivated the burst mode (using a timer instead to retrieve the values regularly)&lt;/P&gt;&lt;P&gt;- tried to call &lt;STRONG&gt;IonSetControlMode&lt;/STRONG&gt;()&lt;/P&gt;&lt;P&gt;- tried to activate freefall directly onto the sensor instance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really don't understand why I doesn't work, since I saw another post on this forum where someone did the same and succeed without any problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another question :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the ZStar GUI, a sensor which was already connected to the usb stick before is automatically detected when the app start.&lt;/P&gt;&lt;P&gt;In the ZStarLib example, this is not the same, the sensor has to be linked to the usb stick after the connexion on the COM port occur.&lt;/P&gt;&lt;P&gt;I tried to force call &lt;STRONG&gt;theZStar_OnActiveSensorsChanged(null, 0);&lt;/STRONG&gt;&amp;nbsp; into&amp;nbsp; &lt;STRONG&gt;bt_OpenPort_Click(object sender, EventArgs e)&lt;/STRONG&gt; but it didnt make it.&lt;/P&gt;&lt;P&gt;One weird thing, when the sensor is already connected to the usb stick before I start my app, the ActiveSensorsCount is equal to zero (the led on the sensor is blinking fast)&lt;/P&gt;&lt;P&gt;How to obtain the same result as in Zstar gui ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx for your answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 21:41:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/ZStarLib-FreeFall-Auto-connexion/m-p/162953#M9996</guid>
      <dc:creator>Arnos</dc:creator>
      <dc:date>2010-11-15T21:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: ZStarLib FreeFall + Auto connexion</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/ZStarLib-FreeFall-Auto-connexion/m-p/162954#M9997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I don't see the zstarlib for ages, but as I remmember the burst mode should be enabled and the sesnor should be set in basic range typically 1.5-2g.&lt;/P&gt;&lt;P&gt;Second question is one from good ones :smileyhappy:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I check the source code of ZSTAR GUI and I found that the main magic is call method :theZStar.GetZStarConfiguration(true); with true parameter (as I hope).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a nice day&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 20:29:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/ZStarLib-FreeFall-Auto-connexion/m-p/162954#M9997</guid>
      <dc:creator>Gargy</dc:creator>
      <dc:date>2010-12-08T20:29:02Z</dc:date>
    </item>
  </channel>
</rss>

