I write here because i don't which thread could be more suitable.
I was playing with servos and found this behaviour, trying to find if there was a way to send multiple positions in the PWM generator for servos was active, without getting out from it, which i don't know if it's ok (remember i was playing with options and commands to see a way to repeat the pwm pulses):
2WIRE>(0)
0.Macro menu
1.ISO7816-3 ATR
2.ISO7816-3 parse only
2WIRE>0
WRITE: 0x00
2WIRE>S90
PWM disabled
Servo active
2WIRE>90
WRITE: 0x5A
2WIRE>S 90
PWM disabled
[b]Servo active[/b] <= (1)
2WIRE>S -90
PWM disabled
[b]Position in degrees[/b] <= different behaviour than the previous point (1)
(90)>10
Servo active
[b]WRITE: 0x5A[/b] <=== ?????????? it doesn't appear when using normally just in this case
Well, the servo worked fine in all situations, but the messages in the serial terminal were these ones. Because i have the BP since some days ago, i can't say if these messages are ok or not, anyway they aren't consistent.
This encourages me to ask if there is a way to send multiple positions to the servo once the servo is active, something like:
Normal behaviour:
2WIRE>S
Position in degrees
(90)>0
Servo active
2WIRE>
Here the servo is powered and stable with the PWM, but.. i can't send any other position. I have to get out from the PWM mode and re-enter. It would be nice if i could do something like:
2WIRE>S
Position in degrees
(90)>0
Servo active
(0) > 20
Servo active
(20)> 10
Servo active
...
2WIRE>
... to generate 3 different positions without getting out from the Servo pwm generator. It'd be handy in the BP.
Also i noticed you can enter in the Servo mode from the 1-WIRE mode (it's not specified in the documentation).
am i wrong or there is some issue with the messages? is possible to generate different pulses without getting out from the PWM generator? if not, could it be added in future firmware releases?
Thank you