R/C Tech Forums - View Single Post - Transponder Design
View Single Post
Old 10-04-2013 | 01:01 PM
  #154  
edeca
Tech Initiate
 
Joined: Jun 2013
Posts: 20
Default

Originally Posted by PA3EXV
I now must continue on the software inside the transponder to have a blinking LED. I must use interrupt service routines which is a new programming technique for me to explore. By using this, the data-transmissions are not disrupted by the blinking LED.
Nice PCB!

Another option is to simply count transmissions and change the LED state when a variable rolls over. Something like the following pseudo-code:

1) Send data
2) Random delay
3) Increment variable i
4) If i == 0, LED equals the opposite of the LED (use XOR)
5) Repeat

I did this for my development version and it worked very well.
edeca is offline