Interrupt using pot value?

Don’t forget you can insert print statements to help you debug your code,
After you read the pot value , print it to the serial monitor to see if the value is what you expect