- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was not able to run any of the JavaScript or Python examples for other languages:
Home › Documentation › Next Steps: Create Applications with DevKit › Analog I/O Basics › Sample 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.
- Tags:
- Internet of Things
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Marvin. You are right, the documentation needs to be updated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you indeed. I've fixed the samples. Let us know if you find any other broken sample.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page