/hello-python-edison

a barebones resin.io project to demonstrate running python code on Intel Edison

Primary LanguagePython

hello-python

This is a barebones resin.io project to demonstrate running python code on the Intel Edison. Currently it builds upon a Debian jessie base image with systemd init system enabled. It has the latest libmraa baked into it, so you can use it from python my doing an import mraa as see in app/hello.py

This basic python example just prints a message to console and blinks/toggles the GPIO 13. If your Edison is on the arduino base board, you should see the onboard LED blinking, if you are any of the other base board, you will need to connect up an external LED and resistor to GPIO 13.

For an explination on how resin.io uses Dockerfiles check out the Dockerfile guide . Additionally if you want to learn how to optimise your Dockerfile look over here