Earliest tested version that compiles. Failed with version 3.10
Basic blinky works but doesn't check pins.