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
from wtforms import Form, FloatField, validators, StringField, SelectField | |
from siggen import check_starttime_float, check_endtime_float, check_starttime, check_endtime | |
class siggen_InputForm(Form): | |
signame = StringField(label='Signal Name', | |
validators=[validators.InputRequired()]) | |
starttime = FloatField(label = 'Start Time [sec]', | |
default = 0.0, | |
validators = [validators.InputRequired(), check_starttime_float, check_starttime]) | |
endtime = FloatField(label = 'End Time [sec]', |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
from flask import Flask, make_response, request | |
import io | |
import csv | |
import numpy as np | |
import pandas as pd | |
app = Flask(__name__) | |
def transform(text_file_contents): | |
return text_file_contents.replace("=", ",") |
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
from flask import Flask, make_response, request | |
import io | |
import csv | |
import numpy as np | |
import pandas as pd | |
app = Flask(__name__) | |
def transform(text_file_contents): | |
return text_file_contents.replace("=", ",") |
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
void setup() { | |
// put your setup code here, to run once: | |
Serial.begin(19200); | |
} | |
void loop() { | |
// put your main code here, to run repeatedly: | |
//Voltage |
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
from pylab import * | |
import smtplib | |
templog = "dtop.csv" | |
def main(): | |
dataupload_gs() | |
return 0 | |
def dataupload_gs(): | |
from apiclient.discovery import build |
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
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> | |
<title>dtop.csv Light Sensor Data Plot | Pushkar Sheth</title> | |
</head> | |
<body> | |
<img src="https://www.dropbox.com/s/yadadadahiddenfolder/dtop.png?raw=1" alt="dtop Update"> | |
</div> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 LCD Library Code | |
#include <Wire.h> | |
#include <LiquidCrystal_I2C.h> | |
// Include the DS3231 RTC Library | |
#include <DS3231.h> | |
//Photoresistor Pin | |
int lightPin = 0; |