---------- Forwarded message ----------
From: Rafael Hernando Barragán Romero <[EMAIL PROTECTED]>
Date: 2008/6/19
Subject: Re: Fwd: [Arzexp] avrlib plus wiring
To: "Diego L." <[EMAIL PROTECTED]>, [EMAIL PROTECTED]


Acá están las definiciones en el código fuente
http://wiring.uniandes.edu.co/source/trunk/wiring/core/WApplet.c?revision=441&view=markup

de esto se vé que el puerto 0 de Wiring es PORTD
el puerto 1 de Wiring es PORTC
el puerto 2 de Wiring es PORTA
el puerto 3 de Wiring es PORTB
el puerto 4 de Wiring es PORTE
que el puerto 5 de Wiring es PORTF
el puerto 6 de Wiring es PORTG


const uint8_t pins[8] = { WPIN0, WPIN1, WPIN2, WPIN3, WPIN4, WPIN5, WPIN6,
WPIN7 };

uint8_t * ports[7] = { &PORTD, &PORTC, &PORTA, &PORTB, &PORTE, &PORTF,
&PORTG };

uint8_t * portsddr[7] = { &DDRD, &DDRC, &DDRA, &DDRB, &DDRE, &DDRF, &DDRG };

uint8_t * portspin[7] = { &PIND, &PINC, &PINA, &PINB, &PINE, &PINF, &PING };


Diego L. wrote:

>
>
> ---------- Forwarded message ----------
> From: *Juan I Reyes* <[EMAIL PROTECTED] <mailto:
> [EMAIL PROTECTED]>>
> Date: Jun 18, 2008 7:13 PM
> Subject: [Arzexp] avrlib plus wiring
> To: "arZexp()" <[email protected] <mailto:[email protected]>>
>
>
> Hola,
>
> Pruebas preliminares indican que Wiring si funciona con UISP y las
> AVRLIB. Como lo había mencionado en el email con análisis del código hay
> que deducir los puertos en Wiring porque no coinciden con los del
> ATMega128. Por ejemplo PORT-0 en Wiring equivale a PORTD en el
> ATMega128.
>
> Por lo tanto esperen un 'avrwiring_make' y el 'makefile' para compilar
> cada programa y cargarlo al Micro. Con ARduino debe ser todavía mas
> fácil.
>
> Salud,
>
> --* Juan
>
> _______________________________________________
> ____ ____ ___  ____ _  _ ___
> |__| |__/   /  |___  \/  |__]
> |  | |  \  /__ |___ _/\_ |
>
> Arzexp mailing list
> [email protected] <mailto:[email protected]>
> http://lists.slow.tk/listinfo.cgi/arzexp-slow.tk
>
>
> --
> Cel 1: (57) 311 4722579
> Cel 2: (57) 317 6756720
> Fijo: (57 + 1) 7572349
> Fax: (57 + 1) 7572349
> www.didimaxproject.com <http://www.didimaxproject.com>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG. Version: 7.5.524 / Virus Database: 270.4.0/1507 - Release
> Date: 18/06/2008 07:09 a.m.
>
>



-- 
Cel 1: (57) 311 4722579
Cel 2: (57) 317 6756720
Fijo: (57 + 1) 7572349
Fax: (57 + 1) 7572349
www.didimaxproject.com
_______________________________________________
____ ____ ___  ____ _  _ ___
|__| |__/   /  |___  \/  |__]
|  | |  \  /__ |___ _/\_ |

Arzexp mailing list
[email protected]
http://lists.slow.tk/listinfo.cgi/arzexp-slow.tk

Responder a