diff --git a/Makefile b/Makefile index f69cb84..e69de29 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +0,0 @@ - -.PHONY: proto - -proto: proto-standard - -proto-standard: - cmd /c python -m grpc_tools.protoc -I./proto --python_out=./proto ./proto/client.proto && move proto\client_pb2.py proto\client_pb.py - diff --git a/main/bus/rs485_manager.py b/main/bus/rs485_manager.py new file mode 100644 index 0000000..e69de29 diff --git a/main/command_processor.py b/main/command_processor.py new file mode 100644 index 0000000..e69de29 diff --git a/main/config.py b/main/config.py new file mode 100644 index 0000000..e69de29 diff --git a/main/lora/lora_handler.py b/main/lora/lora_handler.py new file mode 100644 index 0000000..e69de29 diff --git a/main.py b/main/main.py similarity index 97% rename from main.py rename to main/main.py index b68e7b8..c4c05bd 100644 --- a/main.py +++ b/main/main.py @@ -5,7 +5,6 @@ 猪舍主控系统主程序入口 """ -import machine import time # import struct # 根据需要保留或删除 # import client_pb # 根据需要保留或删除 diff --git a/client_pb.py b/main/proto/client_pb.py similarity index 100% rename from client_pb.py rename to main/proto/client_pb.py