Closed Alirio926 closed 3 years ago
I suspect the problem might be in
sprintf(buffer, "%d", ab);
unsigned long are surely supported by the compiler (SDCC) but I never used their sprintf implementation, it might not work as expected
You're right, I changed the parameter to %lu and it worked, Thanks!!!
It's not a problem, but is there a way to make calculations with 32-bit variables?
tried:
But this print: 4 and 1, so unsignd long is 32 bits but why cannot show?
drawText method.