#ifndef MAIN_H #define MAIN_H typedef enum { INIT, WAIT_FOR_COIN, PROCESS_COIN, GENERATE_QR, PAYMENT_CONFIRMED, ERROR_STATE } State; #endif