Adapted example to new shortened function names

This commit is contained in:
2018-04-26 16:03:45 +02:00
parent 08b69f70d7
commit fb6003eaa3
2 changed files with 4 additions and 4 deletions

View File

@@ -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 )