This commit is contained in:
		
							
								
								
									
										10
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
				
			|||||||
 | 
					kind: pipeline
 | 
				
			||||||
 | 
					name: default
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					steps:
 | 
				
			||||||
 | 
					- name: build
 | 
				
			||||||
 | 
					  image: python:3
 | 
				
			||||||
 | 
					  commands:
 | 
				
			||||||
 | 
					  - pip install platformio
 | 
				
			||||||
 | 
					  - pio ci --lib src/ examples/HelloWorld --board=pro16MHzatmega328
 | 
				
			||||||
 | 
					  - pio ci --lib src/ examples/Max7456Write --board=pro16MHzatmega328
 | 
				
			||||||
							
								
								
									
										17
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										17
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
								
							@@ -1,17 +0,0 @@
 | 
				
			|||||||
# Auto detect text files and perform LF normalization
 | 
					 | 
				
			||||||
* text=auto
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Custom for Visual Studio
 | 
					 | 
				
			||||||
*.cs     diff=csharp
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Standard to msysgit
 | 
					 | 
				
			||||||
*.doc	 diff=astextplain
 | 
					 | 
				
			||||||
*.DOC	 diff=astextplain
 | 
					 | 
				
			||||||
*.docx diff=astextplain
 | 
					 | 
				
			||||||
*.DOCX diff=astextplain
 | 
					 | 
				
			||||||
*.dot  diff=astextplain
 | 
					 | 
				
			||||||
*.DOT  diff=astextplain
 | 
					 | 
				
			||||||
*.pdf  diff=astextplain
 | 
					 | 
				
			||||||
*.PDF	 diff=astextplain
 | 
					 | 
				
			||||||
*.rtf	 diff=astextplain
 | 
					 | 
				
			||||||
*.RTF	 diff=astextplain
 | 
					 | 
				
			||||||
@@ -2,3 +2,6 @@
 | 
				
			|||||||
A library for interfacing with MAX7456 OSD chip originally created by people at http://theboredengineers.com/2012/12/a-max7456-library-for-arduino/.
 | 
					A library for interfacing with MAX7456 OSD chip originally created by people at http://theboredengineers.com/2012/12/a-max7456-library-for-arduino/.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
This library should be compatible with Arduino IDE 1.6.6.
 | 
					This library should be compatible with Arduino IDE 1.6.6.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Updated to make it a bit more modern added PlatformIO support and collected various fonts from around the web.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@@ -1,138 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
 | 
					 | 
				
			||||||
  <ItemGroup Label="ProjectConfigurations">
 | 
					 | 
				
			||||||
    <ProjectConfiguration Include="Debug|Win32">
 | 
					 | 
				
			||||||
      <Configuration>Debug</Configuration>
 | 
					 | 
				
			||||||
      <Platform>Win32</Platform>
 | 
					 | 
				
			||||||
    </ProjectConfiguration>
 | 
					 | 
				
			||||||
    <ProjectConfiguration Include="Release|Win32">
 | 
					 | 
				
			||||||
      <Configuration>Release</Configuration>
 | 
					 | 
				
			||||||
      <Platform>Win32</Platform>
 | 
					 | 
				
			||||||
    </ProjectConfiguration>
 | 
					 | 
				
			||||||
    <ProjectConfiguration Include="Debug|x64">
 | 
					 | 
				
			||||||
      <Configuration>Debug</Configuration>
 | 
					 | 
				
			||||||
      <Platform>x64</Platform>
 | 
					 | 
				
			||||||
    </ProjectConfiguration>
 | 
					 | 
				
			||||||
    <ProjectConfiguration Include="Release|x64">
 | 
					 | 
				
			||||||
      <Configuration>Release</Configuration>
 | 
					 | 
				
			||||||
      <Platform>x64</Platform>
 | 
					 | 
				
			||||||
    </ProjectConfiguration>
 | 
					 | 
				
			||||||
  </ItemGroup>
 | 
					 | 
				
			||||||
  <PropertyGroup Label="Globals">
 | 
					 | 
				
			||||||
    <ProjectGuid>{38DEA826-C00A-47F9-8BD2-474F3395C761}</ProjectGuid>
 | 
					 | 
				
			||||||
    <RootNamespace>Max7456Write</RootNamespace>
 | 
					 | 
				
			||||||
    <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
 | 
					 | 
				
			||||||
  </PropertyGroup>
 | 
					 | 
				
			||||||
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
 | 
					 | 
				
			||||||
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
 | 
					 | 
				
			||||||
    <ConfigurationType>Application</ConfigurationType>
 | 
					 | 
				
			||||||
    <UseDebugLibraries>true</UseDebugLibraries>
 | 
					 | 
				
			||||||
    <PlatformToolset>v140</PlatformToolset>
 | 
					 | 
				
			||||||
    <CharacterSet>MultiByte</CharacterSet>
 | 
					 | 
				
			||||||
  </PropertyGroup>
 | 
					 | 
				
			||||||
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
 | 
					 | 
				
			||||||
    <ConfigurationType>Application</ConfigurationType>
 | 
					 | 
				
			||||||
    <UseDebugLibraries>false</UseDebugLibraries>
 | 
					 | 
				
			||||||
    <PlatformToolset>v140</PlatformToolset>
 | 
					 | 
				
			||||||
    <WholeProgramOptimization>true</WholeProgramOptimization>
 | 
					 | 
				
			||||||
    <CharacterSet>MultiByte</CharacterSet>
 | 
					 | 
				
			||||||
  </PropertyGroup>
 | 
					 | 
				
			||||||
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
 | 
					 | 
				
			||||||
    <ConfigurationType>Application</ConfigurationType>
 | 
					 | 
				
			||||||
    <UseDebugLibraries>true</UseDebugLibraries>
 | 
					 | 
				
			||||||
    <PlatformToolset>v140</PlatformToolset>
 | 
					 | 
				
			||||||
    <CharacterSet>MultiByte</CharacterSet>
 | 
					 | 
				
			||||||
  </PropertyGroup>
 | 
					 | 
				
			||||||
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
 | 
					 | 
				
			||||||
    <ConfigurationType>Application</ConfigurationType>
 | 
					 | 
				
			||||||
    <UseDebugLibraries>false</UseDebugLibraries>
 | 
					 | 
				
			||||||
    <PlatformToolset>v140</PlatformToolset>
 | 
					 | 
				
			||||||
    <WholeProgramOptimization>true</WholeProgramOptimization>
 | 
					 | 
				
			||||||
    <CharacterSet>MultiByte</CharacterSet>
 | 
					 | 
				
			||||||
  </PropertyGroup>
 | 
					 | 
				
			||||||
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
 | 
					 | 
				
			||||||
  <ImportGroup Label="ExtensionSettings">
 | 
					 | 
				
			||||||
  </ImportGroup>
 | 
					 | 
				
			||||||
  <ImportGroup Label="Shared">
 | 
					 | 
				
			||||||
  </ImportGroup>
 | 
					 | 
				
			||||||
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
 | 
					 | 
				
			||||||
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
 | 
					 | 
				
			||||||
  </ImportGroup>
 | 
					 | 
				
			||||||
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
 | 
					 | 
				
			||||||
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
 | 
					 | 
				
			||||||
  </ImportGroup>
 | 
					 | 
				
			||||||
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
 | 
					 | 
				
			||||||
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
 | 
					 | 
				
			||||||
  </ImportGroup>
 | 
					 | 
				
			||||||
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
 | 
					 | 
				
			||||||
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
 | 
					 | 
				
			||||||
  </ImportGroup>
 | 
					 | 
				
			||||||
  <PropertyGroup Label="UserMacros" />
 | 
					 | 
				
			||||||
  <PropertyGroup />
 | 
					 | 
				
			||||||
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
 | 
					 | 
				
			||||||
    <ClCompile>
 | 
					 | 
				
			||||||
      <WarningLevel>Level3</WarningLevel>
 | 
					 | 
				
			||||||
      <Optimization>Disabled</Optimization>
 | 
					 | 
				
			||||||
      <SDLCheck>true</SDLCheck>
 | 
					 | 
				
			||||||
      <AdditionalIncludeDirectories>C:\Users\T\Arduino Nightly\hardware\arduino\avr\cores\arduino;C:\Users\T\Arduino Nightly\hardware\arduino\avr\variants\eightanaloginputs;C:\Users\T\Dropbox\sketchbook\libraries\max7456\examples\Max7456Write;C:\Users\T\Dropbox\sketchbook\libraries\max7456;C:\Users\T\Dropbox\sketchbook\libraries\max7456\utility;C:\Users\T\Arduino Nightly\hardware\arduino\avr\libraries\SPI;C:\Users\T\Arduino Nightly\hardware\arduino\avr\libraries\SPI\utility;C:\Users\T\Arduino Nightly\libraries;C:\Users\T\Arduino Nightly\hardware\arduino\avr\libraries;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\zq0s5neq.3r0\Micro Platforms\default\debuggers;C:\Users\T\Dropbox\sketchbook\libraries;C:\Users\T\Arduino Nightly\hardware\arduino\avr\cores\arduino;C:\Users\T\Arduino Nightly\hardware\arduino\avr\variants\eightanaloginputs;C:\Users\T\Dropbox\sketchbook\libraries\max7456;C:\Users\T\Arduino Nightly\hardware\arduino\avr\libraries\SPI;C:\Users\T\Arduino Nightly\libraries;C:\Users\T\Arduino Nightly\hardware\arduino\avr\libraries;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\zq0s5neq.3r0\Micro Platforms\default\debuggers;C:\Users\T\Dropbox\sketchbook\libraries;C:\Users\T\Arduino Nightly\hardware\tools\avr/avr/include/;C:\Users\T\Arduino Nightly\hardware\tools\avr//avr/include/avr/;C:\Users\T\Arduino Nightly\hardware\tools\avr/lib\gcc\avr\4.8.1\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
 | 
					 | 
				
			||||||
      <ForcedIncludeFiles>C:\Users\T\Dropbox\sketchbook\libraries\max7456\examples\Max7456Write\Visual Micro\.Max7456Write.vsarduino.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
 | 
					 | 
				
			||||||
      <IgnoreStandardIncludePath>true</IgnoreStandardIncludePath>
 | 
					 | 
				
			||||||
      <PreprocessorDefinitions>__AVR_ATmega328p__;__AVR_ATmega328P__;F_CPU=16000000L;ARDUINO=160;ARDUINO_AVR_NANO;ARDUINO_ARCH_AVR;__cplusplus;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 | 
					 | 
				
			||||||
    </ClCompile>
 | 
					 | 
				
			||||||
    <Link>
 | 
					 | 
				
			||||||
      <GenerateDebugInformation>true</GenerateDebugInformation>
 | 
					 | 
				
			||||||
    </Link>
 | 
					 | 
				
			||||||
  </ItemDefinitionGroup>
 | 
					 | 
				
			||||||
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
 | 
					 | 
				
			||||||
    <ClCompile>
 | 
					 | 
				
			||||||
      <WarningLevel>Level3</WarningLevel>
 | 
					 | 
				
			||||||
      <Optimization>Disabled</Optimization>
 | 
					 | 
				
			||||||
      <SDLCheck>true</SDLCheck>
 | 
					 | 
				
			||||||
    </ClCompile>
 | 
					 | 
				
			||||||
    <Link>
 | 
					 | 
				
			||||||
      <GenerateDebugInformation>true</GenerateDebugInformation>
 | 
					 | 
				
			||||||
    </Link>
 | 
					 | 
				
			||||||
  </ItemDefinitionGroup>
 | 
					 | 
				
			||||||
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
 | 
					 | 
				
			||||||
    <ClCompile>
 | 
					 | 
				
			||||||
      <WarningLevel>Level3</WarningLevel>
 | 
					 | 
				
			||||||
      <Optimization>MaxSpeed</Optimization>
 | 
					 | 
				
			||||||
      <FunctionLevelLinking>true</FunctionLevelLinking>
 | 
					 | 
				
			||||||
      <IntrinsicFunctions>true</IntrinsicFunctions>
 | 
					 | 
				
			||||||
      <SDLCheck>true</SDLCheck>
 | 
					 | 
				
			||||||
    </ClCompile>
 | 
					 | 
				
			||||||
    <Link>
 | 
					 | 
				
			||||||
      <GenerateDebugInformation>true</GenerateDebugInformation>
 | 
					 | 
				
			||||||
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
 | 
					 | 
				
			||||||
      <OptimizeReferences>true</OptimizeReferences>
 | 
					 | 
				
			||||||
    </Link>
 | 
					 | 
				
			||||||
  </ItemDefinitionGroup>
 | 
					 | 
				
			||||||
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
 | 
					 | 
				
			||||||
    <ClCompile>
 | 
					 | 
				
			||||||
      <WarningLevel>Level3</WarningLevel>
 | 
					 | 
				
			||||||
      <Optimization>MaxSpeed</Optimization>
 | 
					 | 
				
			||||||
      <FunctionLevelLinking>true</FunctionLevelLinking>
 | 
					 | 
				
			||||||
      <IntrinsicFunctions>true</IntrinsicFunctions>
 | 
					 | 
				
			||||||
      <SDLCheck>true</SDLCheck>
 | 
					 | 
				
			||||||
    </ClCompile>
 | 
					 | 
				
			||||||
    <Link>
 | 
					 | 
				
			||||||
      <GenerateDebugInformation>true</GenerateDebugInformation>
 | 
					 | 
				
			||||||
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
 | 
					 | 
				
			||||||
      <OptimizeReferences>true</OptimizeReferences>
 | 
					 | 
				
			||||||
    </Link>
 | 
					 | 
				
			||||||
  </ItemDefinitionGroup>
 | 
					 | 
				
			||||||
  <ItemGroup>
 | 
					 | 
				
			||||||
    <None Include="Max7456Write.ino">
 | 
					 | 
				
			||||||
      <FileType>CppCode</FileType>
 | 
					 | 
				
			||||||
    </None>
 | 
					 | 
				
			||||||
  </ItemGroup>
 | 
					 | 
				
			||||||
  <ItemGroup>
 | 
					 | 
				
			||||||
    <ClInclude Include="Max7456WriteTable.h">
 | 
					 | 
				
			||||||
      <FileType>CppCode</FileType>
 | 
					 | 
				
			||||||
    </ClInclude>
 | 
					 | 
				
			||||||
    <ClInclude Include="Visual Micro\.Max7456Write.vsarduino.h" />
 | 
					 | 
				
			||||||
  </ItemGroup>
 | 
					 | 
				
			||||||
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
 | 
					 | 
				
			||||||
  <ImportGroup Label="ExtensionTargets">
 | 
					 | 
				
			||||||
  </ImportGroup>
 | 
					 | 
				
			||||||
</Project>
 | 
					 | 
				
			||||||
@@ -1,28 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
 | 
					 | 
				
			||||||
  <ItemGroup>
 | 
					 | 
				
			||||||
    <Filter Include="Source Files">
 | 
					 | 
				
			||||||
      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
 | 
					 | 
				
			||||||
      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
 | 
					 | 
				
			||||||
    </Filter>
 | 
					 | 
				
			||||||
    <Filter Include="Header Files">
 | 
					 | 
				
			||||||
      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
 | 
					 | 
				
			||||||
      <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
 | 
					 | 
				
			||||||
    </Filter>
 | 
					 | 
				
			||||||
    <Filter Include="Resource Files">
 | 
					 | 
				
			||||||
      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
 | 
					 | 
				
			||||||
      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
 | 
					 | 
				
			||||||
    </Filter>
 | 
					 | 
				
			||||||
  </ItemGroup>
 | 
					 | 
				
			||||||
  <ItemGroup>
 | 
					 | 
				
			||||||
    <None Include="Max7456Write.ino" />
 | 
					 | 
				
			||||||
  </ItemGroup>
 | 
					 | 
				
			||||||
  <ItemGroup>
 | 
					 | 
				
			||||||
    <ClInclude Include="Visual Micro\.Max7456Write.vsarduino.h">
 | 
					 | 
				
			||||||
      <Filter>Header Files</Filter>
 | 
					 | 
				
			||||||
    </ClInclude>
 | 
					 | 
				
			||||||
    <ClInclude Include="Max7456WriteTable.h">
 | 
					 | 
				
			||||||
      <Filter>Header Files</Filter>
 | 
					 | 
				
			||||||
    </ClInclude>
 | 
					 | 
				
			||||||
  </ItemGroup>
 | 
					 | 
				
			||||||
</Project>
 | 
					 | 
				
			||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@@ -1,88 +0,0 @@
 | 
				
			|||||||
/* 
 | 
					 | 
				
			||||||
	Editor: http://www.visualmicro.com
 | 
					 | 
				
			||||||
	        visual micro and the arduino ide ignore this code during compilation. this code is automatically maintained by visualmicro, manual changes to this file will be overwritten
 | 
					 | 
				
			||||||
	        the contents of the Visual Micro sketch sub folder can be deleted prior to publishing a project
 | 
					 | 
				
			||||||
	        all non-arduino files created by visual micro and all visual studio project or solution files can be freely deleted and are not required to compile a sketch (do not delete your own code!).
 | 
					 | 
				
			||||||
	        note: debugger breakpoints are stored in '.sln' or '.asln' files, knowledge of last uploaded breakpoints is stored in the upload.vmps.xml file. Both files are required to continue a previous debug session without needing to compile and upload again
 | 
					 | 
				
			||||||
	
 | 
					 | 
				
			||||||
	Hardware: Arduino Nano w/ ATmega328, Platform=avr, Package=arduino
 | 
					 | 
				
			||||||
*/
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#ifndef _VSARDUINO_H_
 | 
					 | 
				
			||||||
#define _VSARDUINO_H_
 | 
					 | 
				
			||||||
#define __AVR_ATmega328p__
 | 
					 | 
				
			||||||
#define __AVR_ATmega328P__
 | 
					 | 
				
			||||||
#define F_CPU 16000000L
 | 
					 | 
				
			||||||
#define ARDUINO 160
 | 
					 | 
				
			||||||
#define ARDUINO_AVR_NANO
 | 
					 | 
				
			||||||
#define ARDUINO_ARCH_AVR
 | 
					 | 
				
			||||||
#define __cplusplus
 | 
					 | 
				
			||||||
#define __inline__
 | 
					 | 
				
			||||||
#define __asm__(x)
 | 
					 | 
				
			||||||
#define __extension__
 | 
					 | 
				
			||||||
//#define __ATTR_PURE__
 | 
					 | 
				
			||||||
//#define __ATTR_CONST__
 | 
					 | 
				
			||||||
#define __inline__
 | 
					 | 
				
			||||||
//#define __asm__ 
 | 
					 | 
				
			||||||
#define __volatile__
 | 
					 | 
				
			||||||
#define GCC_VERSION 40801
 | 
					 | 
				
			||||||
#define volatile(va_arg) 
 | 
					 | 
				
			||||||
#define _CONST
 | 
					 | 
				
			||||||
typedef void *__builtin_va_list;
 | 
					 | 
				
			||||||
#define __builtin_va_start
 | 
					 | 
				
			||||||
#define __builtin_va_end
 | 
					 | 
				
			||||||
//#define __DOXYGEN__
 | 
					 | 
				
			||||||
#define __attribute__(x)
 | 
					 | 
				
			||||||
#define NOINLINE __attribute__((noinline))
 | 
					 | 
				
			||||||
#define prog_void
 | 
					 | 
				
			||||||
#define PGM_VOID_P int
 | 
					 | 
				
			||||||
#ifndef __builtin_constant_p
 | 
					 | 
				
			||||||
#define __builtin_constant_p __attribute__((__const__))
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
#ifndef __builtin_strlen
 | 
					 | 
				
			||||||
#define __builtin_strlen  __attribute__((__const__))
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
#define NEW_H
 | 
					 | 
				
			||||||
/*
 | 
					 | 
				
			||||||
#ifndef __ATTR_CONST__
 | 
					 | 
				
			||||||
#define __ATTR_CONST__ __attribute__((__const__))
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#ifndef __ATTR_MALLOC__
 | 
					 | 
				
			||||||
#define __ATTR_MALLOC__ __attribute__((__malloc__))
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#ifndef __ATTR_NORETURN__
 | 
					 | 
				
			||||||
#define __ATTR_NORETURN__ __attribute__((__noreturn__))
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#ifndef __ATTR_PURE__
 | 
					 | 
				
			||||||
#define __ATTR_PURE__ __attribute__((__pure__))
 | 
					 | 
				
			||||||
#endif            
 | 
					 | 
				
			||||||
*/
 | 
					 | 
				
			||||||
typedef unsigned char byte;
 | 
					 | 
				
			||||||
extern "C" void __cxa_pure_virtual() {;}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#include <arduino.h>
 | 
					 | 
				
			||||||
#include <pins_arduino.h> 
 | 
					 | 
				
			||||||
#undef F
 | 
					 | 
				
			||||||
#define F(string_literal) ((const PROGMEM char *)(string_literal))
 | 
					 | 
				
			||||||
#undef PSTR
 | 
					 | 
				
			||||||
#define PSTR(string_literal) ((const PROGMEM char *)(string_literal))
 | 
					 | 
				
			||||||
#undef cli
 | 
					 | 
				
			||||||
#define cli()
 | 
					 | 
				
			||||||
#define pgm_read_byte(address_short)
 | 
					 | 
				
			||||||
#define pgm_read_word(address_short)
 | 
					 | 
				
			||||||
#define pgm_read_word2(address_short)
 | 
					 | 
				
			||||||
#define digitalPinToPort(P)
 | 
					 | 
				
			||||||
#define digitalPinToBitMask(P) 
 | 
					 | 
				
			||||||
#define digitalPinToTimer(P)
 | 
					 | 
				
			||||||
#define analogInPinToBit(P)
 | 
					 | 
				
			||||||
#define portOutputRegister(P)
 | 
					 | 
				
			||||||
#define portInputRegister(P)
 | 
					 | 
				
			||||||
#define portModeRegister(P)
 | 
					 | 
				
			||||||
#include <Max7456Write.ino>
 | 
					 | 
				
			||||||
#include <Max7456WriteTable.h>
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@@ -1,10 +0,0 @@
 | 
				
			|||||||
{
 | 
					 | 
				
			||||||
    "arduino_folder": "/Applications/Arduino.app", 
 | 
					 | 
				
			||||||
    "board": 0, 
 | 
					 | 
				
			||||||
    "full_compilation": false, 
 | 
					 | 
				
			||||||
    "platform": 3, 
 | 
					 | 
				
			||||||
    "platform_name": "Arduino AVR Boards", 
 | 
					 | 
				
			||||||
    "programmer": {
 | 
					 | 
				
			||||||
        "3": 0
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@@ -10,11 +10,11 @@
 | 
				
			|||||||
#define MAX7456_H
 | 
					#define MAX7456_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//def next only if you changed your table for an ascii one
 | 
					//def next only if you changed your table for a non ascii one
 | 
				
			||||||
//i.e address 0x00 -> ' '
 | 
					//i.e address 0x00 -> ' '
 | 
				
			||||||
//....
 | 
					//....
 | 
				
			||||||
//    address 0x5A -> 'z'
 | 
					//    address 0x5A -> 'z'
 | 
				
			||||||
#define MAX7456_TABLE_ASCII
 | 
					//#define MAX7456_TABLE_ASCII
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "max7456registers.h"
 | 
					#include "max7456registers.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								tableOSD.bmp
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								tableOSD.bmp
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 185 KiB  | 
		Reference in New Issue
	
	Block a user