diff --git a/tp0/LoRaReceiver/LoRaReceiver.ino b/tp0/arduino/LoRaReceiver/LoRaReceiver.ino similarity index 100% rename from tp0/LoRaReceiver/LoRaReceiver.ino rename to tp0/arduino/LoRaReceiver/LoRaReceiver.ino diff --git a/tp0/LoRaSender/LoRaSender.ino b/tp0/arduino/LoRaSender/LoRaSender.ino similarity index 100% rename from tp0/LoRaSender/LoRaSender.ino rename to tp0/arduino/LoRaSender/LoRaSender.ino diff --git a/tp0/python/Lecture_portcom.py b/tp0/python/Lecture_portcom.py new file mode 100644 index 0000000..9f5ec8a --- /dev/null +++ b/tp0/python/Lecture_portcom.py @@ -0,0 +1,10 @@ +import serial as s +ser=s.Serial() +ser.baudrate = 9600 +ser.port = "COM4" +ser.timeout=10 + +ser.open() +x=ser.readline() +print(x) +ser.close()