Arduino Multi-Tool (Spectrum analyzer, multimeter, slow oscilloscope)

Is it right this change,

/*
unsigned char s = RADIO_RSSI(n);
*/

unsigned char s = analogRead(n);

to read from analog "PWM pin 2" -zero interrupt a wave???