Hello to the community.
With a Basic Stamp 2sx, it is possible to initialize all outputs (all ports) to the low state with the command OUTS=%0
However, this does not seem to work at compile time (PBP2.46)
For a PIC16F814A, I solve with the code below, but isn't there a simple command for this?
CODE:
------------
'All ports Low state
'OUTS = %0 'Does not work after compiling!
for i = 0 to 12
low i
next
---------------------------------------
Thank you.
Bookmarks