-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HammingStream not working #7
Comments
Hi Stefan, Is this the core in question? It compiles without any error so it should work fine. Best regards, |
Hi Benoit, Thank you for the quick response. Yes it is. It compiles fine, but does not work like expected. I didn't know if the compatibility could be the issue. I want to use the hammingStream on the Serial1 between two of the same boards. The Serial1 works without the hammingStream but is quite noisy. With the hemming. I receive random characters in the buffer. The rest works. For the stream -"eccSerial.println(int)" Is it even possible that this is caused by the core? Right now i use it in a bigger project. Otherwise i would have provided the full code. Thank you Best regards |
Hi Stefan, Thank you very much for reporting this issue. Of course, the encoded data looks like random characters; for example, Also, make sure you don't send any non-encoded byte (for instance, an accidental I don't own this board, so I cannot verify, but I don't think this is related to the core, especially if it works fine without Best regards, |
Hi Benoit, Thank you for helping. i tried your example separtely, just with Serial1. I also did the same code but with print() instead of write(), like in the README.md. So i encode with one controller and decode with another. Both times the decoded message is not the same as the original before encoding. I had no Serial1.prints. Thank you. Best regards, Stefan |
Hi Stefan, Starting from the example, can you check that Could there be some initial (garbage?) data in the serial buffer when the microcontroller boot? I don't understand your last question, but when I say "decorates", I'm referring to the Decorator pattern. Best regards, |
I tested with other hardware and it still works as expected. |
Hi Benoit, excuse the delay. I tested the new example. Flushing does not help. Best Regards Stefan |
Hi Stefan, Thank you for taking the time to run this experiment. With the example, you don't have to call It seems that the encoding is working fine, and I cannot see any reason why the decoding would fail. Best regards, |
Hi Benoit, the cheaper board have no hardware serial that can be used in parallel. I could try it with software serial, but i dont have any experience with it. Maybe i can manage to send you a board. Best regards |
Hi @5tefanP, I purchased an XMC4700 Relax Kit. Best regards, |
Hi,
does the ArduinoStreamUtils-lib work with the ARM® Cortex®-M4 XMC4700 ?
Thank you
King regards
Stefan
The text was updated successfully, but these errors were encountered: