Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ask_transmitter example compilation failed on ATTiny 85 (Digispark) #46

Open
krmal opened this issue Apr 13, 2020 · 0 comments
Open

ask_transmitter example compilation failed on ATTiny 85 (Digispark) #46

krmal opened this issue Apr 13, 2020 · 0 comments

Comments

@krmal
Copy link

krmal commented Apr 13, 2020

Compiling the example "as-is", I only commented line 13:
RH_ASK driver;
and uncommented line 15:
RH_ASK driver(2000, 3, 4, 0); // ATTiny, RX on D3 (pin 2 on attiny85) TX on D4 (pin 3 on attiny85), .

I got a multitude of errors of the following kind:

_In file included from C:\Users\s150942\Documents\Arduino\libraries\RadioHead/RHEncryptedDriver.h:15:0,
from
C:\Users\s150942\Documents\Arduino\libraries\RadioHead\RHEncryptedDriver.cpp:7:

C:\Users\s150942\Documents\Arduino\libraries\RadioHead/RHGenericDriver.h:87:23: error: 'uint8_t' has not been declared

 virtual bool recv(uint8_t* buf, uint8_t* len) = 0;

                   ^

C:\Users\s150942\Documents\Arduino\libraries\RadioHead/RHGenericDriver.h:87:37: error: 'uint8_t' has not been declared

 virtual bool recv(uint8_t* buf, uint8_t* len) = 0;_

and many more erros that uint8_t is not defined.

Is there anything I should do before compilation? Is ATTiny85 otherwise supported?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant