AnsweredAssumed Answered

STM32F7 fast threshold implimintation

Question asked by Michael.P on Aug 25, 2016
Latest reply on Aug 30, 2016 by Michael.P
Hi,

I have a 800 bytes array and I need to check if each byte is bigger than a threshold value

for (i=0;i<800;i++)
     if Data[i] > TH
          then ....

is there any other method to implement this threshold without loop and if?

Thanks,
Michael

Outcomes