Timing Problem with Lanc & pulsein

It will probably use the same amount of memory, I'm just saying it is the "wrong" datatype. I didn't recommend 0/1 BTW, the values LOW/HIGH are intended to go into the byte type, not the boolean type.

Let's hypothetically say that one day HIGH is defined as 0xFF, and that the boolean type can only hold one bit. Then you can't put HIGH into a boolean. (Today you probably can).