Hacking VirtualWire

Hi all,

I have been getting a lot of use out of Mike McCauley's most excellent Virtual Wire library. (http://www.airspayce.com/mikem/arduino/) I have a project where I will need to lighten it up a bit in order for it to fit with everything else. I'm thinking I want to:

  • build it with just transmitting or just receiving
  • enable it to be built with hard-coded prescaler and counter settings to avoid the need to calculate these at runtime
  • allow the transmit or receive buffers to be used for something else when virtualwire isn't using them
  • maybe simplify the interrupt handling, or provide for disabling the timer, in the case that the receiver or transmitter is not running at all

I don't think any of this is super-duper complicated, but I'm not sure if someone has gone before me in doing this. Any pointers would be welcome.