<?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>topic Problem with Examples for Other Languages in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Problem-with-Examples-for-Other-Languages/m-p/1035179#M43614</link>
    <description>&lt;P&gt;I was not able to run any of the JavaScript or Python examples for other languages:&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/en-us"&gt;Home&lt;/A&gt; › &lt;A href="https://software.intel.com/en-us/intel-software-technical-documentation"&gt;Documentation&lt;/A&gt; › &lt;A class="menu-node-unpublished menu-node-unpublished menu-node-unpublished menu-node-unpublished menu-node-unpublished menu-node-unpublished menu-node-unpublished menu-node-unpublished menu-node-unpublished menu-node-unpublished" href="https://software.intel.com/en-us/next-steps-create-applications-with-devkit"&gt;Next Steps: Create Applications with DevKit&lt;/A&gt; › &lt;A class="menu-node-unpublished menu-node-unpublished menu-node-unpublished menu-node-unpublished" href="https://software.intel.com/en-us/node/519970"&gt;Analog I/O Basics&lt;/A&gt; › &lt;A class="menu-node-unpublished menu-node-unpublished" href="https://software.intel.com/en-us/node/519980"&gt;Sample Code&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then by experimenting, I changed the line in the JavaScript example&lt;/P&gt;
&lt;PRE&gt;var m = require("mraajs");&lt;/PRE&gt;

&lt;P&gt;to&lt;/P&gt;

&lt;PRE&gt;var m = require("mraa");&lt;/PRE&gt;

&lt;P&gt;and it works OK.&lt;/P&gt;
&lt;P&gt;Same thing in the Python example. I changed the line:&lt;/P&gt;

&lt;PRE&gt;import pymraa&lt;/PRE&gt;

&lt;P&gt;to&lt;/P&gt;

&lt;PRE&gt;import mraa&lt;/PRE&gt;

&lt;P&gt;and it runs OK.&lt;/P&gt;
&lt;P&gt;Are these references to mraajs and pymraa just an error in documentation, or am I missing something?&lt;/P&gt;
&lt;P&gt;I am running these directly on the Edison from its Linux command line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 25 Oct 2014 14:39:08 GMT</pubDate>
    <dc:creator>toadaze</dc:creator>
    <dc:date>2014-10-25T14:39:08Z</dc:date>
    <item>
      <title>Problem with Examples for Other Languages</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-with-Examples-for-Other-Languages/m-p/1035179#M43614</link>
      <description>&lt;P&gt;I was not able to run any of the JavaScript or Python examples for other languages:&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/en-us"&gt;Home&lt;/A&gt; › &lt;A href="https://software.intel.com/en-us/intel-software-technical-documentation"&gt;Documentation&lt;/A&gt; › &lt;A class="menu-node-unpublished menu-node-unpublished menu-node-unpublished menu-node-unpublished menu-node-unpublished menu-node-unpublished menu-node-unpublished menu-node-unpublished menu-node-unpublished menu-node-unpublished" href="https://software.intel.com/en-us/next-steps-create-applications-with-devkit"&gt;Next Steps: Create Applications with DevKit&lt;/A&gt; › &lt;A class="menu-node-unpublished menu-node-unpublished menu-node-unpublished menu-node-unpublished" href="https://software.intel.com/en-us/node/519970"&gt;Analog I/O Basics&lt;/A&gt; › &lt;A class="menu-node-unpublished menu-node-unpublished" href="https://software.intel.com/en-us/node/519980"&gt;Sample Code&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then by experimenting, I changed the line in the JavaScript example&lt;/P&gt;
&lt;PRE&gt;var m = require("mraajs");&lt;/PRE&gt;

&lt;P&gt;to&lt;/P&gt;

&lt;PRE&gt;var m = require("mraa");&lt;/PRE&gt;

&lt;P&gt;and it works OK.&lt;/P&gt;
&lt;P&gt;Same thing in the Python example. I changed the line:&lt;/P&gt;

&lt;PRE&gt;import pymraa&lt;/PRE&gt;

&lt;P&gt;to&lt;/P&gt;

&lt;PRE&gt;import mraa&lt;/PRE&gt;

&lt;P&gt;and it runs OK.&lt;/P&gt;
&lt;P&gt;Are these references to mraajs and pymraa just an error in documentation, or am I missing something?&lt;/P&gt;
&lt;P&gt;I am running these directly on the Edison from its Linux command line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Oct 2014 14:39:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-with-Examples-for-Other-Languages/m-p/1035179#M43614</guid>
      <dc:creator>toadaze</dc:creator>
      <dc:date>2014-10-25T14:39:08Z</dc:date>
    </item>
    <item>
      <title>Thanks Marvin. You are right,</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-with-Examples-for-Other-Languages/m-p/1035180#M43615</link>
      <description>&lt;P&gt;Thanks Marvin. You are right, the documentation needs to be updated.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Oct 2014 15:59:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-with-Examples-for-Other-Languages/m-p/1035180#M43615</guid>
      <dc:creator>NagaVenkat_K_Intel</dc:creator>
      <dc:date>2014-10-25T15:59:50Z</dc:date>
    </item>
    <item>
      <title>Thank you indeed. I've fixed</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-with-Examples-for-Other-Languages/m-p/1035181#M43616</link>
      <description>&lt;P&gt;Thank you indeed. I've fixed the samples. Let us know if you find any other broken sample.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2014 07:36:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-with-Examples-for-Other-Languages/m-p/1035181#M43616</guid>
      <dc:creator>Sulamita_G_Intel</dc:creator>
      <dc:date>2014-10-27T07:36:06Z</dc:date>
    </item>
  </channel>
</rss>

