I have a 32-bit value I want to send to the computer from the PIC & display in decimal. The printf function requires 16-bit values. I used 2 concatenated ints to send the 32-bit value (%u%u) but beyond 65535 it doesn’t display correctly. I just know this is going to be a major facepalm when I realize what I’m missing.
fpro
you drank too much. https://skeptics.stackexchange.com/questions/2795/is-the-ballmer-peak-real
SubnetTwelve
Never try to solve electronic shit while drunk. You only make it worse. Drunk you is only useful to solve relational problems. Not logical ones.
Arcygenical
Sameies. Trying to make an Arduino function generator. Code is not my forte, 10 shots and 2 pts of MDMA deep.
ulesverne
I have a sneaking suspicion this problem will remain tomorrow. Because my coding skills are crap.
hackller
what is it you're trying to do?
ulesverne
I have a 32-bit value I want to send to the computer from the PIC & display in decimal. The printf function requires 16-bit values. I used 2 concatenated ints to send the 32-bit value (%u%u) but beyond 65535 it doesn’t display correctly. I just know this is going to be a major facepalm when I realize what I’m missing.