Ovviamente dipende da come sono collegati i led alla porta.
Amaro C++, il gusto pieno dell'undefined behavior.
Regole del Forum