If your load needs an 1 and you send a 0 then it is obvious that you need an inverter.
But as I said, instead of 1, send 0 in software.
For example,
var_a=%10101010
var_1=var_a XOR %11111111
The result in var_a will be the complement of the initial value.
Ioannis




Bookmarks