Labeled value/rfid

hallo, ich möchte gerne ein labeled value über eine if schleife steuern also wenn etwas ist dann soll das in der schleife angezeigt werden. gibt es ein Beispiel
danke

There are probably thousands of examples… it is a rather basic programming structure to display data when there is data. And probably hundreds of ways of doing the that job as well, so how you need will depend on the specifics of your timing, data source etc…

https://www.arduino.cc/reference/en/language/structure/control-structure/if/