This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <OneWire.h> | |
// OneWire DS18S20, DS18B20, DS1822 Temperature Example | |
// | |
// http://www.pjrc.com/teensy/td_libs_OneWire.html | |
// | |
// The DallasTemperature library can do all this work for you! | |
// http://milesburton.com/Dallas_Temperature_Control_Library | |
OneWire ds(2); // on pin 10 (a 4.7K resistor is necessary) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Author: [email protected] | |
Mister Smith: | |
Mobility : | |
Sens : | |
Neural network | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
#***************************************************************************** | |
# | |
# Copyright (c) 2013 Andrea Bonomi <[email protected]> | |
# | |
# Published under the terms of the MIT license. | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to | |
# deal in the Software without restriction, including without limitation the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Model fitting example using several machines. | |
Before running this example, you must start the Playdoh server on the remote machines. | |
''' | |
from brian import loadtxt, ms, Equations |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import smtplib | |
from email.mime.image import MIMEImage | |
from email.mime.multipart import MIMEMultipart | |
import os | |
import Image | |
from PIL import Image | |
import random | |
import time | |
import pylab | |
import time |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pygame | |
import Image | |
from pygame.locals import * | |
import sys | |
import opencv | |
#this is important for capturing/displaying images | |
from opencv import highgui |
NewerOlder