ArduinoData\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Print.h:91:12: note: conversion of argument 1 would be ill-formed:
Receiver_v32:193:49: error: invalid conversion from 'const char*' to 'long long unsigned int' [-fpermissive] display.setCursor(80, 45); display.print("%.1f", myPayload.pakkeNr);
Anyone who can give me a tip? Was hoping to add code per display.print line, not make an conversion up front.
An advantage of printf() and sprinf() is that you can specify a minimum field with:
display.printf("%2.1f", myPayload.DHTtempKube);
This will ensure that a space is printed before the first digit, if the value is under 10. This can help with aligning a column of numbers on your display.
You can also use
display.printf("%02.1f", myPayload.DHTtempKube);
which will print an extra 0 if the value is under 10.