i have an INT in my arduino code that i constantly update it's value and i want to check the value and compare it to static values and run IF statments out of it. Something like this
INT = 3
If (int = 1) { run1() }
If (int = 2) { run2() }
If (int = 3) { run3() }
the above example just overwrites the original INT value