You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following program does not work: no numerical value is output. If I replace
%i with %d it works. According to cplusplus.com either should work:
http://www.cplusplus.com/reference/cstdio/printf/
--------------------------------------------------
#include <stdio.h>
#include <propeller.h>
int main(){
waitcnt(CLKFREQ + CNT);
int myVar = 314159;
printf("myVar: %i\n", myVar);
return 0;
}
--------------------------------------------------
Original issue reported on code.google.com by [email protected] on 27 Feb 2014 at 8:06
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 27 Feb 2014 at 8:06The text was updated successfully, but these errors were encountered: