diff --git a/inout/inout b/inout/inout index 093c0a6..a69465f 160000 --- a/inout/inout +++ b/inout/inout @@ -1 +1 @@ -Subproject commit 093c0a6a025a5d39b9f236a03a290a374e3570e7 +Subproject commit a69465fca084be51a9486a2439c3b6d596cfb14a diff --git a/inout/main.cpp b/inout/main.cpp index d469a75..3dfcdee 100644 --- a/inout/main.cpp +++ b/inout/main.cpp @@ -9,7 +9,13 @@ int main() { - InOutPin cLED( InOut::Pin::B5 ); + InOutPin::setDirection( InOut::Dir::OUT ); + InOutPin::write( true ); + _delay_ms( 3000 ); + InOutPin::write( false ); + _delay_ms( 3000 ); + + InOutPin cLED; cLED.setDirection( InOut::Dir::OUT ); cLED.write( false );