I'm aware of this topic relating the same error, but it does not gave me any solution. I have no idea why this is happening and at the moment I can't test on an Arduino.
It worked fine until some point on the code, Idk why and it's very weird. Tinkercad do have its own collection of libraries due to it being a online app. It's basically a simpler version of Wowkwi, which seems to run most projects perfectly.
I checked for all possible errors and even tried using ChatGPT for it cuz it does recognize arduino code but didn't work, which I think it's an issue from Tinkercad.
this isn't an error with you're code at least I don't think because I'm pretty sure most coding applications would tell you the line and specific parameter that you have over used in the error but it has not so I think that it's an error with the .ino file or .h file so if you could show me all the sketches that are useed in this code that would be helpful
Well I don't actually have access to any file in Tinkercad, only the boards, sensors and modules. If I download the code from the project page it just gives me a .ino file which does not come with a header file. The only thing I could do is running a remade project in Wowkwi which gives an error output (same code):
sketch.ino: In function 'void loop()':
sketch.ino:98:24: error: no matching function for call to 'print(long unsigned int [100])'
lcd.print(valor);
^
In file included from /arduino/hardware/avr/1.8.6/cores/arduino/Stream.h:26:0,
from /arduino/hardware/avr/1.8.6/cores/arduino/HardwareSerial.h:29,
from /arduino/hardware/avr/1.8.6/cores/arduino/Arduino.h:233,
from sketch.ino.cpp:1:
/arduino/hardware/avr/1.8.6/cores/arduino/Print.h:68:12: note: candidate: size_t Print::print(char) <near match>
size_t print(char);
^~~~~
/arduino/hardware/avr/1.8.6/cores/arduino/Print.h:68:12: note: conversion of argument 1 would be ill-formed:
/arduino/hardware/avr/1.8.6/cores/arduino/Print.h:69:12: note: candidate: size_t Print::print(unsigned char, int) <near match>
size_t print(unsigned char, int = DEC);
^~~~~
/arduino/hardware/avr/1.8.6/cores/arduino/Print.h:69:12: note: conversion of argument 1 would be ill-formed:
/arduino/hardware/avr/1.8.6/cores/arduino/Print.h:70:12: note: candidate: size_t Print::print(int, int) <near match>
size_t print(int, int = DEC);
^~~~~
/arduino/hardware/avr/1.8.6/cores/arduino/Print.h:70:12: note: conversion of argument 1 would be ill-formed:
/arduino/hardware/avr/1.8.6/cores/arduino/Print.h:71:12: note: candidate: size_t Print::print(unsigned int, int) <near match>
size_t print(unsigned int, int = DEC);
^~~~~
/arduino/hardware/avr/1.8.6/cores/arduino/Print.h:71:12: note: conversion of argument 1 would be ill-formed:
/arduino/hardware/avr/1.8.6/cores/arduino/Print.h:72:12: note: candidate: size_t Print::print(long int, int) <near match>
size_t print(long, int = DEC);
^~~~~
/arduino/hardware/avr/1.8.6/cores/arduino/Print.h:72:12: note: conversion of argument 1 would be ill-formed:
/arduino/hardware/avr/1.8.6/cores/arduino/Print.h:73:12: note: candidate: size_t Print::print(long unsigned int, int) <near match>
size_t print(unsigned long, int = DEC);
^~~~~
/arduino/hardware/avr/1.8.6/cores/arduino/Print.h:73:12: note: conversion of argument 1 would be ill-formed:
Error during build: exit status 1