v.1
This commit is contained in:
parent
0d0d9a92d6
commit
616ef1f948
2
main.py
2
main.py
@ -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
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user