In this paper, a simple method of phase correction by using a micromachined deformable mirror (MMDM) is demonstrated. With correction of high-order phases due to propagating through medium, we obtained a clean pulse shape, flattened spectral phase an