Japt -P
, 11 bytes
Takes advantage of the fact that spaces can be coerced to 0
in JavaScript when trying to perform a mathematical or, in this case, bitwise operation on it.
c_¤ù7Ãä^ i1
c_¤ù7Ãä^ i1 :Implicit input of string
c_ :Map codepoints
¤ : Convert to binary string
ù7 : Left pad with spaces to length 7
à :End map
ä^ :XOR consecutive pairs
i1 :Prepend 1
:Implicitly join and output