Skip to main content

Timeline for Converting (char*)variable to int

Current License: CC BY-SA 3.0

3 events
when toggle format what by license comment
Jan 7, 2018 at 1:21 comment added jfpoilpret You have to know what gets transferred between both devices: is that string or numbers? Your question made me think this was numbers (in binary representation, not as ASCII strings). You probably need to provide more details in your question.
Jan 7, 2018 at 1:18 comment added Milos Tosic The thing is, when I use your code, I get a strange result. I send string 33 with driver.send("33", sizeof("33")); , and with your code I get "53" over the serial. Any idea on what might be causing it?
Jan 2, 2018 at 21:32 history answered jfpoilpret CC BY-SA 3.0