How to enter a multi-digit from an IR in one loop

Hi, i wanna make 5 questions program and control witch IR, but i have problem after 1st. See code and thanks for help :slight_smile:

sketch_mar29a.ino (1.12 KB)

Hi. Read the sticky post at the top of the forum about how to post your code inside code tags. It helps people help you by making your code visible without having to download it.

Also do describe in detail what your sketch does, and how it differs from what you want it to do.

This serial input tutorial may also be useful.