Can't modify global variables in interrupt, despite having declared them volatile
You've re-declared 'low' and 'high' as separate variables in your main function. The global variables won't show up in main() if you do that. Remove the duplicate declarations and try again.