updated writing to gpio sys pin and log messageupdated writing to gpio sys pin and log messageupdated writing to gpio sys pin and log messageupdated writing to gpio sys pin and log message