looks like a nice tester. For precision, I would worry about the tolerance on that 3.3k resistor, the actual Vdd (I've seen it be a little off), and the on-state impedance of the output pin (I think it's about 30 Ohms or so). But, for 10% tolerance, it should work in any setup...
looks like a nice tester. For precision, I would worry about the tolerance on that 3.3k resistor, the actual Vdd (I've seen it be a little off), and the on-state impedance of the output pin (I think it's about 30 Ohms or so). But, for 10% tolerance, it should work in any setup...
I should have probably mentioned that the thing works best with an RCTime constant that returns values greater than 160_000 work best. Much lower, and the SCALE object starts to produce large errors. A bug I'll probably look at later.
And an additional demo line:
Y.Start(-1,400,2000) ' for servo use
' followed in main loop by:
PWM.Servo(Servo_Pin,Y.GetScaled(Pot_Y))
Comments
I should have probably mentioned that the thing works best with an RCTime constant that returns values greater than 160_000 work best. Much lower, and the SCALE object starts to produce large errors. A bug I'll probably look at later.
And an additional demo line:
... Tim
And then asked about it ... (looking disappointed), oh well.
... Tim