Notes on working with the Intel Edison
Arduino board hardware notes - includes info on PWM pin mapping via jumpers and shows all pin functions
'configure_edison' is the tool to setup wifi
Notes:
I2C - if cannot find Wire.h, copy wire.h and wire.cpp from the libraries/Wire/src/ folder to core/arduino folder. For me this was in C:\Users\%USERNAME%\AppData\Roaming\Arduino15\packages\Intel\hardware\i686\1.6.2+1.0\
Grove 3 Axis Digital Compass - use the github version, the official site and wiki are out of date.
to enable the arduino i2c bus, i2c6, for linux use:
echo 28 > /sys/class/gpio/exportecho 27 > /sys/class/gpio/exportecho 204 > /sys/class/gpio/exportecho 205 > /sys/class/gpio/exportecho 236 > /sys/class/gpio/exportecho 237 > /sys/class/gpio/exportecho 14 > /sys/class/gpio/exportecho 165 > /sys/class/gpio/exportecho 212 > /sys/class/gpio/exportecho 213 > /sys/class/gpio/exportecho 214 > /sys/class/gpio/exportecho low > /sys/class/gpio/gpio214/directionecho low > /sys/class/gpio/gpio204/directionecho low > /sys/class/gpio/gpio205/directionecho in > /sys/class/gpio/gpio14/directionecho in > /sys/class/gpio/gpio165/directionecho low > /sys/class/gpio/gpio236/directionecho low > /sys/class/gpio/gpio237/directionecho in > /sys/class/gpio/gpio212/directionecho in > /sys/class/gpio/gpio213/directionecho mode1 > /sys/kernel/debug/gpio_debug/gpio28/current_pinmuxecho mode1 > /sys/kernel/debug/gpio_debug/gpio27/current_pinmuxecho high > /sys/class/gpio/gpio214/directioni2cdetect -y -r 6
"C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude.exe" -C"C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf" -patmega8 -carduino -P\\.\COM3 -b19200 Uflash:w:"C:\Users\chrisw\Downloads\Edison\Firmware for I2C motor Driver using ISP\motor driver firmware\mega8motor.hex":i