Community
cancel
Showing results for 
Search instead for 
Did you mean: 
EEdua2
Novice
1,420 Views

Intel XDK Pwm example error

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

Tags (1)
2 Replies
Sergio_A_Intel
Employee
95 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
95 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