By trialhudije , 4 March, 2022 Forums Gurux.DLMS Hello, i including "preferences.h" library on esp32.. i got error when i compile this code: " preferences.begin("my-app", false); unsigned int counter = preferences.getUInt("counter", 0); preferences.putUInt("counter", counter); preferences.end(); " but success if i change to: String counter = preferences.getString("counter", "0"); preferences.putString("counter", "0"); could you give me solution? thanks Tri Alhudi Image