Hi all,
I’m following the tutorial for the digital compass. So far no significant issues. Unfortunately I cannot complete the forth section. The compiler writes a warning:
warning: assignment makes pointer from integer without a cast
rotation = rotozoomSurface(compatibleCompassNeedle,heading+90,1,0);
^
As I’m rather new to c programming, I slightly understand what this means but have no clue how to fix it. Any hint would be very helpful.