Skip to main content
15 events
when toggle format what by license comment
Oct 29, 2017 at 14:48 vote accept Christos Mitsis
Oct 29, 2017 at 8:23 comment added user31481 I copy-pasted @Gerben comments as an answer. Please, accept it to close the question.
Oct 29, 2017 at 8:22 answer added user31481 timeline score: 0
Aug 17, 2015 at 23:29 comment added Avamander Use RF24 library's examples. tmrh20.github.io/RF24 is the webpage you can find them.
May 29, 2015 at 21:24 history edited Christos Mitsis CC BY-SA 3.0
added 2 characters in body
May 28, 2015 at 18:48 comment added Christos Mitsis And all tutorials on the internet use the char by char method
May 28, 2015 at 18:46 comment added Christos Mitsis Yes but when i send string it doesnt arrive as it is it shows some random chars
May 28, 2015 at 18:44 comment added Gerben I already told you twice.
May 28, 2015 at 16:46 comment added Christos Mitsis So what should i do to make it work?
May 28, 2015 at 16:44 comment added Gerben You send one char, and wait for and ACK. Then you send the next char and wait for an ACK. If the other unit doesn't process the message, the buffer will will up after 3 messages, and it will no longer send an ACK (because the buffer is full), and you while loop will hang.
May 28, 2015 at 16:23 comment added Christos Mitsis I said that because when i press the button the receiver turns into sender and sends a string. Then it waits for an ack. So if it receives an ack it breaks the for loop and mabe it is the reason that it sends only one char
May 28, 2015 at 15:29 comment added Gerben The receiver doesn't receive an ACK. Only the sender does. You can send data while you are still listening. No need to call stopListening before calling radio.write().
May 28, 2015 at 14:16 comment added Christos Mitsis I tried to send a string and on the other side i did not receive these characters but some others. Besides that I have to call stopListening because in the loop I write. Another question: If receiver receives ack package does it cause an interrupt?
May 28, 2015 at 8:33 comment added Gerben There is probably a death-lock situation where both arduino's are trying to send data the the other, while both aren't listening. So both are waiting for the other to ack. Like I said at your previous question. Why not send all rgb data in one packet. Also, there is no need to call radio.stopListening.
May 27, 2015 at 23:43 history asked Christos Mitsis CC BY-SA 3.0