Home › Forums › 12Blocks › Directly Reading from and Writing to the OUTA register › Re: Directly Reading from and Writing to the OUTA register
See below. Variables used in 12Blocks are available when using "code" blocks, you don’t need to do anything.
By default, all "io" pins are sampled at several thousand times/second. However, only the pins that are used with a "block" are graphed in "view pins". To see activity on pins that you manipulate with "code" blocks, insert a block that manipulates a pin with a block from the "pins" section. To sample at a faster rate- up to 20 Million samples/second, add a "quickly sample the IO pins" block to the beginning of your program.