Unable to use sscanf
Posted: Sun Nov 29, 2015 10:36 am
Hello,
I like to use the sscanf function in my code. It compiles fine when I select a Arduino board, but I get a 'undefined reference to `sscanf' when I use the esp8266...
The code:
Any idea how to solve this?
BR,
Hubert
I like to use the sscanf function in my code. It compiles fine when I select a Arduino board, but I get a 'undefined reference to `sscanf' when I use the esp8266...
The code:
Code: Select all
unsigned long value = 0L;
void setup() {
sscanf("hello42", "%lx", &value);
}
void loop () {}
Any idea how to solve this?
BR,
Hubert