Timeline for Arduino keypad and RF 433MHz transmitter problem
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 1, 2018 at 22:08 | comment | added | Michel Keijzers | You're welcome, good luck with your project | |
Jan 1, 2018 at 20:00 | review | Suggested edits | |||
Jan 1, 2018 at 23:27 | |||||
Jan 1, 2018 at 19:56 | vote | accept | Milos Tosic | ||
Jan 1, 2018 at 19:56 | comment | added | Milos Tosic | You were right, I updated receiver code and it works correctly now. Thanks for your help! | |
Jan 1, 2018 at 19:31 | comment | added | Michel Keijzers | No problem, I think the writing is ok, but maybe where you read it (where you get the package) you have to do the same... If the other side expect a null terminated string, than try to send a string of 2 characters, first is the keypad value, second is a null string, and send length 2. However, since the first character is correct, I think, you can just do a read of exactly 1 character (which is the character you want). The k⸮⸮⸮*****8 part is just some random memory that is not written since the buffer is only 1 byte. | |
Jan 1, 2018 at 19:04 | comment | added | Milos Tosic | Thanks for your answer, I tried both solutions (just "1" and sizeof), and it got me closer to the solution. On the other side I get "1k⸮⸮⸮******8" when the key value is 1, "2k⸮⸮⸮******8" for 2, and so on. Again sorry for needing to be handheld, but as PHP programmer, this is whole new world for me :) | |
Jan 1, 2018 at 18:52 | history | answered | Michel Keijzers | CC BY-SA 3.0 |