I see that espruino supports the binary prefix, 0b, so 0b0000 should work, and appears to work, but reading the empty byte and printing it out ('0000') seems to take a lot of effort in C++ (my slave device for testing use is an arduino uno).
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I see that espruino supports the binary prefix, 0b, so 0b0000 should work, and appears to work, but reading the empty byte and printing it out ('0000') seems to take a lot of effort in C++ (my slave device for testing use is an arduino uno).