how do you read an input port in a microcontroller continuously without compiler optimization
Anonimo
We can read input port in microcontroller without compiler optimization by using Volatile Keyword. Volatile Keyword instructs compiler that not to optimize the variable. generally Compiler Do optimization to run code faster and to reduce code size also.