Post
Helpless Galliform Breezy Deer The long prints out just fine. I using this library: github.com/lucadentella/TOTP-Arduino/blob/master/examples/GetCode/GetCode.ino If I pass it a regular long, it works. If I pass it a long from my clock, it doesn't. I'm obviously missing something blindingly obvious. But I can't see it.
0
Harsh Platypus Breezy Deer I've had similar issues with embedded c++. It'll probably make sense when you figure out what's wrong, but until then it makes no sense. Also unused memory or buffer overruns are awful to track down. Every time I'm working embedded I miss a debugger just to see what something actually is! I write so little of it I have to learn it all again each time.
0