is there any way of comparing (using relational operators with) a macro with a constant value?
i have defined a macro in my program, the macro is a system variable whose values could be changed later on as per our requirements (like the F_CPU), and now need to check for its values for further logic designing. i am trying to use the same procedure of using relational operators as is done with any variable. but that doesn't seems to work and the compiler is showing errors.
how can one achieve such an objective?
thank you for the replies.