Go Down

Topic: Using Manchester libary with attiny85 (Read 41 times) previous topic - next topic

hello,

I hope someone here can help me.

I have been trying for days to get a RF module working with a attiny85.
I try to use the manchester libary, but I can't get it working.

I have tried a lot of different manchester libaries, uploaders etc. But none of them are complete and working.

I tested it first on an arduino uno and that works fine.

When I tried to upload it to an attiny85 I get the next error:

C:\Users\Ricardo\Desktop\Arduino\libraries\arduino-libs-manchester-master\Manchester.cpp: In function 'void MANRX_SetupReceive(uint8_t)':
C:\Users\Ricardo\Desktop\Arduino\libraries\arduino-libs-manchester-master\Manchester.cpp:390: error: 'TCCR2A' was not declared in this scope
C:\Users\Ricardo\Desktop\Arduino\libraries\arduino-libs-manchester-master\Manchester.cpp:390: error: 'WGM21' was not declared in this scope
C:\Users\Ricardo\Desktop\Arduino\libraries\arduino-libs-manchester-master\Manchester.cpp:395: error: 'TCCR2B' was not declared in this scope
C:\Users\Ricardo\Desktop\Arduino\libraries\arduino-libs-manchester-master\Manchester.cpp:395: error: 'CS21' was not declared in this scope
C:\Users\Ricardo\Desktop\Arduino\libraries\arduino-libs-manchester-master\Manchester.cpp:395: error: 'CS20' was not declared in this scope
C:\Users\Ricardo\Desktop\Arduino\libraries\arduino-libs-manchester-master\Manchester.cpp:396: error: 'OCR2A' was not declared in this scope
C:\Users\Ricardo\Desktop\Arduino\libraries\arduino-libs-manchester-master\Manchester.cpp:403: error: 'TIMSK2' was not declared in this scope
C:\Users\Ricardo\Desktop\Arduino\libraries\arduino-libs-manchester-master\Manchester.cpp:403: error: 'OCIE2A' was not declared in this scope
C:\Users\Ricardo\Desktop\Arduino\libraries\arduino-libs-manchester-master\Manchester.cpp:404: error: 'TCNT2' was not declared in this scope

I hope someone can help me here?

Go Up