updated pinMode declaration to use POWERPIN define.