COMPARE PREVIOUS VALUE

Algorithm development and general DSP issues

Moderator: frank

Post Reply
Mcfly
Posts: 46
Joined: Fri Mar 08, 2013 2:38 pm
Location: Argentina

COMPARE PREVIOUS VALUE

Post by Mcfly »

Hi, i'm wondering how to code an if fuction. Let's say If the value of a pot is different than its previous value then go to an specific part of the routine.

I tried using the SKP function but it has no such condition (if ACC is not equal as PACC).
frank
Posts: 1244
Joined: Wed Oct 19, 2005 12:26 pm
Contact:

Post by frank »

Subtract them and do a skip on zero so you skip over the change routine.
Frank Thomson
Experimental Noize
Post Reply