diff --git a/README.md b/README.md index cd44668..e66601b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # smartParking -#Authors: Oulis Evangelos, Oulis Nikolaos, Drosos Katsibras +#Authors: Oulis Evangelos, Oulis Nikolaos, Katsibras Drosos #=================================================================== Smart and Autonomous parking. diff --git a/iNode/Makefile b/gatewayNode/Makefile similarity index 100% rename from iNode/Makefile rename to gatewayNode/Makefile diff --git a/iNode/data.json b/gatewayNode/data.json similarity index 100% rename from iNode/data.json rename to gatewayNode/data.json diff --git a/iNode/parking.py b/gatewayNode/parking.py similarity index 97% rename from iNode/parking.py rename to gatewayNode/parking.py index 65981d1..2e24e06 100644 --- a/iNode/parking.py +++ b/gatewayNode/parking.py @@ -8,7 +8,7 @@ import requests import json # Open file to configure communication with server. -with open('data.json', 'r') as json_file: +with open('/home/pi/project/data.json', 'r') as json_file: json_data = json_file.read() if json_data != "" and json_data != None: diff --git a/sensorNode/sensor/sensor.ino b/sensorNode/sensor.ino similarity index 91% rename from sensorNode/sensor/sensor.ino rename to sensorNode/sensor.ino index 854363e..487bc13 100644 --- a/sensorNode/sensor/sensor.ino +++ b/sensorNode/sensor.ino @@ -1,8 +1,6 @@ /* -* Ultrasonic Sensor HC-SR04 and Arduino Tutorial -* -* by Dejan Nedelkovski, -* www.HowToMechatronics.com +* Athors: Oulis Evnagelos, Oulis Nikolaos, Katsibras Drosos +* Ultrasonic Sensor HC-SR04 and Arduino * */