diff --git a/inout/inout b/inout/inout index a69465f..42bc114 160000 --- a/inout/inout +++ b/inout/inout @@ -1 +1 @@ -Subproject commit a69465fca084be51a9486a2439c3b6d596cfb14a +Subproject commit 42bc1147b889b4d1b87e48e59375eefe7bec07fc diff --git a/inout/main.cpp b/inout/main.cpp index 3dfcdee..3832d35 100644 --- a/inout/main.cpp +++ b/inout/main.cpp @@ -1,7 +1,7 @@ /* * Copyright (c) by BlackMark 2015-2018 * Date 26/04/2018 -* Version 1.4 +* Version 1.5 */ #include "clock.h" @@ -9,14 +9,14 @@ int main() { - InOutPin::setDirection( InOut::Dir::OUT ); + InOutPin::direction( InOut::Dir::OUT ); InOutPin::write( true ); _delay_ms( 3000 ); InOutPin::write( false ); _delay_ms( 3000 ); InOutPin cLED; - cLED.setDirection( InOut::Dir::OUT ); + cLED.direction( InOut::Dir::OUT ); cLED.write( false ); while( true )