- Xcode (Not necessary)
- Command Line Tools for Xcode
- ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
- brew doctor
- brew update
| #!/usr/local/bin/python | |
| # -*- coding: utf-8 -*- | |
| import wx | |
| import serial | |
| # Import matplotlib for wxPython | |
| import matplotlib | |
| matplotlib.use('WXAgg') |
| # -*- coding: utf-8 -*- | |
| # Author: Massimo Menichinelli | |
| # Homepage: http://www.openp2pdesign.org | |
| # License: MIT | |
| # | |
| import wx | |
| import serial | |
| # A new custom class that extends the wx.Frame |
| # -*- encoding: utf-8 -*- | |
| # | |
| # Author: Massimo Menichinelli | |
| # Homepage: http://www.openp2pdesign.org | |
| # License: MIT | |
| # | |
| import string | |
| import os |
| # -*- encoding: utf-8 -*- | |
| # | |
| # Author: Massimo Menichinelli | |
| # Homepage: http://www.openp2pdesign.org | |
| # License: MIT | |
| # | |
| import subprocess | |
| import os | |
| import string |
| # Author: Massimo Menichinelli | |
| # License: GPL v.3 | |
| import csv | |
| import networkx as nx | |
| ifile = open('okf2.csv', "rb") | |
| reader = csv.reader(ifile) | |
| g = nx.DiGraph() |
| int ledPin = 13; // LED connected to digital pin 13 | |
| void setup() | |
| { | |
| pinMode(ledPin, OUTPUT); // sets the digital pin as output | |
| } | |
| void loop() | |
| { | |
| digitalWrite(ledPin, HIGH); // sets the LED on |