Add files via upload

This commit is contained in:
JasonYANG17 2023-05-03 22:50:48 +08:00 committed by GitHub
parent c536ab051e
commit e2ee349fd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
20 changed files with 735 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

51
SSD OS V1.0/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

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);
}

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>

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 @@
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Application Type\Linux\1.0\Linux.targets(160,5): error : 没有远程计算机被配置用于远程生成。请使用“工具”|“选项”|“跨平台”|“连接管理器”配置计算机。

View File

@ -0,0 +1,2 @@
PlatformToolSet=Remote_GCC_1_0:VCToolArchitecture=:TargetPlatformVersion=7.0:
Debug|x64|C:\Users\qw200\Documents\C or C++ for YANG\YANG-SSD\|

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.

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", "{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}"
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
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Debug|ARM.ActiveCfg = Debug|ARM
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Debug|ARM.Build.0 = Debug|ARM
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Debug|ARM.Deploy.0 = Debug|ARM
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Debug|ARM64.ActiveCfg = Debug|ARM64
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Debug|ARM64.Build.0 = Debug|ARM64
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Debug|ARM64.Deploy.0 = Debug|ARM64
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Debug|x64.ActiveCfg = Debug|x64
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Debug|x64.Build.0 = Debug|x64
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Debug|x64.Deploy.0 = Debug|x64
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Debug|x86.ActiveCfg = Debug|x86
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Debug|x86.Build.0 = Debug|x86
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Debug|x86.Deploy.0 = Debug|x86
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Release|ARM.ActiveCfg = Release|ARM
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Release|ARM.Build.0 = Release|ARM
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Release|ARM.Deploy.0 = Release|ARM
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Release|ARM64.ActiveCfg = Release|ARM64
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Release|ARM64.Build.0 = Release|ARM64
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Release|ARM64.Deploy.0 = Release|ARM64
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Release|x64.ActiveCfg = Release|x64
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Release|x64.Build.0 = Release|x64
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Release|x64.Deploy.0 = Release|x64
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Release|x86.ActiveCfg = Release|x86
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Release|x86.Build.0 = Release|x86
{7E24BC30-AC06-48FF-A50C-71CB5ECF4023}.Release|x86.Deploy.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {5E3876B2-4857-4F1C-AB37-885371E33B2C}
EndGlobalSection
EndGlobal

View File

@ -0,0 +1,125 @@
/*
Name: YANG SSD OS.ino
Created: 2023/5/3 19:24:00
Author: qw200
*/
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SH110X.h>
#include <Adafruit_AHTX0.h>
#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
#include <WiFiClientSecure.h>
#include <ArduinoJson.h>
#include <WiFiManager.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.
// Clear the buffer.
display.clearDisplay();
display.setRotation(0);
if (aht.begin()) {
Serial.println("Found AHT20");
} else {
Serial.println("Didn't find AHT20");
}
display.setTextSize(5);
display.setTextColor(SH110X_WHITE);
display.print("YANG ");
display.display();
display.setTextSize(2);
delay(5000);
display.clearDisplay();
display.setRotation(0);
display.setTextColor(SH110X_WHITE);
display.setCursor(0,0);
display.println(" YANG SSD");
display.println("");
display.print("Connecting to WiFi...");
display.display();
WiFi.mode(WIFI_STA); // 设置模式esp默认为STA+AP
WiFiManager wm; //定义manager对象
bool res;
res = wm.autoConnect("Flowerpot","12345678"); //定义ap名称和密码
display.setTextSize(1);
}
String asdsd;
void loop() {
net("https://api.vvhan.com/api/en?type=sj");
delay(5000);
display.clearDisplay();
display.setRotation(0);
display.setTextSize(1);
display.setTextColor(SH110X_WHITE);
display.setCursor(0,0);
sensors_event_t humidity, temp;
aht.getEvent(&humidity, &temp);// populate temp and humidity objects with fresh data
display.println(" YANG SSD");
display.println("");
display.print("Temp: "); display.print(temp.temperature); display.println(" C");
display.print("Hum: "); display.print(humidity.relative_humidity); display.println(" %");
display.println("");
display.println(asdsd);
display.display();
}
void net(String url) {
if (WiFi.status() == WL_CONNECTED) {
WiFiClientSecure client;
client.setInsecure(); // Do not verify certificate
HTTPClient https;
https.begin(client, url);
int httpCode = https.GET();
if (httpCode > 0) {
String payload = https.getString();
Serial.println(payload);
Serial.println("");
// 重点1即将解析的json文件
String json = payload;
Serial.println(String("") + "JSON大小" + json.length());
// 重点2解析的JSON数据大小
DynamicJsonDocument doc(json.length() * 2); //解析的JSON数据大小
// 重点3反序列化数据
deserializeJson(doc, json);
// 重点4获取解析后的数据信息
String nameStr = doc["data"]["en"].as<String>();
// int numberInt = doc["time"].as<int>();
asdsd = nameStr;
// 通过串口监视器输出解析后的数据信息
Serial.print("errorStr = "); Serial.println(nameStr);
//Serial.print("errnoInt = ");Serial.println(numberInt);
}
https.end();
}
}

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>{7e24bc30-ac06-48ff-a50c-71cb5ecf4023}</ProjectGuid>
<Keyword>Linux</Keyword>
<RootNamespace>Sketch1</RootNamespace>
<ProjectName>Sketch1</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)..\Sketch1;$(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)..\..\..\..\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\ESP8266WiFi\src;$(ProjectDir)..\..\..\..\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\ESP8266HTTPClient\src;$(ProjectDir)..\..\..\Arduino\libraries\ArduinoJson\src;$(ProjectDir)..\..\..\Arduino\libraries\WiFiManager;$(ProjectDir)..\..\..\..\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\ESP8266WebServer\src;$(ProjectDir)..\..\..\..\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\DNSServer\src;$(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;$(ProjectDir)..\..\..\..\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\ESP8266WiFi\src;$(ProjectDir)..\..\..\..\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\ESP8266HTTPClient\src;$(ProjectDir)..\..\..\Arduino\libraries\ArduinoJson\src;$(ProjectDir)..\..\..\Arduino\libraries\WiFiManager</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)..\Sketch1;$(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)..\..\..\..\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\ESP8266WiFi\src;$(ProjectDir)..\..\..\..\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\ESP8266HTTPClient\src;$(ProjectDir)..\..\..\Arduino\libraries\ArduinoJson\src;$(ProjectDir)..\..\..\Arduino\libraries\WiFiManager;$(ProjectDir)..\..\..\..\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\ESP8266WebServer\src;$(ProjectDir)..\..\..\..\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\DNSServer\src;$(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;$(ProjectDir)..\..\..\..\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\ESP8266WiFi\src;$(ProjectDir)..\..\..\..\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\ESP8266HTTPClient\src;$(ProjectDir)..\..\..\Arduino\libraries\ArduinoJson\src;$(ProjectDir)..\..\..\Arduino\libraries\WiFiManager;%(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>

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.