add PWM driver, output checked with logic analyzer spi_xfer() bug fix for cs_pin and message looping uart pin_mode init moved to uart driver