Miles
July 29, 2009, 8:32am
23
jamie.wilson:
Well I feel pretty stupid, I didn’t change the rf.send to include ‘false’. That seems to have fixed the problem with the transmitter, but the receiver isn’t happy.
I’m finally transmitting between the two which is exciting, but the receiver has 3 solid lights for a second, and then the green flashes (while it receives), then back to 3 solid lights. It does this over and over, receiving around one in every 5 sends from the transmitter.
I also have a question about speed, there is no delay in the transmitter sending its message, which is “T01.04.100” (this is the format i’ll be sending in for my final app). It is probably firing 3-4 times a second. Is there a way to speed this up (i don’t know too much about this stuff), as i’ll be reading potentiometer values from a toy affecting sound and it needs to be realtime.
Something that has happened a couple of times since i’ve been working on this as well, is that there seems to be some sort of ‘time-out’ happening. Once the transmitter has been going hard for a while, it goes to 2 red blinks and 1 green blink, and the receiver gives up all together!
Cheers for all your help guys, i’d be screwed without you!
Hmm, it shouldn’t really crap out. That could be a bug you’ve uncovered.
The lights are basically my implementation. green light means it’s recieving a “packet stream”. Blue means it’s either pending recieving or sending and the blink green means it has been succesful.
If it takes “forever” and blinks red, that means it was expecting a confirmation but never recieved anything.