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
void setup() {
// put your setup code here, to run once:
long num=12345;
char s[20];
ltoa(num,s,10);
}
the above code , when compile ,report below information:
D:\arduino-1.8.19\portable\sketchbook\sketch_may28a\sketch_may28a.ino: In function 'void setup()':
sketch_may28a:7:1: error: 'ltoa' was not declared in this scope; did you mean 'utoa'?
7 | ltoa(num,s,10);
| ^~~~
| utoa
exit status 1
'ltoa' was not declared in this scope; did you mean 'utoa'?
the select board is GD32F3x0 Generic series, GD32F330C4, change to another type of GD32 is also this error. When I change the board to STM32 for arduino platform , the code is compile ok .
What's wrong with this problem?
thanks who can help me resolve this error.
The text was updated successfully, but these errors were encountered:
the test code is
the above code , when compile ,report below information:
the select board is GD32F3x0 Generic series, GD32F330C4, change to another type of GD32 is also this error. When I change the board to STM32 for arduino platform , the code is compile ok .
What's wrong with this problem?
thanks who can help me resolve this error.
The text was updated successfully, but these errors were encountered: