I haven't tried to do so, but looking at the code, I only see a few functions being called from the Arduino libraries. It should be fairly straightforward to replace those, although I'm not sure about platform independence with other ways of doing, e.g. digitalWrite().
I'm also not sure why virtualwire.cpp is a .cpp file. The only C++ I see in it is the extern "C" wrapper. Had anyone tried removing the extern line and compiling it as straight C?
~James
--
You received this message because you are subscribed to the Google Groups "virtualwire" group.
To unsubscribe from this group and stop receiving emails from it, send an email to virtualwire...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Everything is working now. 974 bytes on a ATTiny45 (will try a tiny24 for final) for transmitter and 1050 bytes on a ATTiny84 for the receiver.
Now to create a library for tx and rx that I can re-use more easily. More suited to straight AVR programming without Arduino.
Sure. I'm away from my shop right now. But I'll email them to you.
--
You received this message because you are subscribed to the Google Groups "virtualwire" group.
To unsubscribe from this group and stop receiving emails from it, send an email to virtualwire...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "virtualwire" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/virtualwire/XZmWJB9TNXg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to virtualwire...@googlegroups.com.