mysql -u root -p
비밀번호 입력 :
create data base test;
use test;
create table sensordb(sensing int, ts timestamp default current_timestamp);
desc sensordb;
insert into sensordb(sensing) values(700);
select * from sensordb;
templates폴더안에 html파일넣어놓고
@app.route('/')인경로에
리턴값으로 return render_template('main.html')이렇게준다
raspistill -o image11.jpg -t 10000
raspivid -o test11.h264