From 7c1296163310d610ab0289f36845ab4dc17c4c0a Mon Sep 17 00:00:00 2001 From: BlackMark Date: Thu, 25 Feb 2016 22:28:28 +0100 Subject: [PATCH] Created submodule branch --- InOut.atsln | 22 ----- InOut/InOut.cpp => InOut.cpp | 0 InOut/InOut.h => InOut.h | 0 InOut/Clock.h | 14 --- InOut/InOut.cppproj | 184 ----------------------------------- InOut/main.cpp | 52 ---------- 6 files changed, 272 deletions(-) delete mode 100644 InOut.atsln rename InOut/InOut.cpp => InOut.cpp (100%) rename InOut/InOut.h => InOut.h (100%) delete mode 100644 InOut/Clock.h delete mode 100644 InOut/InOut.cppproj delete mode 100644 InOut/main.cpp diff --git a/InOut.atsln b/InOut.atsln deleted file mode 100644 index 574935a..0000000 --- a/InOut.atsln +++ /dev/null @@ -1,22 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Atmel Studio Solution File, Format Version 11.00 -VisualStudioVersion = 14.0.23107.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{E66E83B9-2572-4076-B26E-6BE79FF3018A}") = "InOut", "InOut\InOut.cppproj", "{DCE6C7E3-EE26-4D79-826B-08594B9AD897}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|AVR = Debug|AVR - Release|AVR = Release|AVR - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Debug|AVR.ActiveCfg = Debug|AVR - {DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Debug|AVR.Build.0 = Debug|AVR - {DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Release|AVR.ActiveCfg = Release|AVR - {DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Release|AVR.Build.0 = Release|AVR - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/InOut/InOut.cpp b/InOut.cpp similarity index 100% rename from InOut/InOut.cpp rename to InOut.cpp diff --git a/InOut/InOut.h b/InOut.h similarity index 100% rename from InOut/InOut.h rename to InOut.h diff --git a/InOut/Clock.h b/InOut/Clock.h deleted file mode 100644 index 4b8cbff..0000000 --- a/InOut/Clock.h +++ /dev/null @@ -1,14 +0,0 @@ -/* -* Copyright (c) by BlackMark 2015 -* Date 24/11/2015 -* Version 1.1 -*/ - -#ifndef CLOCK_H -#define CLOCK_H - -#define F_CPU 20000000 - -#include - -#endif \ No newline at end of file diff --git a/InOut/InOut.cppproj b/InOut/InOut.cppproj deleted file mode 100644 index 23efc30..0000000 --- a/InOut/InOut.cppproj +++ /dev/null @@ -1,184 +0,0 @@ - - - - 2.0 - 7.0 - com.Atmel.AVRGCC8.CPP - dce6c7e3-ee26-4d79-826b-08594b9ad897 - ATmega328P - none - Executable - CPP - $(MSBuildProjectName) - .elf - $(MSBuildProjectDirectory)\$(Configuration) - InOut - InOut - InOut - Native - true - false - true - true - 0x20000000 - - true - exception_table - 2 - 0 - - - - - - - - - - - - - - - - 0x1E9705 - - - - 125000 - - ISP - - com.atmel.avrdbg.tool.stk500 - - - STK500 - - ISP - 125000 - - - - - -mmcu=atmega328p -B "%24(PackRepoDir)\Atmel\ATmega_DFP\1.0.91\gcc\dev\atmega328p" - True - True - True - True - True - False - True - True - - - NDEBUG - - - - - %24(PackRepoDir)\Atmel\ATmega_DFP\1.0.91\include - - - Optimize for size (-Os) - True - True - True - True - True - - - NDEBUG - - - - - %24(PackRepoDir)\Atmel\ATmega_DFP\1.0.91\include - - - Optimize for size (-Os) - True - True - True - True - -Wextra -std=c++11 - - - libm - - - - - echo "C:\avrdude-6.2\avrdude.exe" -v -p$(avrdevice) %%* -Uflash:w:"$(OutputDirectory)\$(Name).hex":i > "$(MSBuildProjectDirectory)\avrdude.bat" - - - - - -mmcu=atmega328p -B "%24(PackRepoDir)\Atmel\ATmega_DFP\1.0.91\gcc\dev\atmega328p" - True - True - True - True - True - False - True - True - - - DEBUG - - - - - %24(PackRepoDir)\Atmel\ATmega_DFP\1.0.91\include - - - Optimize (-O1) - True - True - Default (-g2) - True - True - True - - - DEBUG - - - - - %24(PackRepoDir)\Atmel\ATmega_DFP\1.0.91\include - - - Optimize (-O1) - True - True - Default (-g2) - True - True - -Wextra -std=c++11 - - - libm - - - Default (-Wa,-g) - - - echo "C:\avrdude-6.2\avrdude.exe" -v -p$(avrdevice) %%* -Uflash:w:"$(OutputDirectory)\$(Name).hex":i > "$(MSBuildProjectDirectory)\avrdude.bat" - - - - compile - - - compile - - - compile - - - compile - - - - \ No newline at end of file diff --git a/InOut/main.cpp b/InOut/main.cpp deleted file mode 100644 index 233fbc7..0000000 --- a/InOut/main.cpp +++ /dev/null @@ -1,52 +0,0 @@ -/* -* Copyright (c) by BlackMark 2015-2016 -* Date 25/02/2016 -* Version 1.3 -*/ - -#include "Clock.h" -#include "InOut.h" - -int main() -{ - InOutPin cLED( InOut::Pin::P_D7 ); - - cLED.setDirection( InOut::Dir::D_OUT, false ); - - cLED.write( false ); - - while( true ) - { - for( uint8_t i = 0; i < 3; ++i ) - { - cLED.write( true ); - _delay_ms( 100 ); - cLED.write( false ); - _delay_ms( 100 ); - } - - _delay_ms( 300 ); - - for( uint8_t i = 0; i < 3; ++i ) - { - cLED.write( true ); - _delay_ms( 300 ); - cLED.write( false ); - _delay_ms( 300 ); - } - - _delay_ms( 100 ); - - for( uint8_t i = 0; i < 3; ++i ) - { - cLED.write( true ); - _delay_ms( 100 ); - cLED.write( false ); - _delay_ms( 100 ); - } - - _delay_ms( 1000 ); - } - - return 0; -} \ No newline at end of file