Hi,
I need to set an 8-bit device. I am using a netduino plus 2. If I want to set DB0 - DB7 to a specific byte, say "45" (hex), how can I set the bit simultaneously instead of setting each bit:
I know it can be done like this:
db0.write(true);
db1.write(false);
db2.write(true);
db3.write(false);
db4.write(false);
db5.write(false);
db6.write(true);
db7.write(false);
but can I set something like this in parallel ?
Thanks,
xMakina