Add AFM._check_target_deflection to avoid approaching forever.
authorW. Trevor King <wking@drexel.edu>
Mon, 23 Jan 2012 20:41:52 +0000 (15:41 -0500)
committerW. Trevor King <wking@drexel.edu>
Mon, 23 Jan 2012 20:41:52 +0000 (15:41 -0500)
commitefbc3201c4eff1bca1fbec0c7add386f6ee4a9fd
tree2be28da9916104b8eb75b93476d9daea4cf2f0fa
parentfd324dc8861565b4ef5e20543af5f3d13c9dbc01
Add AFM._check_target_deflection to avoid approaching forever.

Also use the deflection channel config to convert `setpoint` to bits,
instead of the output z channel config.
pyafm/afm.py