pinMode made fully async
Some more functions made async