The button on the EvKit1 is set up to be high when open, low when closed, so PB_Get works.
But on AD-APARD32690-SL, it's the other way round, and so PB_Get returns when the button is open, not closed.
Of course, you can fix this at the call-site, but it does mean examples don't port nicely from one board to another.
The button on the EvKit1 is set up to be high when open, low when closed, so PB_Get works. But on AD-APARD32690-SL, it's the other way round, and so PB_Get returns when the button is open, not closed. Of course, you can fix this at the call-site, but it does mean examples don't port nicely from one board to another.