I have this cheap RF link that I had working with the Arduni UNO, but I wanted to make it smaller and ATTiny85 should do the trick. The RF module is connected (data pin) to PB3 on the ATTiny.
But I am having some problems. It does not work, and I don't know why. My code:
#include <SoftwareSerial.h>
// PINS
#define SERIAL_TX PB3
SoftwareSerial mySerial(-1, SERIAL_TX);
void setup() {
pinMode(SERIAL_TX, OUTPUT);
mySerial.begin( 1200 );
}
void loop() {
mySerial.write(0xAA);
mySerial.write(0xAA);
mySerial.write(0xAA);
delay(1000);
}