Your topic has been moved to the Programming category of the forum
Please do not post pictures of code and error messages
Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'
Use code tags (the < CODE/ > icon above the compose window) to make it easier to read and copy for examination
https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum
On line 8, try:
Serial.print(stringOne);
Your string contains a value of 11111111
, what are you intending to do?
This will print the string contents:
Serial.print(stringOne);
Here is a live example: stringOne - Wokwi ESP32, STM32, Arduino Simulator
Can you explain your comment of a byte containing 45, as this is not what it contains, or explain what your goal is?
please don't double post. You already have a conversation about this Hoe kan ik een String versturen de tr rx pins
Cross-posting is against the Arduino forum rules. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend a lot of time investigating and writing a detailed answer on one topic, without knowing that someone else already did the same in the other topic.
Please create one topic only for your question and choose the forum category carefully. If you have multiple questions about the same project then please ask your questions in the one topic as the answers to one question provide useful context for the others, and also you won’t have to keep explaining your project repeatedly.
Repeated duplicate posting could result in a temporary or permanent ban from the forum.
Could you take a few moments to Learn How To Use The Forum. It will help you get the best out of the forum in the future.
Thank you.
--
➜ tell us which post you want to close
Serial.write expects a char pointer as an argument. Not an object of type String.
That is what the compiler is telling you...
Please post using code tags. I cannot read your response.
if old timers and recognised members start posting unreadable (on my iPhone) / unusable pictures for code, the forum is doomed....
let's stick to text and code tags
I hope @Delta_G was actually trying to make a subtle point to the OP, by posting something unreadable in response to something only marginally better. But I don't know, because like many, I refuse to try and imagine what is in a screen capture like that, I generally just move on to the next message thread.
@qwinten I hope you get the point.
You are likely right
By the way, it doesn't matter that, by clicking twice or more on the image, one can actually read the content of @Delta_G's image, because the other thing that we're most likely to do with the information on the screen is quote pieces of it in our reply; can't do that with a screen cap, not gonna retype it. In @qwinten's original post, because of the long messages in the output window, much valuable information is missing, off to the right of the screen, so again, the image is less than useful. So... again, goodbye. This is limiting the number of people participating in responding to the request.
We're not just sniping. There are very good reasons for providing code and error messages as content, not screen captures.
Yes, I was trying to make a point. I wonder what sort of thought process leads someone to think, no I'm not going to copy and paste the text, I'm going to make a screeenshot. I thought maybe since this one was such a simple fix that I would give it back to the OP in that form and let them see for themselves.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.