I wanted to use python to take readings from Arduino. But I have a problems with taking the information from Arduino. Just for test the connection I did wrote small program. But it is still not working. Could you please help me?
The code I used in Arduino is :
#define READSOILPIN1 A0
Serial.print(SensorValue1); Serial.print(" - ");
And the code in Python is:
arduinoData = serial.Serial('com8',9600)
myData = (arduinoData.readline().strip())