So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By jmroman
#60460 Hi all!

I've been trying to use this function to retrieve a time stamp during execution buy the Arduino IDE keeps throwing the error:

Undefined reference to system_get_time()

It seems to me as if I should include a lib...but I don't kwow which. I have added some others like MCP3008 or MQTT and I can successfully read analog data and communicate by Mqtt.

Anyone out there can help ?

Thanks in advance!
User avatar
By jmroman
#60506
Ribeiro Santos wrote:Try, at top code, add

Code: Select allextern "C"{
  #include "user_interface.h"
}


No luck! user_interface.h was already included. The undefined reference error is still there.