List of commandsYou can send any of these commands to the daemon, terminated by a newline. Buddy movement commandsWing movement commands- WU
- WD
- MACRO_FLAP
- MACRO_FLAP2
Head colouring commands- RED:\d (ie: RED:0 or RED:1) or R:\d (ie: R:1)
- GREEN:\d or G:\d
- BLUE:\d or B:\d
- YELLOW:\d
- SAPHIRE:\d
- VIOLET:\d
- HEART:\d
- C:\d:\d:\d (RGB values, ie: C:1:0:0 will make the head red)
- MACRO_RED
- MACRO_GREEN
- MACRO_BLUE
- MACRO_YELLOW
- MACRO_VIOLET
- MACRO_SAPHIRE
- MACRO_LBLUE
- MACRO_HEART
- MACRO_HEART2
Misc commands- RESET or Z
- EXEC or X
- CLEAR or L
- SLEEP or S
- DEMO
|
Hola! He escrito un pequeño script basado en pybuddy que permita (o lo intente ;-), a través de la línea de comandos, controlar de forma sencilla el ibuddy. Tenéis el código en http://www.israelviana.es/pybuddy-cl.py ¿Qué pensáis? ¿Os parece útil? Yo lo hice con la intención de usar vuestra librería desde otros lenguajes, ya que soy novato en Python (de hecho es mi primer script xD). En fin, enhorabuena por pybuddy y que siga el desarrollo! Un abrazo