From fb6003eaa397ae317ac9ee2d8fede78cdc80074e Mon Sep 17 00:00:00 2001 From: BlackMark Date: Thu, 26 Apr 2018 16:03:45 +0200 Subject: [PATCH] Adapted example to new shortened function names --- inout/inout | 2 +- inout/main.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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 )