v.1
This commit is contained in:
@@ -24,4 +24,4 @@ async def get_stat():
|
|||||||
async def root():
|
async def root():
|
||||||
return {'message': 'hello world'}
|
return {'message': 'hello world'}
|
||||||
|
|
||||||
uvicorn.run(app, host="0.0.0.0", port=12346)
|
uvicorn.run(app, host="0.0.0.0", port=12346)#123
|
||||||
|
|||||||
+1
-1
@@ -9,6 +9,6 @@ void setup() {
|
|||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
int sensorVal = digitalRead(PIN_INPUT);
|
int sensorVal = digitalRead(PIN_INPUT);
|
||||||
Serial.print(sensorVal); // Выводим значение в мониторе порта
|
Serial.print(sensorVal); // Выводим значение в мониторе порта 3
|
||||||
delay(500);
|
delay(500);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user