05-13-2024 01:29 PM
also check this video https://www.youtube.com/watch?v=J8zw0sS6i1c
about serial communication, and think about the possibiltity to use a end of message character, so you know when you read the serial port, where the message starts and ends. Let's way that the arduino send 2 messages while the computer is doing something else (like acquaring images) and then your serial port will have 2 voltage readings concatenated or half of a message then your data will be lost.
05-13-2024 01:47 PM
You may need to create a parallel loop with the camera.
You were right. I needed a different parallel loop. Now it works perfectly.
Many thanks, you saved me 😉
05-13-2024 03:39 PM
You are welcome !
Can u kudos my answer pls ?