This message was posted on behalf of Intel Corporation
Thanks for reaching out.
I think this is not possible, because There are several libraries that have been written for Arduino architecture which is AVR, and unfortunately they won't work with Edison (or Galileo) since the architecture is different (x86).
However, I found some codes for other versions in the UPM repository (https://github.com/intel-iot-devkit/upm/tree/master/examples/c%2B%2B). Maybe one of them can work with your device.
I hope you find this helpful.