Blog > Re: Directly Reading from and Writing to the OUTA register

Home Forums 12Blocks Directly Reading from and Writing to the OUTA register Re: Directly Reading from and Writing to the OUTA register

#11722

Hanno
Keymaster

Hi!
If you just want to set a pin high/low or toggle it, then look in the "pins" section for blocks to do that.
There is a also a pin to query a pin’s state in that section.

For more control, use the "code" block from the purple "control" section.
See below for an example to toggle 7 pins every second…
Hanno