Become a leader in the IoT community!
New DevHeads get a 320-point leaderboard boost when joining the DevHeads IoT Integration Community. In addition to learning and advising, active community leaders are rewarded with community recognition and free tech stuff. Start your Legendary Collaboration now!
yeh, sure..you can try this. Instead of relying on the Datastream add-in, use VBA to manually append `Chr(13)` (CR) or `Chr(10)` (LF) to your message:
“`Dim msg As String
msg = “YourMessage” & Chr(13) & Chr(10)
SerialPort.Write msg“`
Also, On the STM32 side, handle LF (`0x0A`) by detecting it as an end-of-line marker, even if CR (`0x0D`) isn’t always included. This adds robustness to your data handling.
Thanks for the suggestion @darkai042 I’ll try using VBA to manually append the CR and LF characters
I’ll let you know if I need further assistance.
CONTRIBUTE TO THIS THREAD