Tag: arduino raspberry

继续得到隐式声明错误

编译时我不断收到这些错误。 我修改了在arduino上运行的代码,以便在我的覆盆子pi上运行。 test1.c: In function ‘loop’: test1.c:24:3: warning: implicit declaration of function ‘rotateDeg’ [-Wimplicit-function-declaration] test1.c:33:3: warning: implicit declaration of function ‘rotate’ [-Wimplicit-function-declaration] test1.c: At top level: test1.c:42:6: warning: conflicting types for ‘rotate’ [enabled by default] test1.c:33:3: note: previous implicit declaration of ‘rotate’ was here test1.c: In function ‘rotate’: test1.c:46:3: warning: implicit declaration of function ‘abs’ […]