Previously in the main loop, the lid state was checked for open vs closed in order to inject the SCEx data at the right moment for multi-disk games. However, the loop checks the lid pin number not the value on the lid pin input, which requires a digitalRead.
Previously in the main loop, the lid state was checked for open vs closed in order to inject the SCEx data at the right moment for multi-disk games. However, the loop checks the lid pin number not the value on the lid pin input, which requires a digitalRead.
Change is untested.