The Edison used with the Arduino board has the following limitations
in libmraa:
+- i2c is exposed on i2c-6, therfore you must use bus 6 and not bus 0
- PWM avaible on default swizzler postions. (3,5,6,9)
- SPI exposed is also used for the ADC. Try not to use your own CS.
- ADC kernel module will return 12bit number but the ADC itself only has an