Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Problem with Examples for Other Languages

toadaze
Beginner
549 Views

I was not able to run any of the JavaScript or Python examples for other languages:

HomeDocumentationNext Steps: Create Applications with DevKitAnalog I/O BasicsSample Code

 

Then by experimenting, I changed the line in the JavaScript example

var m = require("mraajs");

to

var m = require("mraa");

and it works OK.

Same thing in the Python example. I changed the line:

import pymraa

to

import mraa

and it runs OK.

Are these references to mraajs and pymraa just an error in documentation, or am I missing something?

I am running these directly on the Edison from its Linux command line.

 

 

 

0 Kudos
2 Replies
NagaVenkat_K_Intel
549 Views

Thanks Marvin. You are right, the documentation needs to be updated.

0 Kudos
Sulamita_G_Intel
Employee
549 Views

Thank you indeed. I've fixed the samples. Let us know if you find any other broken sample.

0 Kudos
Reply