You can print the value as it is: Serial.println(state);. This will print the the ordering number of the enum, but you can specify the value ...
確定! 回上一頁