Added clock config

This commit is contained in:
BlackMark 2019-07-26 14:07:20 +02:00
parent 9519f3a444
commit e95f936321
3 changed files with 9 additions and 0 deletions

4
io/clock.h Normal file
View File

@ -0,0 +1,4 @@
#pragma once
#define F_CPU 16000000
#include <util/delay.h>

View File

@ -128,6 +128,9 @@
</ToolchainSettings> </ToolchainSettings>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Compile Include="clock.h">
<SubType>compile</SubType>
</Compile>
<Compile Include="io\io.hpp"> <Compile Include="io\io.hpp">
<SubType>compile</SubType> <SubType>compile</SubType>
</Compile> </Compile>

View File

@ -1,3 +1,5 @@
#include "clock.h"
#include "io/io.hpp" #include "io/io.hpp"
int main() int main()