[SOLVED]Only F constant couldn't be known in every procedure scope

F is a macro defined by the Arduino environment. Some details are available here...

I suggest using something other than "F" to avoid the conflict; maybe "sF" for "segment F".