Look for a single conductor black wire that runs near the fuel line into the engine that has a single plug/receptical on it. Unplug this and see if your mower starts. If it starts, it's the CPU. This wire defeats the mower safety functions the CPU regulates.
I have a x304 and a X324.