Adapted example to new shortened function names
This commit is contained in:
parent
08b69f70d7
commit
fb6003eaa3
@ -1 +1 @@
|
||||
Subproject commit a69465fca084be51a9486a2439c3b6d596cfb14a
|
||||
Subproject commit 42bc1147b889b4d1b87e48e59375eefe7bec07fc
|
@ -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<InOut::Pin::B5>::setDirection( InOut::Dir::OUT );
|
||||
InOutPin<InOut::Pin::B5>::direction( InOut::Dir::OUT );
|
||||
InOutPin<InOut::Pin::B5>::write( true );
|
||||
_delay_ms( 3000 );
|
||||
InOutPin<InOut::Pin::B5>::write( false );
|
||||
_delay_ms( 3000 );
|
||||
|
||||
InOutPin<InOut::Pin::B5> cLED;
|
||||
cLED.setDirection( InOut::Dir::OUT );
|
||||
cLED.direction( InOut::Dir::OUT );
|
||||
cLED.write( false );
|
||||
|
||||
while( true )
|
||||
|
Loading…
Reference in New Issue
Block a user