Have you vacuumed dust and hair from condenser fins recently.
It the Fan bearings are causing amperage to exceed 1/2 an amp or one of the many transistors in fan is shorting out this will cause module to stop compressor
, producing a LED trouble code of two flashes every 4 seconds.
If control modules temperature exceeds 130 degrees that will stop compressor, producing an LED trouble code of five flashes every four seconds.
Try to add temporally another fan blowing air around the condenser and module area with fan F terminal wire disconnected from module. Then try both fans operating with second fan cooling
only module heat sink.