how to convert an integer to binary in Arduino?

wvmarle:
For better confusion: 1110 = 1011

:slight_smile: :slight_smile:

I had a version of Forth many years ago where you could set what number base it worked in. Whenever you asked it to print out the current number base it always printed 10, no matter what you had previously set it to.

I used to ask students to explain why on the exam paper.