Digital feedback control loops for scanning tunneling microscopes