Skip to content

Rajagopalan-Ranganathan/IOT-Gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

TODO

  • Do not send faces if the number has not changed
  • try...catch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published