Upload bidaochain_195.py
Browse files- bidaochain_195.py +22 -0
bidaochain_195.py
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# -*- coding: utf-8 -*-
|
2 |
+
"""bidaochain.195
|
3 |
+
|
4 |
+
Automatically generated by Colab.
|
5 |
+
|
6 |
+
Original file is located at
|
7 |
+
https://colab.research.google.com/drive/1mfzFkwSmyWxmZKijAvtyo-c_L4KT9xiu
|
8 |
+
"""
|
9 |
+
|
10 |
+
!pip install RPi.GPIO
|
11 |
+
|
12 |
+
!pip install flask
|
13 |
+
|
14 |
+
from flask import flask
|
15 |
+
|
16 |
+
app = Flask(_name__)
|
17 |
+
|
18 |
+
@app.route("/")
|
19 |
+
def index():
|
20 |
+
return ".159"
|
21 |
+
|
22 |
+
app.run(host="0,0,0,0", port=8500)
|