Commit fe2f47e7 authored by Petter Breedveld's avatar Petter Breedveld

added \r to print as well as debugger demo

parent 40e8c892
Debugger_Demo/Debug
.vs

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("{54F91283-7BC4-4236-8FF9-10F437C3AD48}") = "Debugger_Demo", "Debugger_Demo\Debugger_Demo.cproj", "{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
<?xml version="1.0" encoding="utf-8"?>
<Store xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="AtmelPackComponentManagement">
<ProjectComponents>
<ProjectComponent z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
<CApiVersion></CApiVersion>
<CBundle></CBundle>
<CClass>Device</CClass>
<CGroup>Startup</CGroup>
<CSub></CSub>
<CVariant></CVariant>
<CVendor>Atmel</CVendor>
<CVersion>1.1.0</CVersion>
<DefaultRepoPath>D:/Atmel\7.0\Packs</DefaultRepoPath>
<DependentComponents xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<Description></Description>
<Files xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:anyType i:type="FileInfo">
<AbsolutePath>D:/Atmel\7.0\Packs\atmel\ATtiny_DFP\1.1.102\include</AbsolutePath>
<Attribute></Attribute>
<Category>include</Category>
<Condition>C</Condition>
<FileContentHash i:nil="true" />
<FileVersion></FileVersion>
<Name>include</Name>
<SelectString></SelectString>
<SourcePath></SourcePath>
</d4p1:anyType>
<d4p1:anyType i:type="FileInfo">
<AbsolutePath>D:/Atmel\7.0\Packs\atmel\ATtiny_DFP\1.1.102\include\avr\iotn817.h</AbsolutePath>
<Attribute></Attribute>
<Category>header</Category>
<Condition>C</Condition>
<FileContentHash>GzsE/dwQAz37AkZENa/sHg==</FileContentHash>
<FileVersion></FileVersion>
<Name>include/avr/iotn817.h</Name>
<SelectString></SelectString>
<SourcePath></SourcePath>
</d4p1:anyType>
<d4p1:anyType i:type="FileInfo">
<AbsolutePath>D:/Atmel\7.0\Packs\atmel\ATtiny_DFP\1.1.102\templates\main.c</AbsolutePath>
<Attribute>template</Attribute>
<Category>source</Category>
<Condition>C Exe</Condition>
<FileContentHash>/2izaSHu7A83A1sCBdlj/Q==</FileContentHash>
<FileVersion></FileVersion>
<Name>templates/main.c</Name>
<SelectString>Main file (.c)</SelectString>
<SourcePath></SourcePath>
</d4p1:anyType>
<d4p1:anyType i:type="FileInfo">
<AbsolutePath>D:/Atmel\7.0\Packs\atmel\ATtiny_DFP\1.1.102\templates\main.cpp</AbsolutePath>
<Attribute>template</Attribute>
<Category>source</Category>
<Condition>C Exe</Condition>
<FileContentHash>YXFphlh0CtZJU+ebktABgQ==</FileContentHash>
<FileVersion></FileVersion>
<Name>templates/main.cpp</Name>
<SelectString>Main file (.cpp)</SelectString>
<SourcePath></SourcePath>
</d4p1:anyType>
<d4p1:anyType i:type="FileInfo">
<AbsolutePath>D:/Atmel\7.0\Packs\atmel\ATtiny_DFP\1.1.102\gcc\dev\attiny817</AbsolutePath>
<Attribute></Attribute>
<Category>libraryPrefix</Category>
<Condition>GCC</Condition>
<FileContentHash i:nil="true" />
<FileVersion></FileVersion>
<Name>gcc/dev/attiny817</Name>
<SelectString></SelectString>
<SourcePath></SourcePath>
</d4p1:anyType>
</Files>
<PackName>ATtiny_DFP</PackName>
<PackPath>D:/Atmel/7.0/Packs/atmel/ATtiny_DFP/1.1.102/Atmel.ATtiny_DFP.pdsc</PackPath>
<PackVersion>1.1.102</PackVersion>
<PresentInProject>true</PresentInProject>
<ReferenceConditionId>ATtiny817</ReferenceConditionId>
<RteComponents xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string></d4p1:string>
</RteComponents>
<Status>Resolved</Status>
<VersionMode>Fixed</VersionMode>
<IsComponentInAtProject>true</IsComponentInAtProject>
</ProjectComponent>
</ProjectComponents>
</Store>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0">
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
<ProjectVersion>7.0</ProjectVersion>
<ToolchainName>com.Atmel.AVRGCC8.C</ToolchainName>
<ProjectGuid>dce6c7e3-ee26-4d79-826b-08594b9ad897</ProjectGuid>
<avrdevice>ATtiny817</avrdevice>
<avrdeviceseries>none</avrdeviceseries>
<OutputType>Executable</OutputType>
<Language>C</Language>
<OutputFileName>$(MSBuildProjectName)</OutputFileName>
<OutputFileExtension>.elf</OutputFileExtension>
<OutputDirectory>$(MSBuildProjectDirectory)\$(Configuration)</OutputDirectory>
<AssemblyName>Debugger_Demo</AssemblyName>
<Name>Debugger_Demo</Name>
<RootNamespace>Debugger_Demo</RootNamespace>
<ToolchainFlavour>Native</ToolchainFlavour>
<KeepTimersRunning>true</KeepTimersRunning>
<OverrideVtor>false</OverrideVtor>
<CacheFlash>true</CacheFlash>
<ProgFlashFromRam>true</ProgFlashFromRam>
<RamSnippetAddress />
<UncachedRange />
<preserveEEPROM>true</preserveEEPROM>
<OverrideVtorValue />
<BootSegment>2</BootSegment>
<eraseonlaunchrule>0</eraseonlaunchrule>
<AsfFrameworkConfig>
<framework-data xmlns="">
<options />
<configurations />
<files />
<documentation help="" />
<offline-documentation help="" />
<dependencies>
<content-extension eid="atmel.asf" uuidref="Atmel.ASF" version="3.32.0" />
</dependencies>
</framework-data>
</AsfFrameworkConfig>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<ToolchainSettings>
<AvrGcc>
<avrgcc.common.Device>-mmcu=attiny817 -B "%24(PackRepoDir)\atmel\ATtiny_DFP\1.1.102\gcc\dev\attiny817"</avrgcc.common.Device>
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex>
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss>
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep>
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec>
<avrgcc.common.outputfiles.usersignatures>False</avrgcc.common.outputfiles.usersignatures>
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>
<avrgcc.compiler.symbols.DefSymbols>
<ListValues>
<Value>NDEBUG</Value>
</ListValues>
</avrgcc.compiler.symbols.DefSymbols>
<avrgcc.compiler.directories.IncludePaths>
<ListValues>
<Value>%24(PackRepoDir)\atmel\ATtiny_DFP\1.1.102\include</Value>
</ListValues>
</avrgcc.compiler.directories.IncludePaths>
<avrgcc.compiler.optimization.level>Optimize for size (-Os)</avrgcc.compiler.optimization.level>
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings>
<avrgcc.linker.libraries.Libraries>
<ListValues>
<Value>libm</Value>
</ListValues>
</avrgcc.linker.libraries.Libraries>
<avrgcc.assembler.general.IncludePaths>
<ListValues>
<Value>%24(PackRepoDir)\atmel\ATtiny_DFP\1.1.102\include</Value>
</ListValues>
</avrgcc.assembler.general.IncludePaths>
</AvrGcc>
</ToolchainSettings>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<ToolchainSettings>
<AvrGcc>
<avrgcc.common.Device>-mmcu=attiny817 -B "%24(PackRepoDir)\atmel\ATtiny_DFP\1.1.102\gcc\dev\attiny817"</avrgcc.common.Device>
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex>
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss>
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep>
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec>
<avrgcc.common.outputfiles.usersignatures>False</avrgcc.common.outputfiles.usersignatures>
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>
<avrgcc.compiler.symbols.DefSymbols>
<ListValues>
<Value>DEBUG</Value>
</ListValues>
</avrgcc.compiler.symbols.DefSymbols>
<avrgcc.compiler.directories.IncludePaths>
<ListValues>
<Value>%24(PackRepoDir)\atmel\ATtiny_DFP\1.1.102\include</Value>
</ListValues>
</avrgcc.compiler.directories.IncludePaths>
<avrgcc.compiler.optimization.level>Optimize (-O1)</avrgcc.compiler.optimization.level>
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
<avrgcc.compiler.optimization.DebugLevel>Default (-g2)</avrgcc.compiler.optimization.DebugLevel>
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings>
<avrgcc.linker.libraries.Libraries>
<ListValues>
<Value>libm</Value>
</ListValues>
</avrgcc.linker.libraries.Libraries>
<avrgcc.assembler.general.IncludePaths>
<ListValues>
<Value>%24(PackRepoDir)\atmel\ATtiny_DFP\1.1.102\include</Value>
</ListValues>
</avrgcc.assembler.general.IncludePaths>
<avrgcc.assembler.debugging.DebugLevel>Default (-Wa,-g)</avrgcc.assembler.debugging.DebugLevel>
</AvrGcc>
</ToolchainSettings>
</PropertyGroup>
<ItemGroup>
<Compile Include="main.c">
<SubType>compile</SubType>
</Compile>
</ItemGroup>
<Import Project="$(AVRSTUDIO_EXE_PATH)\\Vs\\Compiler.targets" />
</Project>
\ No newline at end of file
/*
* Debugger_Demo.c
*
*/
#include <avr/io.h>
int main(void)
{
/* Replace with your application code */
while (1)
{
}
}
......@@ -3,15 +3,15 @@
:1000200026C025C024C023C022C021C089C01FC053
:100030001EC01DC011241FBECFEFCDBFDFE3DEBF4A
:100040001EE3A0E0BEE3E0E2FAE002C005900D92FC
:10005000AA33B107D9F72EE3AAE3BEE301C01D928C
:10006000A534B207E1F70E9459000C940E050C94D8
:10005000AC33B107D9F72EE3ACE3BEE301C01D9288
:10006000A734B207E1F70E9459000C940E050C94D6
:100070000000E0E0F6E0808184608083818182601E
:100080008183828180618283828182838081816099
:1000900080830895E0E0F6E086838385816083872E
:1000A000808581608087838580FFFDCF80911006E9
:1000B00008956CE675E080E090E00E9487000E9461
:1000C00039007894C6E0DEE386E00E944A0080951D
:1000D00080933A3E1F928F93DF93CF930E94F90053
:1000D00080933C3E1F928F93DF93CF930E94F90051
:1000E0009AE22CE28AE0915020408040E1F7000043
:1000F0000F900F900F900F90E7CFE0E0F8E0948121
:1001000095FFFDCF8093020880E090E00895E0E243
......@@ -23,15 +23,15 @@
:10016000CF93DF93009731F46115710519F480E0A6
:1001700090E03AC08B01EC016EE070E081E090E02D
:100180000E94E102FC01892B91F380E88383011531
:10019000110571F00287138781E8838380913B3ECC
:1001A00090913C3E892B21F4E0933B3EF0933C3E02
:10019000110571F00287138781E8838380913D3ECA
:1001A00090913E3E892B21F4E0933D3EF0933E3EFC
:1001B0002097C9F0C087D187838182608383809133
:1001C0003D3E90913E3E892B71F4E0933D3EF0938D
:1001D0003E3E80913F3E9091403E892B21F4E0933A
:1001E0003F3EF093403ECF01DF91CF911F910F91A1
:1001C0003F3E9091403E892B71F4E0933F3EF09387
:1001D000403E8091413E9091423E892B21F4E09334
:1001E000413EF093423ECF01DF91CF911F910F919D
:1001F0000895A0E0B0E0EFEFF0E00C94ED04AE0164
:100200004B5F5F4FFA0161917191AF0180913D3E6B
:1002100090913E3E0E940F01E2E00C940605ACE096
:100200004B5F5F4FFA0161917191AF0180913F3E69
:100210009091403E0E940F01E2E00C940605ACE094
:10022000B0E0E5E1F1E00C94DD047C016B018A01B2
:10023000FC0116821782838181FFBDC1CE01019628
:100240004C01F7019381F60193FD859193FF819114
......@@ -94,43 +94,43 @@
:1005D000100D969F100D1124C8010E94FD02EC0120
:1005E000009729F0A80160E070E00E943504CE0178
:1005F000DF91CF911F910F910895CF93DF938230B8
:10060000910510F482E090E0E091433EF091443E89
:10060000910510F482E090E0E091453EF091463E85
:1006100020E030E0C0E0D0E0309711F1408151811E
:1006200048175907C0F04817590761F48281938130
:10063000209719F08A839B832BC08093433E90932D
:10064000443E26C02115310519F04217530718F40E
:10063000209719F08A839B832BC08093453E90932B
:10064000463E26C02115310519F04217530718F40C
:100650009A01BE01DF01EF010280F381E02DDCCFC2
:100660002115310509F1281B390B2430310590F48F
:1006700012968D919C9113976115710521F0FB01E4
:100680008283938304C08093433E9093443EFD0154
:100680008283938304C08093453E9093463EFD0150
:10069000329644C0FD01E20FF31F819391932250E3
:1006A00031092D933C933AC02091413E3091423E16
:1006B000232B41F42091023E3091033E2093413E92
:1006C0003093423E2091003E3091013E211531058C
:1006A00031092D933C933AC02091433E3091443E12
:1006B000232B41F42091023E3091033E2093433E90
:1006C0003093443E2091003E3091013E211531058A
:1006D00041F42DB73EB74091043E5091053E241B96
:1006E000350BE091413EF091423EE217F307A0F452
:1006E000350BE091433EF091443EE217F307A0F44E
:1006F0002E1B3F0B2817390778F0AC014E5F5F4F78
:100700002417350748F04E0F5F1F4093413E50932A
:10071000423E8193919302C0E0E0F0E0CF01DF918F
:100700002417350748F04E0F5F1F4093433E509328
:10071000443E8193919302C0E0E0F0E0CF01DF918D
:10072000CF9108950F931F93CF93DF93009709F410
:100730008CC0FC013297128213820091433E1091CB
:10074000443E0115110581F420813181820F931FF0
:100750002091413E3091423E2817390779F5E093C8
:10076000413EF093423E71C0D80140E050E0AE17E8
:100730008CC0FC013297128213820091453E1091C9
:10074000463E0115110581F420813181820F931FEE
:100750002091433E3091443E2817390779F5E093C4
:10076000433EF093443E71C0D80140E050E0AE17E4
:10077000BF0750F412962D913C911397AD012115AE
:10078000310509F1D901F3CF9D01DA0122833383C9
:1007900060817181860F971F8217930769F4EC01BE
:1007A00028813981260F371F2E5F3F4F20833183E9
:1007B0008A819B8182839383452B29F4E093433E76
:1007C000F093443E42C01296ED93FC931397ED01D3
:1007B0008A819B8182839383452B29F4E093453E74
:1007C000F093463E42C01296ED93FC931397ED01D1
:1007D000499159919E01240F351FE217F30771F4D7
:1007E00080819181840F951F02968D939C93119720
:1007F0008281938112968D939C931397E0E0F0E0B1
:10080000D80112968D919C911397009719F0F801D9
:100810008C01F6CF8D919C9198012E5F3F4F820FF6
:10082000931F2091413E3091423E2817390769F4C9
:10083000309729F41092433E1092443E02C0128237
:1008400013820093413E1093423EDF91CF911F915E
:10082000931F2091433E3091443E2817390769F4C5
:10083000309729F41092453E1092463E02C0128233
:1008400013820093433E1093443EDF91CF911F915A
:100850000F910895FC010590615070400110D8F788
:10086000809590958E0F9F1F0895DC0101C06D93B8
:1008700041505040E0F70895FC01615070400190F4
......@@ -160,8 +160,8 @@
:1009F00048885F846E847D848C849B84AA84B984B7
:100A0000C884DF80EE80FD800C811B81AA81B981C2
:100A1000CE0FD11DCDBFDEBFED010895F894FFCFFD
:100A20000000453E20004C6967687420696E74655B
:100A20000000473E20004C6967687420696E746559
:100A30006E736974792069732063757272656E7460
:100A40006C79202564206272696768746E657373BF
:0A0A500020706F696E7473210A00B4
:0C0A500020706F696E7473210D0A0000A5
:00000001FF
......@@ -455,7 +455,7 @@ END GROUP
*(.fini0)
0x00000a20 _etext = .
.data 0x00803e00 0x3a load address 0x00000a20
.data 0x00803e00 0x3c load address 0x00000a20
0x00803e00 PROVIDE (__data_start, .)
*(.data)
.data 0x00803e00 0x6 d:/atmel/7.0/toolchain/avr8/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.9.2/../../../../avr/lib/avrxmega2\libc.a(malloc.o)
......@@ -466,34 +466,35 @@ END GROUP
*(.rodata)
*(.rodata*)
.rodata.str1.1
0x00803e06 0x34 main.o
0x00803e06 0x35 main.o
*(.gnu.linkonce.d*)
0x00803e3a . = ALIGN (0x2)
0x00803e3a _edata = .
0x00803e3a PROVIDE (__data_end, .)
0x00803e3c . = ALIGN (0x2)
*fill* 0x00803e3b 0x1
0x00803e3c _edata = .
0x00803e3c PROVIDE (__data_end, .)
.bss 0x00803e3a 0xb
0x00803e3a PROVIDE (__bss_start, .)
.bss 0x00803e3c 0xb
0x00803e3c PROVIDE (__bss_start, .)
*(.bss)
*(.bss*)
.bss.data 0x00803e3a 0x1 main.o
0x00803e3a data
.bss.data 0x00803e3c 0x1 main.o
0x00803e3c data
*(COMMON)
COMMON 0x00803e3b 0x6 d:/atmel/7.0/toolchain/avr8/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.9.2/../../../../avr/lib/avrxmega2\libc.a(iob.o)
0x00803e3b __iob
COMMON 0x00803e41 0x4 d:/atmel/7.0/toolchain/avr8/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.9.2/../../../../avr/lib/avrxmega2\libc.a(malloc.o)
0x00803e41 __brkval
0x00803e43 __flp
0x00803e45 PROVIDE (__bss_end, .)
COMMON 0x00803e3d 0x6 d:/atmel/7.0/toolchain/avr8/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.9.2/../../../../avr/lib/avrxmega2\libc.a(iob.o)
0x00803e3d __iob
COMMON 0x00803e43 0x4 d:/atmel/7.0/toolchain/avr8/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.9.2/../../../../avr/lib/avrxmega2\libc.a(malloc.o)
0x00803e43 __brkval
0x00803e45 __flp
0x00803e47 PROVIDE (__bss_end, .)
0x00000a20 __data_load_start = LOADADDR (.data)
0x00000a5a __data_load_end = (__data_load_start + SIZEOF (.data))
0x00000a5c __data_load_end = (__data_load_start + SIZEOF (.data))
.noinit 0x00803e45 0x0
.noinit 0x00803e47 0x0
[!provide] PROVIDE (__noinit_start, .)
*(.noinit*)
[!provide] PROVIDE (__noinit_end, .)
0x00803e45 _end = .
0x00803e45 PROVIDE (__heap_start, .)
0x00803e47 _end = .
0x00803e47 PROVIDE (__heap_start, .)
.eeprom 0x00810000 0x0
*(.eeprom*)
......
......@@ -4,15 +4,15 @@ S11300102EC02DC02CC02BC02AC029C028C027C088
S113002026C025C024C023C022C021C089C01FC04F
S11300301EC01DC011241FBECFEFCDBFDFE3DEBF46
S11300401EE3A0E0BEE3E0E2FAE002C005900D92F8
S1130050AA33B107D9F72EE3AAE3BEE301C01D9288
S1130060A534B207E1F70E9459000C940E050C94D4
S1130050AC33B107D9F72EE3ACE3BEE301C01D9284
S1130060A734B207E1F70E9459000C940E050C94D2
S11300700000E0E0F6E0808184608083818182601A
S11300808183828180618283828182838081816095
S113009080830895E0E0F6E086838385816083872A
S11300A0808581608087838580FFFDCF80911006E5
S11300B008956CE675E080E090E00E9487000E945D
S11300C039007894C6E0DEE386E00E944A00809519
S11300D080933A3E1F928F93DF93CF930E94F9004F
S11300D080933C3E1F928F93DF93CF930E94F9004D
S11300E09AE22CE28AE0915020408040E1F700003F
S11300F00F900F900F900F90E7CFE0E0F8E094811D
S113010095FFFDCF8093020880E090E00895E0E23F
......@@ -24,15 +24,15 @@ S11301508F910F900FBE0F901F9018950F931F93C0
S1130160CF93DF93009731F46115710519F480E0A2
S113017090E03AC08B01EC016EE070E081E090E029
S11301800E94E102FC01892B91F380E8838301152D
S1130190110571F00287138781E8838380913B3EC8
S11301A090913C3E892B21F4E0933B3EF0933C3EFE
S1130190110571F00287138781E8838380913D3EC6
S11301A090913E3E892B21F4E0933D3EF0933E3EF8
S11301B02097C9F0C087D18783818260838380912F
S11301C03D3E90913E3E892B71F4E0933D3EF09389
S11301D03E3E80913F3E9091403E892B21F4E09336
S11301E03F3EF093403ECF01DF91CF911F910F919D
S11301C03F3E9091403E892B71F4E0933F3EF09383
S11301D0403E8091413E9091423E892B21F4E09330
S11301E0413EF093423ECF01DF91CF911F910F9199
S11301F00895A0E0B0E0EFEFF0E00C94ED04AE0160
S11302004B5F5F4FFA0161917191AF0180913D3E67
S113021090913E3E0E940F01E2E00C940605ACE092
S11302004B5F5F4FFA0161917191AF0180913F3E65
S11302109091403E0E940F01E2E00C940605ACE090
S1130220B0E0E5E1F1E00C94DD047C016B018A01AE
S1130230FC0116821782838181FFBDC1CE01019624
S11302404C01F7019381F60193FD859193FF819110
......@@ -95,43 +95,43 @@ S11305C0F6040F931F93CF93DF93869F8001879F39
S11305D0100D969F100D1124C8010E94FD02EC011C
S11305E0009729F0A80160E070E00E943504CE0174
S11305F0DF91CF911F910F910895CF93DF938230B4
S1130600910510F482E090E0E091433EF091443E85
S1130600910510F482E090E0E091453EF091463E81
S113061020E030E0C0E0D0E0309711F1408151811A
S113062048175907C0F04817590761F4828193812C
S1130630209719F08A839B832BC08093433E909329
S1130640443E26C02115310519F04217530718F40A
S1130630209719F08A839B832BC08093453E909327
S1130640463E26C02115310519F04217530718F408
S11306509A01BE01DF01EF010280F381E02DDCCFBE
S11306602115310509F1281B390B2430310590F48B
S113067012968D919C9113976115710521F0FB01E0
S11306808283938304C08093433E9093443EFD0150
S11306808283938304C08093453E9093463EFD014C
S1130690329644C0FD01E20FF31F819391932250DF
S11306A031092D933C933AC02091413E3091423E12
S11306B0232B41F42091023E3091033E2093413E8E
S11306C03093423E2091003E3091013E2115310588
S11306A031092D933C933AC02091433E3091443E0E
S11306B0232B41F42091023E3091033E2093433E8C
S11306C03093443E2091003E3091013E2115310586
S11306D041F42DB73EB74091043E5091053E241B92
S11306E0350BE091413EF091423EE217F307A0F44E
S11306E0350BE091433EF091443EE217F307A0F44A
S11306F02E1B3F0B2817390778F0AC014E5F5F4F74
S11307002417350748F04E0F5F1F4093413E509326
S1130710423E8193919302C0E0E0F0E0CF01DF918B
S11307002417350748F04E0F5F1F4093433E509324
S1130710443E8193919302C0E0E0F0E0CF01DF9189
S1130720CF9108950F931F93CF93DF93009709F40C
S11307308CC0FC013297128213820091433E1091C7
S1130740443E0115110581F420813181820F931FEC
S11307502091413E3091423E2817390779F5E093C4
S1130760413EF093423E71C0D80140E050E0AE17E4
S11307308CC0FC013297128213820091453E1091C5
S1130740463E0115110581F420813181820F931FEA
S11307502091433E3091443E2817390779F5E093C0
S1130760433EF093443E71C0D80140E050E0AE17E0
S1130770BF0750F412962D913C911397AD012115AA
S1130780310509F1D901F3CF9D01DA0122833383C5
S113079060817181860F971F8217930769F4EC01BA
S11307A028813981260F371F2E5F3F4F20833183E5
S11307B08A819B8182839383452B29F4E093433E72
S11307C0F093443E42C01296ED93FC931397ED01CF
S11307B08A819B8182839383452B29F4E093453E70
S11307C0F093463E42C01296ED93FC931397ED01CD
S11307D0499159919E01240F351FE217F30771F4D3
S11307E080819181840F951F02968D939C9311971C
S11307F08281938112968D939C931397E0E0F0E0AD
S1130800D80112968D919C911397009719F0F801D5
S11308108C01F6CF8D919C9198012E5F3F4F820FF2
S1130820931F2091413E3091423E2817390769F4C5
S1130830309729F41092433E1092443E02C0128233
S113084013820093413E1093423EDF91CF911F915A
S1130820931F2091433E3091443E2817390769F4C1
S1130830309729F41092453E1092463E02C012822F
S113084013820093433E1093443EDF91CF911F9156
S11308500F910895FC010590615070400110D8F784
S1130860809590958E0F9F1F0895DC0101C06D93B4
S113087041505040E0F70895FC01615070400190F0
......@@ -161,8 +161,8 @@ S11309E0DEB7CA1BDB0BCDBFDEBF09942A8839886A
S11309F048885F846E847D848C849B84AA84B984B3
S1130A00C884DF80EE80FD800C811B81AA81B981BE
S1130A10CE0FD11DCDBFDEBFED010895F894FFCFF9
S1130A200000453E20004C6967687420696E746557
S1130A200000473E20004C6967687420696E746555
S1130A306E736974792069732063757272656E745C
S1130A406C79202564206272696768746E657373BB
S10D0A5020706F696E7473210A00B0
S10F0A5020706F696E7473210D0A0000A1
S9030000FC
......@@ -39,7 +39,7 @@ int main(void)
//The light sensor returns the ones complement (the opposite) of the brightness:
data = 0xff - data;
printf("Light intensity is currently %d brightness points!\n", data); //Print out the value neatly using printf
printf("Light intensity is currently %d brightness points!\r\n", data); //Print out the value neatly using printf
/*
About printf: Handles formatting of your print to terminal. This includes special characters, values of variables and more.
It takes one string and any variables you want to print.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment