digitalWrite() can it take 0 or 1 instead of HIGH?

Can digitalWrite() can it take 0 or 1 instead of HIGH/LOW? i presume so. I’m trying to write something to a shiftregister from an array.

Yes, LOW is defined as 0, HIGH as 1 so either the values or constants can be used

Thanks! i just tested it. sometime trivial things gets one confused! :wink: