We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello again, after working successfully for a couple of days on the serial comm between arduino and the pi3, (receiving data) i stumbled upon this problem accidentally... i use the serial event to parse incoming data, which is in a sligtly format than the outgoing data. for example, to receive a "setpoint" variable my arduino sends this on serial with println:
the raspberry parses succesfully and sets the SP value to 2 changing the value of SP to 3 on the arduino it expects to see this on its serial port:
so on the raspberry side i do myPort.write("SP;3\n")
and i get a serialevent parse error, after doing some debug prints, i see that the data is not at all sent to the arduino, but the write command triggers the serialevent which catches the "SP;3" command!!
is this a bug? is the serialevent supposed to be triggered upon the write command? i'm so puzzled, if this is so how can i send out data through my serial at all? Could this be a hardware connection issue? i'm using this voltage divider:
thank you, Vangelis