Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9880 Discussions

Intel XDK Pwm example error

EEdua2
Novice
1,522 Views

Hello guys, I've just uploaded the pwm example into the Edison, but it doesn´t work.

This is what i get when i run it:

please help

2 Replies
Sergio_A_Intel
Employee
197 Views

Hi,

What image are you using? What is the version of the XDK?

Do you have MRAA and UPM Library installed, try with:

  1. echo "src maa-upm http://iotdk.intel.com/repos/1.1/intelgalactic http://iotdk.intel.com/repos/1.1/intelgalactic" > /etc/opkg/intel-iotdk.conf
  2. opkg update
  3. opkg upgrade

Sergio

EEdua2
Novice
197 Views

By default the example uses mraa number (3), but according to the pins map http://iotdk.intel.com/docs/master/mraa/edison.html http://iotdk.intel.com/docs/master/mraa/edison.html that number is unused, then i used mraa number (0) which is PWM2 and It's working now.

My Intel XDK was actually outdated, there's a lot of new examples.

Thanks for your help Sergio.

Reply