Converting decimal number to ternary number

I’m not getting that error you are reporting.
Though there is an issue with Println(t); – an errant capital P. Correcting that runs the sketch with no problems and produces an output. Admittedly, I have not evaluated the results to check if your conversion is fully correct.

1 Like