# "temperature data logger" Compilation error: no matching function for call to 'DS3231::DS3231(const uint8\_t&, const uint8\_t&)'

**URL:** <https://forum.arduino.cc/t/temperature-data-logger-compilation-error-no-matching-function-for-call-to-ds3231-ds3231-const-uint8-t-const-uint8-t/1181041>\
**Category:** Programming\
**Created:** [October 22, 2023, 6:53pm UTC](https://forum.arduino.cc/t/temperature-data-logger-compilation-error-no-matching-function-for-call-to-ds3231-ds3231-const-uint8-t-const-uint8-t/1181041 "2023-10-22T18:53:45Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![alto777](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/alto777/32/317385_2.png) [@alto777](https://forum.arduino.cc/u/alto777)\
**Post date:** [October 23, 2023, 6:32pm UTC](https://forum.arduino.cc/t/temperature-data-logger-compilation-error-no-matching-function-for-call-to-ds3231-ds3231-const-uint8-t-const-uint8-t/1181041/21 "2023-10-23T18:32:05Z")

</div>

See this thread

> [@Sprintf() with float values](https://forum.arduino.cc/t/sprintf-with-float-values/937562):
>
> I have an issue when sending floats to sprint(). I'm pretty sure the issue I have is that i'm using the signed int specifier on values that return floats which is causing my sprintf to go out of whack (See screenshot below where the println is normal but sprint is messed up). That being said I can't seem to find a good resource showing how to use the %f specifier on sprintf(). I know I need to specify the decimal points but my Google-Fu is failing me trying to find the formatting that %f expect…

where you will see _sprintf_() on Arduino does not do floats.

You need to "look into _dtostrf_();".

HTh

a7

---

_[View the full topic](https://forum.arduino.cc/t/temperature-data-logger-compilation-error-no-matching-function-for-call-to-ds3231-ds3231-const-uint8-t-const-uint8-t/1181041)._
