Raveshirt Update two!
Well as promised, I got up early to head to the lab to test out the circuit and the news is…. we have success! …well sort of. Of course there was some problems. So the first thing was I made a dumb mistake in the code, the pwm write takes a float between 0.0f and 1.0f instead of a int so the first thing was the output from the MCU was always high. »