{"id":220,"date":"2010-08-19T00:40:36","date_gmt":"2010-08-18T21:40:36","guid":{"rendered":"http:\/\/pinguino.walii.es\/archives\/220"},"modified":"2010-08-19T01:14:25","modified_gmt":"2010-08-18T22:14:25","slug":"en-mis-manos-la-version-beta9-de-la-gui%e2%80%a6-de-pinguino","status":"publish","type":"post","link":"https:\/\/pinguino.walii.es\/?p=220","title":{"rendered":"En mis manos la versi\u00f3n beta9 de la GUI\u2026 de PING\u00dcINO."},"content":{"rendered":"

Lo primero de todo es agradecer a JEAN\u2026 gracias a \u00e9l estoy probando desde ayer la nueva versi\u00f3n de interfaz gr\u00e1fica de PING\u00dcINO la versi\u00f3n BETA9\u2026 que a diferencia de otros proveedores cada versi\u00f3n tiene un mill\u00f3n de cosas nuevas\u2026<\/p>\n

Seg\u00fan JEAN, la tendr\u00e1 lista para salir a la calle en un par de d\u00edas. Pero la beta que he probado yo la veo bien madura\u2026 J<\/span><\/p>\n

<\/embed><\/object><\/p>\n

<\/p>\n

Tenemos una nueva interfaz gr\u00e1fica, que aunque parecida a la anterior, ahora mucho m\u00e1s flexible\u2026 pudiendo re dimensionar las ventanas de debug y c\u00f3digo y cambiarlas de posici\u00f3n\u2026 una hermosura.<\/p>\n

Despu\u00e9s tambi\u00e9n tenemos posibilidad de poner nuevas librer\u00edas, propias, creadas o prestadas\u2026 de una forma muy pr\u00e1ctica y flexible.<\/p>\n

Entre los adelantos son:<\/p>\n

La inclusi\u00f3n de una librer\u00eda de servos\u2026 para facilitarnos la vida con los robots.<\/p>\n

\/\/ Servo library test with Pinguino
\n<\/code><\/address>\n
\/\/ Connect servo control lines to pinguino pins.
\n<\/code><\/address>\n
\/\/ Feed servos with +5 V:
\n<\/code><\/address>\n
\/\/
\n<\/code><\/address>\n
\/\/ +-----+
\n<\/code><\/address>\n
\/\/ |servo|--------- PWM Servo control ---> to pinguino pin.
\n<\/code><\/address>\n
\/\/ | |--------- +5V
\n<\/code><\/address>\n
\/\/ | o |--------- GND
\n<\/code><\/address>\n
\/\/ | |
\n<\/code><\/address>\n
\/\/ +-----+
\n<\/code><\/address>\n
#include <servos.c>
\n<\/code><\/address>\n
uchar position=1;
\n<\/code><\/address>\n
void setup(void)
\n<\/code><\/address>\n
{
\n<\/code><\/address>\n
\/\/servo.attach(17);
\n<\/code><\/address>\n
}
\n<\/code><\/address>\n
void loop(void)
\n<\/code><\/address>\n
{
\n<\/code><\/address>\n
\/\/servo.write(17,position);
\n<\/code><\/address>\n
delay(500);
\n<\/code><\/address>\n
position++;
\n<\/code><\/address>\n
}
\n<\/code><\/address>\n

Librer\u00edas matem\u00e1ticas<\/p>\n

\/\/ power function
\n<\/code><\/address>\n
\/\/ Jean-Pierre Mandon 2010
\n<\/code><\/address>\n
#include <math.h>
\n<\/code><\/address>\n
float i,j;
\n<\/code><\/address>\n
float result;
\n<\/code><\/address>\n
char chaine[10];
\n<\/code><\/address>\n
void setup()
\n<\/code><\/address>\n
{
\n<\/code><\/address>\n
Serial.begin(9600);
\n<\/code><\/address>\n
}
\n<\/code><\/address>\n
void loop()
\n<\/code><\/address>\n
{
\n<\/code><\/address>\n
i=45;
\n<\/code><\/address>\n
j=2;
\n<\/code><\/address>\n
result=powf(i,j);
\n<\/code><\/address>\n
if ((result>2024.0)&&(result<2025.0))
\n<\/code><\/address>\n
{
\n<\/code><\/address>\n
Serial.print(\"OK\");
\n<\/code><\/address>\n
Serial.print(\"\\n\\r\");
\n<\/code><\/address>\n
}
\n<\/code><\/address>\n
}
\n<\/code><\/address>\n

Librer\u00edas para control de puerto SPI, para dialogo con el chip de microchip ZIGBEE.<\/p>\n

\"\"\"\"<\/p>\n

\r\n\t\t\t<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"

Lo primero de todo es agradecer a JEAN\u2026 gracias a \u00e9l estoy probando desde ayer la nueva versi\u00f3n de interfaz gr\u00e1fica de PING\u00dcINO la versi\u00f3n…<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/pinguino.walii.es\/index.php?rest_route=\/wp\/v2\/posts\/220"}],"collection":[{"href":"https:\/\/pinguino.walii.es\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pinguino.walii.es\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pinguino.walii.es\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/pinguino.walii.es\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=220"}],"version-history":[{"count":3,"href":"https:\/\/pinguino.walii.es\/index.php?rest_route=\/wp\/v2\/posts\/220\/revisions"}],"predecessor-version":[{"id":229,"href":"https:\/\/pinguino.walii.es\/index.php?rest_route=\/wp\/v2\/posts\/220\/revisions\/229"}],"wp:attachment":[{"href":"https:\/\/pinguino.walii.es\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pinguino.walii.es\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pinguino.walii.es\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}