I am trying to understand the pin descriptions of the picaxe microcontrollers. In particular, I am trying to understand which pins support the servo command.
As far as I know, servos take PWM commands to set their positions. Hence, I assume that pins labeled PWM should support the servo command – and only those pins. So, looking at the 14M2, this should be B.2, B.4, C.0 and C.2. Only those pins are labeled as PWM in the documentation. However, blocky allows selecting pins B.0 to B.5 (and only those – no C.0 and C.2) for the servo commands. What is more, this seems to work as well: I can hook up a servo to B1 and run it.
So, there seems to be a mismatch between blocky and the manual, or not?
How should I read the pin descriptions in the manuals? Or more directly relevant: how do I know which pins support the various input/output commands like read_analog, setting and reading binary states and controlling servos?
As far as I know, servos take PWM commands to set their positions. Hence, I assume that pins labeled PWM should support the servo command – and only those pins. So, looking at the 14M2, this should be B.2, B.4, C.0 and C.2. Only those pins are labeled as PWM in the documentation. However, blocky allows selecting pins B.0 to B.5 (and only those – no C.0 and C.2) for the servo commands. What is more, this seems to work as well: I can hook up a servo to B1 and run it.
So, there seems to be a mismatch between blocky and the manual, or not?
How should I read the pin descriptions in the manuals? Or more directly relevant: how do I know which pins support the various input/output commands like read_analog, setting and reading binary states and controlling servos?