DmitrMakeev commited on
Commit
ba064ac
1 Parent(s): 42c576d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py CHANGED
@@ -125,6 +125,17 @@ def ec_A_setValue():
125
  globs.eep_set = 4
126
  return "EC value set successfully"
127
 
 
 
 
 
 
 
 
 
 
 
 
128
 
129
  @app.route("/api", methods=['GET'])
130
  def handle_api():
 
125
  globs.eep_set = 4
126
  return "EC value set successfully"
127
 
128
+ @app.route('/ec_B_set')
129
+ def ec_B_setValue():
130
+ ec_B_setValue = request.args.get('value')
131
+ globs.ec_B_set = ec_B_setValue
132
+ globs.eep_set = 5
133
+ return "EC value set successfully"
134
+
135
+
136
+
137
+
138
+
139
 
140
  @app.route("/api", methods=['GET'])
141
  def handle_api():