Arduino Sketch (from Google Drive)
Arduino Sketch V2 (from Google Drive)
Arduino Sketch V3 (from Google Drive)
V2 is a little easier to read, and I changed the functions. V3 is just a different animal to see if I could write the program to use less space. It is not easy to modify AT ALL! Have fun with them.

This won’t be one of those long winded posts. I hope that the picture is worth more than a thousand words. I’ve wanted to make an Arduino controlled fox transmitter for Amateur Radio Direction Finding (ARDF) that didn’t take an engineering degree to make. Yeah, the programming might have been a bit, but I’ve commented it enough that it shouldn’t be too difficult to see what is happening.
If you don’t already have it, download the Arduino IDE from arduino.cc and get a copy of my code from the top of this post. At minimum change the call sign in the Arduino sketch to your call then download it to the Arduino. Make the circuit as shown in the diagram. That’s really all.