I am new to Arduino and microcontrollers and all I am looking for right now is a simple 38khz output signal from an attiny85. Now that I have got the USBasp programmer up and running I have tried a few sketches from around the web but none seem to work.
I have tried a 555 timer, which has been largely a waste of time as getting the exact resistors to make it work is a problem, using a trimpot is not reliable either as I have to keep re-tuning it from regular use. So I want to do it via software to make it more reliable and compact.
The example code in Arduino IDE for the blinking LED is a possibility if I can change the timing. Can that be done easily using the blink example or do I have to use entirely different code? I have uploaded and used the example successfully just by changing the output pins. Any help appreciated. Thanks