Skip to content

Instantly share code, notes, and snippets.

@ryoshu
Created October 2, 2014 15:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryoshu/b3a59142c46e5081704f to your computer and use it in GitHub Desktop.
Save ryoshu/b3a59142c46e5081704f to your computer and use it in GitHub Desktop.
Galileo PWM problem steps to reproduce
Downloaded and extracted latest IOTDK - software.intel.com/iot
Imaged a new SD card using Win32 Disk Imager
Unboxed new Galileo Gen 2
Boot up Galileo w/ no SD card
Connect using serial port (iterm)
Log in, everything looks fine
Shutdown
Insert IOTDK SD card
Boot
Hit F7
Select Internal Shell
> fs0:
> cd /firmware/1.0.2
> CapsulApp.efi sysimage-galileo-1.0.2.cap
Wait for firmware to update
Let it boot
Log in as root
mkdir projects && cd projects
Create blink.js using your example code
Plug in LED on pin 9
npm install galileo-io
node blink.js
LED does not blink
Edit blink.js to use pin 13
node blink.js
LED blinks
Edit blink.js to use pin 9
echo "src mraa-upm http://iotdk.intel.com/repos/1.1/intelgalactic" > /etc/opkg/mraa-upm.conf
opkg update
opkg install libmraa0
node blink.js
LED does not blink
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment