89 chev trk 5.7 tbi what does the knock sensor do?

runs fine then light goes on, idle goes up. under load i get spark knock or pings. whats up?
6 answers 6