How to use and exit minicom ?

minicom -s  (this is to configure the terminal)

to exit minicom

Press Ctrl – A , select Z , select X