Magnet sensor sweep code

private person wrote it. dont know where he got it. i will install the library. i thought it may have something to do with that. do you know the name of the library? I'll try and figure it out.