Hi All,
I have some code that uses a RF transmitter and a receiver.
I made and ran the code using 2 arduino nano's and all worked great, however i want to make the transmitter as small as i can so i got some attiny85's
I loaded the same code and nothing ![]()
the virtualwire is meant to be compatible with the attiny85 so not sure why its not working. the code is
#include <VirtualWireTiny.h>
void setup(){
vw_set_ptt_inverted(true); // Required for DR3100
vw_setup(2000); // Bits per sec
}void loop(){
const char *msg = "testing";
vw_send((uint8_t *)msg, strlen(msg));
vw_wait_tx(); // Wait until the whole message is gone
delay(200);
}
please help