Rainbowduino Analog Inputs

Hello,
I would like to know which pin number should I use to read the analog input ADC(6,7) on Rainbowduino.
Should I declare pin6 and pin7?
Or pin19 and pin22 as in the ATMEGA168 original pinout?
(atmel.com/dyn/resources/prod … /2545S.pdf)

In case it’s on the pin6,
the declaration of pin as input and the use of analogRead is the same used for Arduino,
and I don’t need to change the rainbow.h file, no?
(I suppose the answer is yes, but if someone can confirm…)

like this ?

[code]int adcPin = 6;

void setup() {
pinMode(adcPin, INPUT);
}

void loop() {
val = analogRead(adcPin);
}[/code]

Muchas gracias for your help,
kk

Yes pin 6 is definitely the ADC6 pin, so I guess ADC7 is probably pin 7. We forgot to set the pinMode to INPUT in our program and it still worked with the default firmware init, but you should do it of course.