Suppose $n$ is odd. Let $f:S^n\longrightarrow S^n$ be an odd function. Then it induces a map $g:P^n\longrightarrow P^n$ such that the diagram $$ \begin{array}[c]{ccc} S^n&\stackrel{f}{\rightarrow}&S^n\\ \downarrow\scriptstyle{p}&&\downarrow\scriptstyle{p}\\ P^n&\stackrel{g}{\rightarrow}&P^n \end{array} $$ We can also guarantee that the antipodal map has degree 1.
Can I deduce from the above that the degree of $f$ is odd? I have tried using $H_n(f)$ with coefficients on $\mathbb{Z}$ and on $\mathbb{Z}_2$, but I have not been able to prove it.
My definition of degree is, given $\gamma\in H_n(S^n)$ a generator, then $\deg(f)=k$ with $k$ such that $H_n(f)(\gamma)=k\,\gamma$.