mirror of
https://github.com/JasonYANG170/YANG-SSD.git
synced 2024-11-23 20:16:32 +00:00
37 lines
52 KiB
XML
37 lines
52 KiB
XML
|
<VisualMicro>
|
|||
|
<Program Name="Sketch1" Ext=".ino" Location="C:\Users\qw200\Documents\C or C++ for YANG\Sketch1\Sketch1">
|
|||
|
<Compile ReCompileIfSourceIsNewer="1" IsDebugStart="1" IsGdb="0" CompilerErrors="0" ConfigurationName="Debug" UseConfigurationNameInBuildFolder="True" StopOnError="False" OptimiseLibs="True" OptimiseCore="True" BuildPath="C:\Users\qw200\AppData\Local\Temp\VMBuilds\Sketch1\esp8266_nodemcuv2\Debug" ExportWebDebugger="0" SketchName="Sketch1" ReportDigitalPins="0" ReportAnalogPins="0" ReportI2C="0" ReportFreeMemory="0" IncludeDebug="1" LastDebugPreProcessorDefinitions="VM_DBT_HARDWARESERIAL 0;VM_DBT_SOFTWARESERIAL 1;VM_DBT_FASTSERIAL 2;VM_DBT_USB 3;VM_DBT_TEENSY 4;VM_DBT_UART 5;VM_DBT_USART 6;VM_DBT_USBSERIAL 7;VM_DBT_TTYUART 8;VM_DBT_NET_CONSOLE 9;VM_DBT_Uart 10;VM_DBT_COSA 11;VM_DBT_CDCSerialClass 12;VM_DBT_HARDWARESERIAL1 13;VM_DBT_HARDWARESERIAL2 14;VM_DBT_HARDWARESERIAL3 15;VM_DBT_NET_UDP 16;VM_DBT_USBAPI 17;VM_DBT_SERIALUSB 18;VM_DBT_MS430_SERIAL_ 19;VM_DBT_NO_SERIAL 20;VM_DBT_GENERIC_OBJECT 21;VM_DEBUG_ENABLE 1;VM_DEBUG;VM_DEBUG_BANDWIDTH_THROTTLE_MS 33;VM_DEBUGGER_SOFT_TRANSPORT Serial;VM_DEBUGGER_SOFT_TRANSPORT_WRITER Serial;VM_DBT VM_DBT_GENERIC_OBJECT;VM_DEBUG_BREAKPAUSE;" IncludesDebug="1" IsCompiled="1" />
|
|||
|
<Platform Name="arduino20x" Package="esp8266" Platform="esp8266" Architecture="2.5.0-4-b40a506">
|
|||
|
<Board Name="esp8266_nodemcuv2" Description="NodeMCU 1.0 (ESP-12E Module) (esp8266_nodemcuv2)" CoreFolder="c:\Users\qw200\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\cores\esp8266" VariantFullPath="c:\Users\qw200\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\variants\nodemcu" McuIdePath="c:\program files\microsoft visual studio\2022\community\common7\ide\extensions\0axxbbxm.vxj\Micro Platforms\visualmicro\ide" McuSketchBookPath="c:\Users\qw200\Documents\Arduino" name="NodeMCU 1.0 (ESP-12E Module)" build.board="ESP8266_NODEMCU" build.variant="nodemcu" upload.tool="esptool" upload.maximum_data_size="81920" upload.wait_for_upload_port="true" upload.erase_cmd="" serial.disableDTR="true" serial.disableRTS="true" build.mcu="esp8266" build.core="esp8266" build.spiffs_pagesize="256" build.debug_port="" build.debug_level="" menu.xtal.80="80 MHz" menu.xtal.80.build.f_cpu="80000000L" menu.xtal.160="160 MHz" menu.xtal.160.build.f_cpu="160000000L" menu.vt.flash="Flash" menu.vt.flash.build.vtable_flags="-DVTABLES_IN_FLASH" menu.vt.heap="Heap" menu.vt.heap.build.vtable_flags="-DVTABLES_IN_DRAM" menu.vt.iram="IRAM" menu.vt.iram.build.vtable_flags="-DVTABLES_IN_IRAM" menu.exception.legacy="Legacy (new can return nullptr)" menu.exception.legacy.build.exception_flags="-fno-exceptions" menu.exception.legacy.build.stdcpp_lib="-lstdc++" menu.exception.disabled="Disabled (new can abort)" menu.exception.disabled.build.exception_flags="-fno-exceptions -DNEW_OOM_ABORT" menu.exception.disabled.build.stdcpp_lib="-lstdc++" menu.exception.enabled="Enabled" menu.exception.enabled.build.exception_flags="-fexceptions" menu.exception.enabled.build.stdcpp_lib="-lstdc++-exc" menu.ssl.all="All SSL ciphers (most compatible)" menu.ssl.all.build.sslflags="" menu.ssl.basic="Basic SSL ciphers (lower ROM use)" menu.ssl.basic.build.sslflags="-DBEARSSL_SSL_BASIC" upload.resetmethod="--before default_reset --after hard_reset" build.flash_mode="dio" build.flash_flags="-DFLASHMODE_DIO" build.flash_freq="40" menu.eesz.4M2M="4MB (FS:2MB OTA:~1019KB)" menu.eesz.4M2M.build.flash_size="4M" menu.eesz.4M2M.build.flash_size_bytes="0x400000" menu.eesz.4M2M.build.flash_ld="eagle.flash.4m2m.ld" menu.eesz.4M2M.build.spiffs_pagesize="256" menu.eesz.4M2M.upload.maximum_size="1044464" menu.eesz.4M2M.build.rfcal_addr="0x3FC000" menu.eesz.4M2M.build.spiffs_start="0x200000" menu.eesz.4M2M.build.spiffs_end="0x3FA000" menu.eesz.4M2M.build.spiffs_blocksize="8192" menu.eesz.4M3M="4MB (FS:3MB OTA:~512KB)" menu.eesz.4M3M.build.flash_size="4M" menu.eesz.4M3M.build.flash_size_bytes="0x400000" menu.eesz.4M3M.build.flash_ld="eagle.flash.4m3m.ld" menu.eesz.4M3M.build.spiffs_pagesize="256" menu.eesz.4M3M.upload.maximum_size="1044464" menu.eesz.4M3M.build.rfcal_addr="0x3FC000" menu.eesz.4M3M.build.spiffs_start="0x100000" menu.eesz.4M3M.build.spiffs_end="0x3FA000" menu.eesz.4M3M.build.spiffs_blocksize="8192" menu.eesz.4M1M="4MB (FS:1MB OTA:~1019KB)" menu.eesz.4M1M.build.flash_size="4M" menu.eesz.4M1M.build.flash_size_bytes="0x400000" menu.eesz.4M1M.build.flash_ld="eagle.flash.4m1m.ld" menu.eesz.4M1M.build.spiffs_pagesize="256" menu.eesz.4M1M.upload.maximum_size="1044464" menu.eesz.4M1M.build.rfcal_addr="0x3FC000" menu.eesz.4M1M.build.spiffs_start="0x300000" menu.eesz.4M1M.build.spiffs_end="0x3FA000" menu.eesz.4M1M.build.spiffs_blocksize="8192" menu.eesz.4M="4MB (FS:none OTA:~1019KB)" menu.eesz.4M.build.flash_size="4M" menu.eesz.4M.build.flash_size_bytes="0x400000" menu.eesz.4M.build.flash_ld="eagle.flash.4m.ld" menu.eesz.4M.build.spiffs_pagesize="256" menu.eesz.4M.upload.maximum_size="1044464" menu.eesz.4M.build.rfcal_addr="0x3FC000" menu.led.2="2" menu.led.2.build.led="-DLED_BUILTIN=2" menu.led.16="16" menu.led.16.build.led="-DLED_BUILTIN=16" menu.ip.lm2f="v2 Lower Memory" menu.ip.lm2f.build.lwip_include="lwip2/include" menu.ip.lm2f.build.lwip_lib="-llwip2-536-feat" menu.ip.lm2f.build.lwip_flags="-DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0" menu.ip.hb2f="v2 High
|
|||
|
</Platform>
|
|||
|
<Debug DebugEnabled="1" EnableBreak="1" InBreakLiveView="1" PerfStats="1" IsGdb="0" RuntimeWriterMissingSetup="0" RuntimeWriterMissingLoop="0" RemotePortSpeedWrittenToDebugSource="115200" RuntimeWriterFoundSetupStart="1" RuntimeWriterFoundLoopStart="1" />
|
|||
|
<VCCodeModel>
|
|||
|
<VCCodeMacros />
|
|||
|
</VCCodeModel>
|
|||
|
<BreakPoints>
|
|||
|
<BreakPoint Index="1" Name="Sketch1.ino,行 52" Id="3f4e0eb0-2b5f-4ae5-b356-a3957dae4b22" Enabled="1" Message=" Millis is currently {millis()}.
 This tutorial debug trace point prints a message every 250ms
 The break point property called 'Continue Execution' controls if code should pause here and wait for you to click 'Continue'.
 To stop debug, click stop debugging or close/stop the serial monitor.
 When debug ends, serial debug will continue to break/pause the mcu or transmit trace message, wifi debug will not.
 This breakpoint exists at the start of the loop() function, where you see a red dot.
 The red dot is a ‘breakpoint’. Edit the properties of a breakpoint by right clicking it or open the 'Debug>Other Windows>Breakpoint List'
 This breakpoint is automatically set by Visual Micro to demonstrate the Arduino debugger.
 Add your own breakpoints by placing the cursor on any code line and pressing F9. Press F9 again to delete the breakpoint.
 Read more about the Visual Micro debugger at https://www.visualmicro.com/page/Debugging-for-Arduino.aspx
 Take some time to learn about debugging, it’s worth it!
 To switch the demo breakpoint and other tips off, deselect Visual Micro>General>Tutorial Mode.
 Switch debugging off by changing from tool bar (Configuratin) from 'Debug' to 'Release'" MessageTextType="0" PreProcessedMessage=" Millis is currently {0}.
 This tutorial debug trace point prints a message every 250ms
 The break point property called 'Continue Execution' controls if code should pause here and wait for you to click 'Continue'.
 To stop debug, click stop debugging or close/stop the serial monitor.
 When debug ends, serial debug will continue to break/pause the mcu or transmit trace message, wifi debug will not.
 This breakpoint exists at the start of the loop() function, where you see a red dot.
 The red dot is a ‘breakpoint’. Edit the properties of a breakpoint by right clicking it or open the 'Debug>Other Windows>Breakpoint List'
 This breakpoint is automatically set by Visual Micro to demonstrate the Arduino debugger.
 Add your own breakpoints by placing the cursor on any code line and pressing F9. Press F9 again to delete the breakpoint.
 Read more about the Visual Micro debugger at https://www.visualmicro.com/page/Debugging-for-Arduino.aspx
 Take some time to learn about debugging, it’s worth it!
 To switch the demo breakpoint and other tips off, deselect Visual Micro>General>Tutorial Mode.
 Switch debugging off by changing from tool bar (Configuratin) from 'Debug' to 'Release'" Condition="millis()>0 || millis()>1" ConditionType="1" CurrentHits="0" File="c:\users\qw200\documents\c or c++ for yang\sketch1\sketch1\sketch1.ino" FileLine="52" FileColumn="1" FunctionName="" FunctionLineOffset="1" FunctionColumnOffset="1" HitCountTarget="250" HitCountType="4" Language="C++" LocationType="3" Tag="<vmbp Id='5b6c6650-9a16-436b-9fb1-ab9edb5c1660'/>" Type="1" ToString="System.__ComObject" BreakWhenHit="0">
|
|||
|
<Source>45 Serial.println("Didn't find AHT20");
|
|||
|
46 }
|
|||
|
47
|
|||
|
48 display.setTextSize(1);
|
|||
|
49 display.setTextColor(SH110X_WHITE);
|
|||
|
50 }
|
|||
|
51
|
|||
|
-->52 void loop() {
|
|||
|
53 display.clearDisplay();
|
|||
|
54 sensors_event_t humidity, temp;
|
|||
|
55
|
|||
|
56 aht.getEvent(&humidity, &temp);// populate temp and humidity objects with fresh data
|
|||
|
57 display.setCursor(0, 20);
|
|||
|
58 display.print("AHT20 Demo");
|
|||
|
59 display.setCursor(0, 40);
|
|||
|
60 display.print("Temp: "); display.print(temp.temperature); display.println(" C");
|
|||
|
61 display.setCursor(0, 60);
|
|||
|
</Source>
|
|||
|
<MessageVariables>
|
|||
|
<MessageVariable Name="millis()" Index="1" />
|
|||
|
</MessageVariables>
|
|||
|
</BreakPoint>
|
|||
|
</BreakPoints>
|
|||
|
</Program>
|
|||
|
</VisualMicro>
|