pwm, spi, and usart works now.