添加项目文件。

This commit is contained in:
JasonYANG17 2023-04-24 23:31:22 +08:00
parent 178a126ab2
commit 3c9366dcf8
8 changed files with 358 additions and 0 deletions

51
Sketch1.sln Normal file
View File

@ -0,0 +1,51 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.4.33403.182
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Sketch1", "Sketch1\Sketch1.vcxproj", "{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|ARM = Debug|ARM
Debug|ARM64 = Debug|ARM64
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|ARM = Release|ARM
Release|ARM64 = Release|ARM64
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Debug|ARM.ActiveCfg = Debug|ARM
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Debug|ARM.Build.0 = Debug|ARM
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Debug|ARM.Deploy.0 = Debug|ARM
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Debug|ARM64.ActiveCfg = Debug|ARM64
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Debug|ARM64.Build.0 = Debug|ARM64
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Debug|ARM64.Deploy.0 = Debug|ARM64
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Debug|x64.ActiveCfg = Debug|x64
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Debug|x64.Build.0 = Debug|x64
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Debug|x64.Deploy.0 = Debug|x64
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Debug|x86.ActiveCfg = Debug|x86
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Debug|x86.Build.0 = Debug|x86
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Debug|x86.Deploy.0 = Debug|x86
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Release|ARM.ActiveCfg = Release|ARM
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Release|ARM.Build.0 = Release|ARM
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Release|ARM.Deploy.0 = Release|ARM
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Release|ARM64.ActiveCfg = Release|ARM64
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Release|ARM64.Build.0 = Release|ARM64
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Release|ARM64.Deploy.0 = Release|ARM64
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Release|x64.ActiveCfg = Release|x64
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Release|x64.Build.0 = Release|x64
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Release|x64.Deploy.0 = Release|x64
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Release|x86.ActiveCfg = Release|x86
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Release|x86.Build.0 = Release|x86
{0F671470-CEDB-40C1-B964-A0B3FFEEDADB}.Release|x86.Deploy.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {CB5D74CF-5CF6-4388-B197-0876E3D10979}
EndGlobalSection
EndGlobal

69
Sketch1/Sketch1.ino Normal file
View File

@ -0,0 +1,69 @@
/*
Name: Sketch1.ino
Created: 2023/4/24 23:27:55
Author: qw200
*/
// the setup function runs once when you press reset or power the board
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SH110X.h>
#include <Adafruit_AHTX0.h>
#include <Fonts/FreeSans9pt7b.h>
Adafruit_SH1106G display = Adafruit_SH1106G(128, 64, &Wire);
Adafruit_AHTX0 aht;
void setup() {
Serial.begin(115200);
//while (!Serial);
Serial.println("128x64 OLED FeatherWing test");
display.begin(0x3C, true); // Address 0x3C default
Serial.println("OLED begun");
// Show image buffer on the display hardware.
// Since the buffer is intialized with an Adafruit splashscreen
// internally, this will display the splashscreen.
display.display();
delay(3000);
// Clear the buffer.
display.clearDisplay();
display.display();
display.setRotation(0);
display.setFont(&FreeSans9pt7b);
if (aht.begin()) {
Serial.println("Found AHT20");
}
else {
Serial.println("Didn't find AHT20");
}
display.setTextSize(1);
display.setTextColor(SH110X_WHITE);
}
void loop() {
display.clearDisplay();
sensors_event_t humidity, temp;
aht.getEvent(&humidity, &temp);// populate temp and humidity objects with fresh data
display.setCursor(0, 20);
display.print("AHT20 Demo");
display.setCursor(0, 40);
display.print("Temp: "); display.print(temp.temperature); display.println(" C");
display.setCursor(0, 60);
display.print("Hum: "); display.print(humidity.relative_humidity); display.println(" %");
Serial.print("Temperature: "); Serial.print(temp.temperature); Serial.println(" degrees C");
Serial.print("Pressure: "); Serial.print(humidity.relative_humidity); Serial.println(" RH %");
yield();
display.display();
delay(100);
}

128
Sketch1/Sketch1.vcxproj Normal file
View File

@ -0,0 +1,128 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|ARM">
<Configuration>Debug</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|ARM">
<Configuration>Release</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|ARM64">
<Configuration>Debug</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|ARM64">
<Configuration>Release</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x86">
<Configuration>Debug</Configuration>
<Platform>x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x86">
<Configuration>Release</Configuration>
<Platform>x86</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>{0f671470-cedb-40c1-b964-a0b3ffeedadb}</ProjectGuid>
<Keyword>Linux</Keyword>
<RootNamespace>Sketch1</RootNamespace>
<ProjectName>YANG-SSD</ProjectName>
<MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion>
<ApplicationType>Linux</ApplicationType>
<ApplicationTypeRevision>1.0</ApplicationTypeRevision>
<TargetLinuxPlatform>Generic</TargetLinuxPlatform>
<LinuxProjectType>{D51BCBC9-82E9-4017-911E-C93873C4EA2B}</LinuxProjectType>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
</PropertyGroup>
<ImportGroup Label="ExtensionSettings" />
<ImportGroup Label="Shared" />
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros">
<LinuxIncludePath>c:\visualmicro\ignore</LinuxIncludePath>
<wiringPiIncludePath>c:\visualmicro\pi-ignore</wiringPiIncludePath>
<TargetOSAndVersion>Arduino</TargetOSAndVersion>
</PropertyGroup>
<ItemGroup>
<ClCompile Include="Sketch1.ino">
<FileType>CppCode</FileType>
<DeploymentContent>true</DeploymentContent>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="src\arduino folders read me.txt">
</None>
</ItemGroup>
<ItemGroup>
<ProjectCapability Include="VisualMicro" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="__vm\.Sketch1.vsarduino.h" />
</ItemGroup>
<PropertyGroup>
<DebuggerFlavor>VisualMicroDebugger</DebuggerFlavor>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<IncludePath>$(ProjectDir)..\..\..\..\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\SPI;$(ProjectDir)..\..\..\..\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\Wire;$(ProjectDir)..\..\..\Arduino\libraries\Adafruit_GFX_Library;$(ProjectDir)..\..\..\Arduino\libraries\Adafruit_BusIO;$(ProjectDir)..\..\..\Arduino\libraries\Adafruit_SH110X;$(ProjectDir)..\..\..\Arduino\libraries\Adafruit_AHTX0;$(ProjectDir)..\..\..\Arduino\libraries\Adafruit_Unified_Sensor;$(ProjectDir)..\..\..\..\..\..\\Users\\qw200\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.6.3\tools\sdk\include;$(ProjectDir)..\..\..\..\..\..\\Users\\qw200\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.6.3\tools\sdk\lwip2\include;$(ProjectDir)..\..\..\..\..\..\\Users\\qw200\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.6.3\tools\sdk\libc\xtensa-lx106-elf\include;$(ProjectDir)..\..\..\..\..\..\\Users\\qw200\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.6.3\\cores\\esp8266;$(ProjectDir)..\..\..\..\..\..\\Users\\qw200\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.6.3\\variants\\nodemcu;$(ProjectDir)..\..\..\..\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\xtensa-lx106-elf\include\c++\4.8.2;$(ProjectDir)..\..\..\..\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\xtensa-lx106-elf\include\c++\4.8.2\xtensa-lx106-elf;$(ProjectDir)..\..\..\..\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\xtensa-lx106-elf\include\c++\4.8.2\backward;$(ProjectDir)..\..\..\..\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\lib\gcc\xtensa-lx106-elf\4.8.2\include;$(ProjectDir)..\..\..\..\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\lib\gcc\xtensa-lx106-elf\4.8.2\include-fixed;$(ProjectDir)..\..\..\..\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\xtensa-lx106-elf\include;$(ProjectDir)..\..\..\..\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\SPI;$(ProjectDir)..\..\..\..\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\Wire;$(ProjectDir)..\..\..\Arduino\libraries\Adafruit_GFX_Library;$(ProjectDir)..\..\..\Arduino\libraries\Adafruit_SH110X;$(ProjectDir)..\..\..\Arduino\libraries\Adafruit_AHTX0</IncludePath>
<RemoteCCompileToolExe>$(ProjectDir)..\..\..\..\..\..\\Users\\qw200\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506\bin\xtensa-lx106-elf-g++</RemoteCCompileToolExe>
<RemoteCppCompileToolExe>$(ProjectDir)..\..\..\..\..\..\\Users\\qw200\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506\bin\xtensa-lx106-elf-g++</RemoteCppCompileToolExe>
<ValidateArchitecture>false</ValidateArchitecture>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\..\..\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\SPI;$(ProjectDir)..\..\..\..\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\Wire;$(ProjectDir)..\..\..\Arduino\libraries\Adafruit_GFX_Library;$(ProjectDir)..\..\..\Arduino\libraries\Adafruit_BusIO;$(ProjectDir)..\..\..\Arduino\libraries\Adafruit_SH110X;$(ProjectDir)..\..\..\Arduino\libraries\Adafruit_AHTX0;$(ProjectDir)..\..\..\Arduino\libraries\Adafruit_Unified_Sensor;$(ProjectDir)..\..\..\..\..\..\\Users\\qw200\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.6.3\tools\sdk\include;$(ProjectDir)..\..\..\..\..\..\\Users\\qw200\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.6.3\tools\sdk\lwip2\include;$(ProjectDir)..\..\..\..\..\..\\Users\\qw200\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.6.3\tools\sdk\libc\xtensa-lx106-elf\include;$(ProjectDir)..\..\..\..\..\..\\Users\\qw200\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.6.3\\cores\\esp8266;$(ProjectDir)..\..\..\..\..\..\\Users\\qw200\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.6.3\\variants\\nodemcu;$(ProjectDir)..\..\..\..\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\xtensa-lx106-elf\include\c++\4.8.2;$(ProjectDir)..\..\..\..\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\xtensa-lx106-elf\include\c++\4.8.2\xtensa-lx106-elf;$(ProjectDir)..\..\..\..\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\xtensa-lx106-elf\include\c++\4.8.2\backward;$(ProjectDir)..\..\..\..\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\lib\gcc\xtensa-lx106-elf\4.8.2\include;$(ProjectDir)..\..\..\..\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\lib\gcc\xtensa-lx106-elf\4.8.2\include-fixed;$(ProjectDir)..\..\..\..\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\xtensa-lx106-elf\include;$(ProjectDir)..\..\..\..\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\SPI;$(ProjectDir)..\..\..\..\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\Wire;$(ProjectDir)..\..\..\Arduino\libraries\Adafruit_GFX_Library;$(ProjectDir)..\..\..\Arduino\libraries\Adafruit_SH110X;$(ProjectDir)..\..\..\Arduino\libraries\Adafruit_AHTX0;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<GccToolChain>$(ProjectDir)..\..\..\..\..\..\\Users\\qw200\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506\bin\xtensa-lx106-elf-g++</GccToolChain>
<CppLanguageStandard>gnu++11</CppLanguageStandard>
<CLanguageStandard>gnu99</CLanguageStandard>
<CAdditionalWarning />
<CppAdditionalWarning />
<ForcedIncludeFiles>$(ProjectDir)..\..\..\..\..\..\program files\microsoft visual studio\2022\community\common7\ide\extensions\0axxbbxm.vxj\Micro Platforms\default\vm-intelli-pre.h;$(ProjectDir)..\..\..\..\AppData\Local\Temp\VMBuilds\Sketch1\esp8266_nodemcuv2\Debug\.vmintelli\b91c0b48da4ef9e80fe045021dc04f36\vm-intelli-gcc-defines.h;$(ProjectDir)..\..\..\..\..\..\program files\microsoft visual studio\2022\community\common7\ide\extensions\0axxbbxm.vxj\Micro Platforms\default\vm-intelli-post.h;$(ProjectDir)__vm\.Sketch1.vsarduino.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
<UndefineAllPreprocessorDefinitions>true</UndefineAllPreprocessorDefinitions>
<IgnoreStandardIncludePath>true</IgnoreStandardIncludePath>
<PreprocessorDefinitions>_VMICRO_INTELLISENSE;__ESP8266_esp8266__;__ESP8266_ESP8266__;_VMDEBUG=1;__ets__;ICACHE_FLASH;NONOSDK22x_190703=1;F_CPU=80000000L;LWIP_OPEN_SRC;TCP_MSS=536;LWIP_FEATURES=1;LWIP_IPV6=0;ARDUINO=108010;ARDUINO_ESP8266_NODEMCU;ARDUINO_ARCH_ESP8266;ARDUINO_BOARD=ESP8266_NODEMCU;LED_BUILTIN=2;FLASHMODE_DIO;ESP8266;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets" />
<ProjectExtensions>
<VisualStudio>
<UserProperties config.Debug.customdebug_esp8266_nodemcuv2_debugger_type="universal" />
</VisualStudio>
</ProjectExtensions>
</Project>

View File

@ -0,0 +1,30 @@
<?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="Misc Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>xml;json;txt;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="src\arduino folders read me.txt">
<Filter>Misc Files</Filter>
</None>
</ItemGroup>
<ItemGroup>
<ClCompile Include="Sketch1.ino" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="__vm\.Sketch1.vsarduino.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>

View File

@ -0,0 +1,20 @@
/*
Editor: https://www.visualmicro.com/
This file is for intellisense purpose only.
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 _vm 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: NodeMCU 1.0 (ESP-12E Module) (esp8266_nodemcuv2), Platform=esp8266, Package=esp8266
*/
#if defined(_VMICRO_INTELLISENSE)
#ifndef _VSARDUINO_H_
#define _VSARDUINO_H_
#include <arduino.h>
#include <pins_arduino.h>
#include "..\Sketch1.ino"
#endif
#endif

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,14 @@
#####################################################
Arduino How To: Use sub folders for source code
http://www.visualmicro.com/
#####################################################
* .INO code can exist in the project folder and '\src' folder.
* .Cpp/.c/.S/.h etc. can exist in the project folder, the '\src' folder and in any folder(s) below the '\src' folder.
* .Cpp/.c/.S/.h sources in shared code projects should follow the same folder rules (because they are merged with the project sources into a temporary build folder prior to compile).
* Use the 'Show All Files' icon above the 'Solution Explorer' to switch between 'included project files' and 'physical files/folders'.
* Source code in the project folder will always be compiled regardless of inclusion in the project. This functionality can be disabled in Global Options.