(PSP) Add analog code