still not perfect pwm or writeHigh passing to arduino but progress