Using a microcontroller to transmit a 400 MHz signal through an I/O pin is feasible, but the output will be a square wave, resulting in the transmission of harmonics. A low pass filter is necessary to reduce these higher frequencies, although most microcontrollers cannot achieve this directly from their I/O. Transistor oscillators are recommended for generating RF signals more effectively, as they can provide better power output. Typical microcontrollers output around 20 mA, translating to approximately 50 mW, but actual transmission power may be lower due to impedance mismatches with antennas. For improved RF capabilities, microcontrollers with integrated RF transmitters, such as the rfPIC12F675F from Microchip or similar options from TI, are suggested.