This file contains 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 "Barometer.h" | |
#include <Wire.h> | |
#include <SoftwareSerial.h> | |
#include <Servo.h> | |
SoftwareSerial SoftSerial(2, 3); | |
unsigned char buffer[64]; // buffer array for data receive over serial port | |
int count=0; | |
float temperature; |
This file contains 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 sys | |
import time | |
import httplib, urllib | |
import cv2 | |
import serial | |
from poster.encode import multipart_encode | |
from poster.streaminghttp import register_openers | |
import urllib2 | |
import json |