CrossRoads:
Is this different/better somehow from the encoding that the VirtualWire library does for the same kind of transmitter/receivers?
The main difference is that this library works on an ATtiny85 (as well as an Arduino Uno) which is a nice cheap MCU to use for low power wireless nodes.
I haven't actually looked in detail at the code for the VirtualWire library so I can't say whether the encoding is any better/worse.
I managed to resolve the compile errors on my project with IDE 1.0. However, the programming failed with the following errors.
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x64
avrdude: stk500_cmd(): protocol error
Looks like I'll be sticking with Arduino 0022 for now.
...is a problem with the ArduinoISP sketch compiled with 1.0. You can lower the baud rate to 9600, increase the receive buffer size, or I have an update that works correctly with 1.0. If you'd like a copy, send me a Personal Message with your email address.
Thanks for the offer - I've sent you a PM. Is there a bug tracking this so it will be fixed in Arduino IDE 1.1?
I've taken a look at the VirtualWire library and it looks like it is a more advanced interrupt based solution. However, as per this thread apparently VirtualWire can be sensitive to the clock frequency changing with temperature.
I am investigating getting VirtualWire working properly on ATtiny so that I can do a fair comparison.
"Full" Arduino support. I believe all those libraries have been shown to work on most or all Arduino boards. At a minimum, your library should be tested on one or both Mega boards.
Attention. The Arduino folks have fallen a bit behind in the documentation. Even if they agree to add your library, I suspect it would be months before it happened. Were I in your shoes I would continue the path you've started: publishing and documenting from a site you control.
I have tried to install the library, but when i compile the exemple code, I have this error message:
C:\Project\Arduino\libraries\Manchester\Manchester.cpp: In function 'void MANRX_SetupReceive(uint8_t)':
C:\Project\Arduino\libraries\Manchester\Manchester.cpp:366: error: 'TCCR2A' was not declared in this scope
C:\Project\Arduino\libraries\Manchester\Manchester.cpp:366: error: 'WGM21' was not declared in this scope
C:\Project\Arduino\libraries\Manchester\Manchester.cpp:371: error: 'TCCR2B' was not declared in this scope
C:\Project\Arduino\libraries\Manchester\Manchester.cpp:371: error: 'CS21' was not declared in this scope
C:\Project\Arduino\libraries\Manchester\Manchester.cpp:371: error: 'CS20' was not declared in this scope
C:\Project\Arduino\libraries\Manchester\Manchester.cpp:372: error: 'OCR2A' was not declared in this scope
C:\Project\Arduino\libraries\Manchester\Manchester.cpp:379: error: 'TIMSK2' was not declared in this scope
C:\Project\Arduino\libraries\Manchester\Manchester.cpp:379: error: 'OCIE2A' was not declared in this scope
C:\Project\Arduino\libraries\Manchester\Manchester.cpp:380: error: 'TCNT2' was not declared in this scope
I searched in the internet and I think the problem come from the core of attiny85? Please show me how to fix it.