Hi,So I've been messing about with my BBB arduino for a few months now, and I'm working on a project.It's more of a modification of an old project, rather than using a ProMini as most people do, I am using just an atmega on a board in an effort to shrink the physical size as much as possible.

I am still new to programming, so I need help. The code has only been used on 16mhz and 8mhz, however I am hoping that someone could modify it to run on 4mhz, or even the 1mhz internal oscillator to, even negligibly, increase efficiency.

I see the part that says "use 0x42 for 8mhz and 0x43 for 16mhz" but I'm not sure how to modify this for 4mhz or 1mhz.

And here is the full original code. Sorry that I didn't say it before, the code is used to convert ppm signals (what our RC transmitters output) to serial, so that we can use an external module and transmit different protocols.Thanks!

How is the board powered? Directly from batteries? Through a regulator?

Quote

and/or use of board space.

Using the internal oscillator obviously eliminates the crystal / resonator. However, the internal oscillator is not tuned. How accurate does the clock need to be? Are you prepared to tune it? Does the voltage vary? Or the temperature?

Using the internal oscillator obviously eliminates the crystal / resonator. However, the internal oscillator is not tuned. How accurate does the clock need to be? Are you prepared to tune it? Does the voltage vary? Or the temperature?

I read up more about the Internal Oscillator, and decided against it It's too situation specific. I'd eventually like to get this out so that more people would be willing to make it for their transmitters, so simplicity is a must.