├── 3D打印文件 ├── backcover.stl ├── frame.stl └── grid.stl ├── Image ├── back.jpg └── front.jpg └── 程序 └── ESP32C3-WS2812 ├── .pio ├── build │ ├── esp32-c3-laut │ │ ├── .sconsign39.dblite │ │ ├── FrameworkArduino │ │ │ ├── Esp.cpp.d │ │ │ ├── Esp.cpp.o │ │ │ ├── FirmwareMSC.cpp.d │ │ │ ├── FirmwareMSC.cpp.o │ │ │ ├── FunctionalInterrupt.cpp.d │ │ │ ├── FunctionalInterrupt.cpp.o │ │ │ ├── HWCDC.cpp.d │ │ │ ├── HWCDC.cpp.o │ │ │ ├── HardwareSerial.cpp.d │ │ │ ├── HardwareSerial.cpp.o │ │ │ ├── IPAddress.cpp.d │ │ │ ├── IPAddress.cpp.o │ │ │ ├── IPv6Address.cpp.d │ │ │ ├── IPv6Address.cpp.o │ │ │ ├── MD5Builder.cpp.d │ │ │ ├── MD5Builder.cpp.o │ │ │ ├── Print.cpp.d │ │ │ ├── Print.cpp.o │ │ │ ├── Stream.cpp.d │ │ │ ├── Stream.cpp.o │ │ │ ├── StreamString.cpp.d │ │ │ ├── StreamString.cpp.o │ │ │ ├── Tone.cpp.d │ │ │ ├── Tone.cpp.o │ │ │ ├── USB.cpp.d │ │ │ ├── USB.cpp.o │ │ │ ├── USBCDC.cpp.d │ │ │ ├── USBCDC.cpp.o │ │ │ ├── USBMSC.cpp.d │ │ │ ├── USBMSC.cpp.o │ │ │ ├── WMath.cpp.d │ │ │ ├── WMath.cpp.o │ │ │ ├── WString.cpp.d │ │ │ ├── WString.cpp.o │ │ │ ├── base64.cpp.d │ │ │ ├── base64.cpp.o │ │ │ ├── cbuf.cpp.d │ │ │ ├── cbuf.cpp.o │ │ │ ├── esp32-hal-adc.c.d │ │ │ ├── esp32-hal-adc.c.o │ │ │ ├── esp32-hal-bt.c.d │ │ │ ├── esp32-hal-bt.c.o │ │ │ ├── esp32-hal-cpu.c.d │ │ │ ├── esp32-hal-cpu.c.o │ │ │ ├── esp32-hal-dac.c.d │ │ │ ├── esp32-hal-dac.c.o │ │ │ ├── esp32-hal-gpio.c.d │ │ │ ├── esp32-hal-gpio.c.o │ │ │ ├── esp32-hal-i2c-slave.c.d │ │ │ ├── esp32-hal-i2c-slave.c.o │ │ │ ├── esp32-hal-i2c.c.d │ │ │ ├── esp32-hal-i2c.c.o │ │ │ ├── esp32-hal-ledc.c.d │ │ │ ├── esp32-hal-ledc.c.o │ │ │ ├── esp32-hal-matrix.c.d │ │ │ ├── esp32-hal-matrix.c.o │ │ │ ├── esp32-hal-misc.c.d │ │ │ ├── esp32-hal-misc.c.o │ │ │ ├── esp32-hal-psram.c.d │ │ │ ├── esp32-hal-psram.c.o │ │ │ ├── esp32-hal-rgb-led.c.d │ │ │ ├── esp32-hal-rgb-led.c.o │ │ │ ├── esp32-hal-rmt.c.d │ │ │ ├── esp32-hal-rmt.c.o │ │ │ ├── esp32-hal-sigmadelta.c.d │ │ │ ├── esp32-hal-sigmadelta.c.o │ │ │ ├── esp32-hal-spi.c.d │ │ │ ├── esp32-hal-spi.c.o │ │ │ ├── esp32-hal-time.c.d │ │ │ ├── esp32-hal-time.c.o │ │ │ ├── esp32-hal-timer.c.d │ │ │ ├── esp32-hal-timer.c.o │ │ │ ├── esp32-hal-tinyusb.c.d │ │ │ ├── esp32-hal-tinyusb.c.o │ │ │ ├── esp32-hal-touch.c.d │ │ │ ├── esp32-hal-touch.c.o │ │ │ ├── esp32-hal-uart.c.d │ │ │ ├── esp32-hal-uart.c.o │ │ │ ├── firmware_msc_fat.c.d │ │ │ ├── firmware_msc_fat.c.o │ │ │ ├── libb64 │ │ │ │ ├── cdecode.c.d │ │ │ │ ├── cdecode.c.o │ │ │ │ ├── cencode.c.d │ │ │ │ └── cencode.c.o │ │ │ ├── main.cpp.d │ │ │ ├── main.cpp.o │ │ │ ├── stdlib_noniso.c.d │ │ │ ├── stdlib_noniso.c.o │ │ │ ├── wiring_pulse.c.d │ │ │ ├── wiring_pulse.c.o │ │ │ ├── wiring_shift.c.d │ │ │ └── wiring_shift.c.o │ │ ├── bootloader.bin │ │ ├── firmware.bin │ │ ├── firmware.elf │ │ ├── firmware.map │ │ ├── idedata.json │ │ ├── lib0a4 │ │ │ ├── FastLED NeoMatrix │ │ │ │ ├── FastLED_NeoMatrix.cpp.d │ │ │ │ └── FastLED_NeoMatrix.cpp.o │ │ │ └── libFastLED NeoMatrix.a │ │ ├── lib0ee │ │ │ ├── Adafruit GFX Library │ │ │ │ ├── Adafruit_GFX.cpp.d │ │ │ │ ├── Adafruit_GFX.cpp.o │ │ │ │ ├── Adafruit_GrayOLED.cpp.d │ │ │ │ ├── Adafruit_GrayOLED.cpp.o │ │ │ │ ├── Adafruit_SPITFT.cpp.d │ │ │ │ ├── Adafruit_SPITFT.cpp.o │ │ │ │ ├── glcdfont.c.d │ │ │ │ └── glcdfont.c.o │ │ │ └── libAdafruit GFX Library.a │ │ ├── lib1b6 │ │ │ └── FastLED │ │ │ │ ├── FastLED.cpp.d │ │ │ │ ├── FastLED.cpp.o │ │ │ │ ├── bitswap.cpp.d │ │ │ │ ├── bitswap.cpp.o │ │ │ │ ├── colorpalettes.cpp.d │ │ │ │ ├── colorpalettes.cpp.o │ │ │ │ ├── colorutils.cpp.d │ │ │ │ ├── colorutils.cpp.o │ │ │ │ ├── hsv2rgb.cpp.d │ │ │ │ ├── hsv2rgb.cpp.o │ │ │ │ ├── lib8tion.cpp.d │ │ │ │ ├── lib8tion.cpp.o │ │ │ │ ├── noise.cpp.d │ │ │ │ ├── noise.cpp.o │ │ │ │ ├── platforms.cpp.d │ │ │ │ ├── platforms.cpp.o │ │ │ │ ├── platforms │ │ │ │ └── esp │ │ │ │ │ └── 32 │ │ │ │ │ ├── clockless_rmt_esp32.cpp.d │ │ │ │ │ └── clockless_rmt_esp32.cpp.o │ │ │ │ ├── power_mgt.cpp.d │ │ │ │ ├── power_mgt.cpp.o │ │ │ │ ├── wiring.cpp.d │ │ │ │ └── wiring.cpp.o │ │ ├── lib2e9 │ │ │ ├── Adafruit BusIO │ │ │ │ ├── Adafruit_BusIO_Register.cpp.d │ │ │ │ ├── Adafruit_BusIO_Register.cpp.o │ │ │ │ ├── Adafruit_I2CDevice.cpp.d │ │ │ │ ├── Adafruit_I2CDevice.cpp.o │ │ │ │ ├── Adafruit_SPIDevice.cpp.d │ │ │ │ └── Adafruit_SPIDevice.cpp.o │ │ │ └── libAdafruit BusIO.a │ │ ├── lib3af │ │ │ ├── Adafruit NeoPixel │ │ │ │ ├── Adafruit_NeoPixel.cpp.d │ │ │ │ ├── Adafruit_NeoPixel.cpp.o │ │ │ │ ├── esp.c.d │ │ │ │ ├── esp.c.o │ │ │ │ ├── esp8266.c.d │ │ │ │ ├── esp8266.c.o │ │ │ │ ├── kendyte_k210.c.d │ │ │ │ └── kendyte_k210.c.o │ │ │ └── libAdafruit NeoPixel.a │ │ ├── lib3ff │ │ │ ├── SPI │ │ │ │ ├── SPI.cpp.d │ │ │ │ └── SPI.cpp.o │ │ │ └── libSPI.a │ │ ├── libFrameworkArduino.a │ │ ├── libbf2 │ │ │ ├── Wire │ │ │ │ ├── Wire.cpp.d │ │ │ │ └── Wire.cpp.o │ │ │ └── libWire.a │ │ ├── libe2c │ │ │ ├── arduinoFFT │ │ │ │ ├── arduinoFFT.cpp.d │ │ │ │ └── arduinoFFT.cpp.o │ │ │ └── libarduinoFFT.a │ │ ├── libf0d │ │ │ ├── Framebuffer GFX │ │ │ │ ├── Framebuffer_GFX.cpp.d │ │ │ │ └── Framebuffer_GFX.cpp.o │ │ │ └── libFramebuffer GFX.a │ │ ├── partitions.bin │ │ ├── src │ │ │ ├── main.cpp.d │ │ │ └── main.cpp.o │ │ └── tmpc0dcfh8f.tmp │ └── project.checksum └── libdeps │ └── esp32-c3-laut │ ├── Adafruit BusIO │ ├── .github │ │ ├── ISSUE_TEMPLATE.md │ │ ├── PULL_REQUEST_TEMPLATE.md │ │ └── workflows │ │ │ └── githubci.yml │ ├── .piopm │ ├── Adafruit_BusIO_Register.cpp │ ├── Adafruit_BusIO_Register.h │ ├── Adafruit_I2CDevice.cpp │ ├── Adafruit_I2CDevice.h │ ├── Adafruit_I2CRegister.h │ ├── Adafruit_SPIDevice.cpp │ ├── Adafruit_SPIDevice.h │ ├── CMakeLists.txt │ ├── LICENSE │ ├── README.md │ ├── component.mk │ ├── examples │ │ ├── i2c_address_detect │ │ │ └── i2c_address_detect.ino │ │ ├── i2c_readwrite │ │ │ └── i2c_readwrite.ino │ │ ├── i2c_registers │ │ │ └── i2c_registers.ino │ │ ├── i2corspi_register │ │ │ └── i2corspi_register.ino │ │ ├── spi_modetest │ │ │ └── spi_modetest.ino │ │ ├── spi_readwrite │ │ │ └── spi_readwrite.ino │ │ ├── spi_register_bits │ │ │ └── spi_register_bits.ino │ │ └── spi_registers │ │ │ └── spi_registers.ino │ └── library.properties │ ├── Adafruit GFX Library │ ├── .github │ │ ├── ISSUE_TEMPLATE.md │ │ ├── PULL_REQUEST_TEMPLATE.md │ │ └── workflows │ │ │ └── githubci.yml │ ├── .gitignore │ ├── .piopm │ ├── Adafruit_GFX.cpp │ ├── Adafruit_GFX.h │ ├── Adafruit_GrayOLED.cpp │ ├── Adafruit_GrayOLED.h │ ├── Adafruit_SPITFT.cpp │ ├── Adafruit_SPITFT.h │ ├── Adafruit_SPITFT_Macros.h │ ├── CMakeLists.txt │ ├── Fonts │ │ ├── FreeMono12pt7b.h │ │ ├── FreeMono18pt7b.h │ │ ├── FreeMono24pt7b.h │ │ ├── FreeMono9pt7b.h │ │ ├── FreeMonoBold12pt7b.h │ │ ├── FreeMonoBold18pt7b.h │ │ ├── FreeMonoBold24pt7b.h │ │ ├── FreeMonoBold9pt7b.h │ │ ├── FreeMonoBoldOblique12pt7b.h │ │ ├── FreeMonoBoldOblique18pt7b.h │ │ ├── FreeMonoBoldOblique24pt7b.h │ │ ├── FreeMonoBoldOblique9pt7b.h │ │ ├── FreeMonoOblique12pt7b.h │ │ ├── FreeMonoOblique18pt7b.h │ │ ├── FreeMonoOblique24pt7b.h │ │ ├── FreeMonoOblique9pt7b.h │ │ ├── FreeSans12pt7b.h │ │ ├── FreeSans18pt7b.h │ │ ├── FreeSans24pt7b.h │ │ ├── FreeSans9pt7b.h │ │ ├── FreeSansBold12pt7b.h │ │ ├── FreeSansBold18pt7b.h │ │ ├── FreeSansBold24pt7b.h │ │ ├── FreeSansBold9pt7b.h │ │ ├── FreeSansBoldOblique12pt7b.h │ │ ├── FreeSansBoldOblique18pt7b.h │ │ ├── FreeSansBoldOblique24pt7b.h │ │ ├── FreeSansBoldOblique9pt7b.h │ │ ├── FreeSansOblique12pt7b.h │ │ ├── FreeSansOblique18pt7b.h │ │ ├── FreeSansOblique24pt7b.h │ │ ├── FreeSansOblique9pt7b.h │ │ ├── FreeSerif12pt7b.h │ │ ├── FreeSerif18pt7b.h │ │ ├── FreeSerif24pt7b.h │ │ ├── FreeSerif9pt7b.h │ │ ├── FreeSerifBold12pt7b.h │ │ ├── FreeSerifBold18pt7b.h │ │ ├── FreeSerifBold24pt7b.h │ │ ├── FreeSerifBold9pt7b.h │ │ ├── FreeSerifBoldItalic12pt7b.h │ │ ├── FreeSerifBoldItalic18pt7b.h │ │ ├── FreeSerifBoldItalic24pt7b.h │ │ ├── FreeSerifBoldItalic9pt7b.h │ │ ├── FreeSerifItalic12pt7b.h │ │ ├── FreeSerifItalic18pt7b.h │ │ ├── FreeSerifItalic24pt7b.h │ │ ├── FreeSerifItalic9pt7b.h │ │ ├── Org_01.h │ │ ├── Picopixel.h │ │ ├── Tiny3x3a2pt7b.h │ │ └── TomThumb.h │ ├── README.md │ ├── component.mk │ ├── examples │ │ ├── GFXcanvas │ │ │ ├── GFXcanvas.ino │ │ │ ├── GFXcanvasSerialDemo.cpp │ │ │ └── GFXcanvasSerialDemo.h │ │ └── mock_ili9341 │ │ │ └── mock_ili9341.ino │ ├── fontconvert │ │ ├── Makefile │ │ ├── bdf2adafruit.py │ │ ├── fontconvert.c │ │ ├── fontconvert_win.md │ │ └── makefonts.sh │ ├── gfxfont.h │ ├── glcdfont.c │ ├── library.properties │ └── license.txt │ ├── Adafruit NeoPixel │ ├── .github │ │ ├── ISSUE_TEMPLATE.md │ │ ├── PULL_REQUEST_TEMPLATE.md │ │ └── workflows │ │ │ └── githubci.yml │ ├── .gitignore │ ├── .piopm │ ├── Adafruit_NeoPixel.cpp │ ├── Adafruit_NeoPixel.h │ ├── CONTRIBUTING.md │ ├── COPYING │ ├── README.md │ ├── esp.c │ ├── esp8266.c │ ├── examples │ │ ├── RGBWstrandtest │ │ │ ├── .esp8266.test.skip │ │ │ ├── .trinket.test.skip │ │ │ └── RGBWstrandtest.ino │ │ ├── StrandtestArduinoBLE │ │ │ ├── .none.test.only │ │ │ └── StrandtestArduinoBLE.ino │ │ ├── StrandtestArduinoBLECallback │ │ │ ├── .none.test.only │ │ │ └── StrandtestArduinoBLECallback.ino │ │ ├── StrandtestBLE │ │ │ ├── .none.test.only │ │ │ ├── BLESerial.cpp │ │ │ ├── BLESerial.h │ │ │ └── StrandtestBLE.ino │ │ ├── StrandtestBLE_nodelay │ │ │ ├── .none.test.only │ │ │ ├── BLESerial.cpp │ │ │ ├── BLESerial.h │ │ │ └── StrandtestBLE_nodelay.ino │ │ ├── buttoncycler │ │ │ ├── .esp8266.test.skip │ │ │ └── buttoncycler.ino │ │ ├── simple │ │ │ ├── .esp8266.test.skip │ │ │ └── simple.ino │ │ ├── simple_new_operator │ │ │ ├── .esp8266.test.skip │ │ │ └── simple_new_operator.ino │ │ ├── strandtest │ │ │ ├── .esp8266.test.skip │ │ │ └── strandtest.ino │ │ ├── strandtest_nodelay │ │ │ ├── .esp8266.test.skip │ │ │ └── strandtest_nodelay.ino │ │ └── strandtest_wheel │ │ │ ├── .esp8266.test.skip │ │ │ └── strandtest_wheel.ino │ ├── kendyte_k210.c │ ├── keywords.txt │ ├── library.properties │ └── rp2040_pio.h │ ├── FastLED NeoMatrix │ ├── .github │ │ ├── ISSUE_TEMPLATE.md │ │ └── PULL_REQUEST_TEMPLATE.md │ ├── .gitignore │ ├── .gitmodules │ ├── .piopm │ ├── COPYING │ ├── FastLED_NeoMatrix.cpp │ ├── FastLED_NeoMatrix.h │ ├── README.md │ ├── examples │ │ ├── FastLED │ │ ├── GFX │ │ ├── LEDMatrix │ │ ├── MatrixGFXDemo │ │ │ ├── MatrixGFXDemo.ino │ │ │ ├── README.md │ │ │ ├── bluesmiley24.h │ │ │ ├── google32.h │ │ │ ├── heart24.h │ │ │ ├── linux32.h │ │ │ ├── smileytongue24.h │ │ │ └── yellowsmiley24.h │ │ ├── MatrixGFXDemo64 │ │ │ ├── MatrixGFXDemo64.ino │ │ │ ├── bluesmiley24.h │ │ │ ├── google32.h │ │ │ ├── heart24.h │ │ │ ├── linux32.h │ │ │ ├── smileytongue24.h │ │ │ └── yellowsmiley24.h │ │ ├── NeoMatrix_LEDMatrix │ │ │ ├── LEDMatrix_Flag.ino │ │ │ ├── NeoMatrix_LEDMatrix.ino │ │ │ ├── README │ │ │ └── config.h │ │ ├── README.md │ │ ├── espgifread │ │ │ ├── GifPlayer.h │ │ │ ├── README.md │ │ │ ├── config.h │ │ │ └── espgifread.ino │ │ ├── fontzoom │ │ │ ├── README.md │ │ │ ├── fonts.h │ │ │ └── fontzoom.ino │ │ ├── matrixtest │ │ │ └── matrixtest.pde │ │ └── tiletest │ │ │ └── tiletest.pde │ └── library.properties │ ├── FastLED │ ├── .github │ │ └── workflows │ │ │ ├── build.yml │ │ │ └── docs.yml │ ├── .gitignore │ ├── .piopm │ ├── CMakeLists.txt │ ├── LICENSE │ ├── PORTING.md │ ├── README.md │ ├── ci │ │ ├── ci-compile │ │ └── ci-flags.py │ ├── code_of_conduct.md │ ├── component.mk │ ├── examples │ │ ├── AnalogOutput │ │ │ └── AnalogOutput.ino │ │ ├── Blink │ │ │ └── Blink.ino │ │ ├── ColorPalette │ │ │ └── ColorPalette.ino │ │ ├── ColorTemperature │ │ │ └── ColorTemperature.ino │ │ ├── Cylon │ │ │ └── Cylon.ino │ │ ├── DemoReel100 │ │ │ └── DemoReel100.ino │ │ ├── Fire2012 │ │ │ └── Fire2012.ino │ │ ├── Fire2012WithPalette │ │ │ └── Fire2012WithPalette.ino │ │ ├── FirstLight │ │ │ └── FirstLight.ino │ │ ├── Multiple │ │ │ ├── ArrayOfLedArrays │ │ │ │ └── ArrayOfLedArrays.ino │ │ │ ├── MirroringSample │ │ │ │ └── MirroringSample.ino │ │ │ ├── MultiArrays │ │ │ │ └── MultiArrays.ino │ │ │ ├── MultipleStripsInOneArray │ │ │ │ └── MultipleStripsInOneArray.ino │ │ │ ├── OctoWS2811Demo │ │ │ │ └── OctoWS2811Demo.ino │ │ │ └── ParallelOutputDemo │ │ │ │ └── ParallelOutputDemo.ino │ │ ├── Noise │ │ │ └── Noise.ino │ │ ├── NoisePlayground │ │ │ └── NoisePlayground.ino │ │ ├── NoisePlusPalette │ │ │ └── NoisePlusPalette.ino │ │ ├── Pacifica │ │ │ └── Pacifica.ino │ │ ├── Pintest │ │ │ └── Pintest.ino │ │ ├── Ports │ │ │ └── PJRCSpectrumAnalyzer │ │ │ │ └── PJRCSpectrumAnalyzer.ino │ │ ├── Pride2015 │ │ │ └── Pride2015.ino │ │ ├── RGBCalibrate │ │ │ └── RGBCalibrate.ino │ │ ├── RGBSetDemo │ │ │ └── RGBSetDemo.ino │ │ ├── SmartMatrix │ │ │ └── SmartMatrix.ino │ │ ├── TwinkleFox │ │ │ └── TwinkleFox.ino │ │ └── XYMatrix │ │ │ └── XYMatrix.ino │ ├── keywords.txt │ ├── library.json │ ├── library.properties │ ├── release_notes.md │ ├── src │ │ ├── FastLED.cpp │ │ ├── FastLED.h │ │ ├── bitswap.cpp │ │ ├── bitswap.h │ │ ├── chipsets.h │ │ ├── color.h │ │ ├── colorpalettes.cpp │ │ ├── colorpalettes.h │ │ ├── colorutils.cpp │ │ ├── colorutils.h │ │ ├── controller.h │ │ ├── cpp_compat.h │ │ ├── dmx.h │ │ ├── fastled_config.h │ │ ├── fastled_delay.h │ │ ├── fastled_progmem.h │ │ ├── fastpin.h │ │ ├── fastspi.h │ │ ├── fastspi_bitbang.h │ │ ├── fastspi_dma.h │ │ ├── fastspi_nop.h │ │ ├── fastspi_ref.h │ │ ├── fastspi_types.h │ │ ├── hsv2rgb.cpp │ │ ├── hsv2rgb.h │ │ ├── led_sysdefs.h │ │ ├── lib8tion.cpp │ │ ├── lib8tion.h │ │ ├── lib8tion │ │ │ ├── math8.h │ │ │ ├── random8.h │ │ │ ├── scale8.h │ │ │ └── trig8.h │ │ ├── noise.cpp │ │ ├── noise.h │ │ ├── pixelset.h │ │ ├── pixeltypes.h │ │ ├── platforms.cpp │ │ ├── platforms.h │ │ ├── platforms │ │ │ ├── apollo3 │ │ │ │ ├── clockless_apollo3.h │ │ │ │ ├── fastled_apollo3.h │ │ │ │ ├── fastpin_apollo3.h │ │ │ │ ├── fastspi_apollo3.h │ │ │ │ └── led_sysdefs_apollo3.h │ │ │ ├── arm │ │ │ │ ├── common │ │ │ │ │ └── m0clockless.h │ │ │ │ ├── d21 │ │ │ │ │ ├── clockless_arm_d21.h │ │ │ │ │ ├── fastled_arm_d21.h │ │ │ │ │ ├── fastpin_arm_d21.h │ │ │ │ │ └── led_sysdefs_arm_d21.h │ │ │ │ ├── d51 │ │ │ │ │ ├── README.txt │ │ │ │ │ ├── clockless_arm_d51.h │ │ │ │ │ ├── fastled_arm_d51.h │ │ │ │ │ ├── fastpin_arm_d51.h │ │ │ │ │ └── led_sysdefs_arm_d51.h │ │ │ │ ├── k20 │ │ │ │ │ ├── clockless_arm_k20.h │ │ │ │ │ ├── clockless_block_arm_k20.h │ │ │ │ │ ├── fastled_arm_k20.h │ │ │ │ │ ├── fastpin_arm_k20.h │ │ │ │ │ ├── fastspi_arm_k20.h │ │ │ │ │ ├── led_sysdefs_arm_k20.h │ │ │ │ │ ├── octows2811_controller.h │ │ │ │ │ ├── smartmatrix_t3.h │ │ │ │ │ └── ws2812serial_controller.h │ │ │ │ ├── k66 │ │ │ │ │ ├── clockless_arm_k66.h │ │ │ │ │ ├── clockless_block_arm_k66.h │ │ │ │ │ ├── fastled_arm_k66.h │ │ │ │ │ ├── fastpin_arm_k66.h │ │ │ │ │ ├── fastspi_arm_k66.h │ │ │ │ │ └── led_sysdefs_arm_k66.h │ │ │ │ ├── kl26 │ │ │ │ │ ├── clockless_arm_kl26.h │ │ │ │ │ ├── fastled_arm_kl26.h │ │ │ │ │ ├── fastpin_arm_kl26.h │ │ │ │ │ ├── fastspi_arm_kl26.h │ │ │ │ │ └── led_sysdefs_arm_kl26.h │ │ │ │ ├── mxrt1062 │ │ │ │ │ ├── block_clockless_arm_mxrt1062.h │ │ │ │ │ ├── clockless_arm_mxrt1062.h │ │ │ │ │ ├── fastled_arm_mxrt1062.h │ │ │ │ │ ├── fastpin_arm_mxrt1062.h │ │ │ │ │ ├── fastspi_arm_mxrt1062.h │ │ │ │ │ ├── led_sysdefs_arm_mxrt1062.h │ │ │ │ │ └── octows2811_controller.h │ │ │ │ ├── nrf51 │ │ │ │ │ ├── clockless_arm_nrf51.h │ │ │ │ │ ├── fastled_arm_nrf51.h │ │ │ │ │ ├── fastpin_arm_nrf51.h │ │ │ │ │ ├── fastspi_arm_nrf51.h │ │ │ │ │ └── led_sysdefs_arm_nrf51.h │ │ │ │ ├── nrf52 │ │ │ │ │ ├── arbiter_nrf52.h │ │ │ │ │ ├── clockless_arm_nrf52.h │ │ │ │ │ ├── fastled_arm_nrf52.h │ │ │ │ │ ├── fastpin_arm_nrf52.h │ │ │ │ │ ├── fastpin_arm_nrf52_variants.h │ │ │ │ │ ├── fastspi_arm_nrf52.h │ │ │ │ │ └── led_sysdefs_arm_nrf52.h │ │ │ │ ├── rp2040 │ │ │ │ │ ├── clockless_arm_rp2040.h │ │ │ │ │ ├── fastled_arm_rp2040.h │ │ │ │ │ ├── fastpin_arm_rp2040.h │ │ │ │ │ ├── led_sysdefs_arm_rp2040.h │ │ │ │ │ ├── pio_asm.h │ │ │ │ │ └── pio_gen.h │ │ │ │ ├── sam │ │ │ │ │ ├── clockless_arm_sam.h │ │ │ │ │ ├── clockless_block_arm_sam.h │ │ │ │ │ ├── fastled_arm_sam.h │ │ │ │ │ ├── fastpin_arm_sam.h │ │ │ │ │ ├── fastspi_arm_sam.h │ │ │ │ │ └── led_sysdefs_arm_sam.h │ │ │ │ └── stm32 │ │ │ │ │ ├── clockless_arm_stm32.h │ │ │ │ │ ├── cm3_regs.h │ │ │ │ │ ├── fastled_arm_stm32.h │ │ │ │ │ ├── fastpin_arm_stm32.h │ │ │ │ │ └── led_sysdefs_arm_stm32.h │ │ │ ├── avr │ │ │ │ ├── clockless_trinket.h │ │ │ │ ├── fastled_avr.h │ │ │ │ ├── fastpin_avr.h │ │ │ │ ├── fastspi_avr.h │ │ │ │ └── led_sysdefs_avr.h │ │ │ ├── esp │ │ │ │ ├── 32 │ │ │ │ │ ├── clockless_block_esp32.h │ │ │ │ │ ├── clockless_i2s_esp32.h │ │ │ │ │ ├── clockless_rmt_esp32.cpp │ │ │ │ │ ├── clockless_rmt_esp32.h │ │ │ │ │ ├── fastled_esp32.h │ │ │ │ │ ├── fastpin_esp32.h │ │ │ │ │ ├── fastspi_esp32.h │ │ │ │ │ └── led_sysdefs_esp32.h │ │ │ │ └── 8266 │ │ │ │ │ ├── clockless_block_esp8266.h │ │ │ │ │ ├── clockless_esp8266.h │ │ │ │ │ ├── fastled_esp8266.h │ │ │ │ │ ├── fastpin_esp8266.h │ │ │ │ │ ├── fastspi_esp8266.h │ │ │ │ │ └── led_sysdefs_esp8266.h │ │ │ └── fastspi_ardunio_core.h │ │ ├── power_mgt.cpp │ │ ├── power_mgt.h │ │ └── wiring.cpp │ └── workspace.code-workspace │ ├── Framebuffer GFX │ ├── .github │ │ ├── ISSUE_TEMPLATE.md │ │ └── PULL_REQUEST_TEMPLATE.md │ ├── .gitignore │ ├── .piopm │ ├── COPYING │ ├── Framebuffer_GFX.cpp │ ├── Framebuffer_GFX.h │ ├── README.md │ ├── gamma.h │ └── library.properties │ ├── Unity │ ├── .editorconfig │ ├── .gitattributes │ ├── .github │ │ └── workflows │ │ │ └── main.yml │ ├── .gitignore │ ├── .piopm │ ├── CMakeLists.txt │ ├── LICENSE.txt │ ├── README.md │ ├── auto │ │ ├── colour_prompt.rb │ │ ├── colour_reporter.rb │ │ ├── generate_config.yml │ │ ├── generate_module.rb │ │ ├── generate_test_runner.rb │ │ ├── parse_output.rb │ │ ├── run_test.erb │ │ ├── stylize_as_junit.rb │ │ ├── test_file_filter.rb │ │ ├── type_sanitizer.rb │ │ ├── unity_test_summary.py │ │ ├── unity_test_summary.rb │ │ └── unity_to_junit.py │ ├── examples │ │ ├── example_1 │ │ │ ├── makefile │ │ │ ├── readme.txt │ │ │ ├── src │ │ │ │ ├── ProductionCode.c │ │ │ │ ├── ProductionCode.h │ │ │ │ ├── ProductionCode2.c │ │ │ │ └── ProductionCode2.h │ │ │ └── test │ │ │ │ ├── TestProductionCode.c │ │ │ │ ├── TestProductionCode2.c │ │ │ │ └── test_runners │ │ │ │ ├── TestProductionCode2_Runner.c │ │ │ │ └── TestProductionCode_Runner.c │ │ ├── example_2 │ │ │ ├── makefile │ │ │ ├── readme.txt │ │ │ ├── src │ │ │ │ ├── ProductionCode.c │ │ │ │ ├── ProductionCode.h │ │ │ │ ├── ProductionCode2.c │ │ │ │ └── ProductionCode2.h │ │ │ └── test │ │ │ │ ├── TestProductionCode.c │ │ │ │ ├── TestProductionCode2.c │ │ │ │ └── test_runners │ │ │ │ ├── TestProductionCode2_Runner.c │ │ │ │ ├── TestProductionCode_Runner.c │ │ │ │ └── all_tests.c │ │ ├── example_3 │ │ │ ├── helper │ │ │ │ ├── UnityHelper.c │ │ │ │ └── UnityHelper.h │ │ │ ├── rakefile.rb │ │ │ ├── rakefile_helper.rb │ │ │ ├── readme.txt │ │ │ ├── src │ │ │ │ ├── ProductionCode.c │ │ │ │ ├── ProductionCode.h │ │ │ │ ├── ProductionCode2.c │ │ │ │ └── ProductionCode2.h │ │ │ ├── target_gcc_32.yml │ │ │ └── test │ │ │ │ ├── TestProductionCode.c │ │ │ │ └── TestProductionCode2.c │ │ ├── example_4 │ │ │ ├── meson.build │ │ │ ├── readme.txt │ │ │ ├── src │ │ │ │ ├── ProductionCode.c │ │ │ │ ├── ProductionCode.h │ │ │ │ ├── ProductionCode2.c │ │ │ │ ├── ProductionCode2.h │ │ │ │ └── meson.build │ │ │ ├── subprojects │ │ │ │ └── unity.wrap │ │ │ └── test │ │ │ │ ├── TestProductionCode.c │ │ │ │ ├── TestProductionCode2.c │ │ │ │ ├── meson.build │ │ │ │ └── test_runners │ │ │ │ ├── TestProductionCode2_Runner.c │ │ │ │ ├── TestProductionCode_Runner.c │ │ │ │ └── meson.build │ │ └── unity_config.h │ ├── library.json │ ├── meson.build │ ├── platformio-build.py │ ├── src │ │ ├── meson.build │ │ ├── unity.c │ │ ├── unity.h │ │ └── unity_internals.h │ └── unityConfig.cmake │ ├── arduinoFFT │ ├── .gitignore │ ├── .piopm │ ├── Examples │ │ ├── FFT_01 │ │ │ └── FFT_01.ino │ │ ├── FFT_02 │ │ │ └── FFT_02.ino │ │ ├── FFT_03 │ │ │ └── FFT_03.ino │ │ ├── FFT_04 │ │ │ └── FFT_04.ino │ │ └── FFT_05 │ │ │ └── FFT_05.ino │ ├── LICENSE │ ├── README.md │ ├── changeLog.txt │ ├── keywords.txt │ ├── library.json │ ├── library.properties │ └── src │ │ ├── arduinoFFT.cpp │ │ ├── arduinoFFT.h │ │ ├── defs.h │ │ └── types.h │ └── integrity.dat ├── include └── README ├── lib └── README ├── partitions-no-ota.csv ├── platformio.ini ├── src └── main.cpp └── test └── README /3D打印文件/backcover.stl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/3D打印文件/backcover.stl -------------------------------------------------------------------------------- /3D打印文件/frame.stl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/3D打印文件/frame.stl -------------------------------------------------------------------------------- /3D打印文件/grid.stl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/3D打印文件/grid.stl -------------------------------------------------------------------------------- /Image/back.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/Image/back.jpg -------------------------------------------------------------------------------- /Image/front.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/Image/front.jpg -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/.sconsign39.dblite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/.sconsign39.dblite -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/Esp.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/Esp.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/FirmwareMSC.cpp.d: -------------------------------------------------------------------------------- 1 | .pio/build/esp32-c3-laut/FrameworkArduino/FirmwareMSC.cpp.o: \ 2 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/FirmwareMSC.cpp \ 3 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/FirmwareMSC.h \ 4 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/USBMSC.h \ 5 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/dio_qspi/include/sdkconfig.h 6 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/FirmwareMSC.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/FirmwareMSC.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/FunctionalInterrupt.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/FunctionalInterrupt.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/HWCDC.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/HWCDC.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/HardwareSerial.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/HardwareSerial.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/IPAddress.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/IPAddress.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/IPv6Address.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/IPv6Address.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/MD5Builder.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/MD5Builder.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/Print.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/Print.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/Stream.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/Stream.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/StreamString.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/StreamString.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/Tone.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/Tone.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/USB.cpp.d: -------------------------------------------------------------------------------- 1 | .pio/build/esp32-c3-laut/FrameworkArduino/USB.cpp.o: \ 2 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/USB.cpp \ 3 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/USB.h \ 4 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/dio_qspi/include/sdkconfig.h 5 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/USB.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/USB.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/USBCDC.cpp.d: -------------------------------------------------------------------------------- 1 | .pio/build/esp32-c3-laut/FrameworkArduino/USBCDC.cpp.o: \ 2 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/USBCDC.cpp \ 3 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/USB.h \ 4 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/dio_qspi/include/sdkconfig.h 5 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/USBCDC.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/USBCDC.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/USBMSC.cpp.d: -------------------------------------------------------------------------------- 1 | .pio/build/esp32-c3-laut/FrameworkArduino/USBMSC.cpp.o: \ 2 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/USBMSC.cpp \ 3 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/USBMSC.h \ 4 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/dio_qspi/include/sdkconfig.h 5 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/USBMSC.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/USBMSC.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/WMath.cpp.d: -------------------------------------------------------------------------------- 1 | .pio/build/esp32-c3-laut/FrameworkArduino/WMath.cpp.o: \ 2 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/WMath.cpp \ 3 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_system/include/esp_system.h \ 4 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_common/include/esp_err.h \ 5 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_common/include/esp_compiler.h \ 6 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_common/include/esp_attr.h \ 7 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_common/include/esp_bit_defs.h \ 8 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_common/include/esp_idf_version.h \ 9 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/include/esp_mac.h \ 10 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/include/esp_chip_info.h \ 11 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/include/esp_random.h \ 12 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-log.h \ 13 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_timer/include/esp_timer.h \ 14 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/log/include/esp_log.h \ 15 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_rom/include/esp_rom_sys.h \ 16 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/soc/esp32c3/include/soc/reset_reasons.h \ 17 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_rom/include/esp32c3/rom/ets_sys.h \ 18 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/log/include/esp_log_internal.h 19 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/WMath.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/WMath.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/WString.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/WString.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/base64.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/base64.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/cbuf.cpp.d: -------------------------------------------------------------------------------- 1 | .pio/build/esp32-c3-laut/FrameworkArduino/cbuf.cpp.o: \ 2 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/cbuf.cpp \ 3 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/cbuf.h 4 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/cbuf.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/cbuf.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-adc.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-adc.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-bt.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-bt.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-cpu.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-cpu.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-dac.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-dac.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-gpio.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-gpio.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-i2c-slave.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-i2c-slave.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-i2c.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-i2c.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-ledc.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-ledc.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-matrix.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-matrix.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-misc.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-misc.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-psram.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-psram.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-rgb-led.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-rgb-led.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-rmt.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-rmt.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-sigmadelta.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-sigmadelta.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-spi.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-spi.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-time.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-time.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-timer.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-timer.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-tinyusb.c.d: -------------------------------------------------------------------------------- 1 | .pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-tinyusb.c.o: \ 2 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-tinyusb.c \ 3 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/dio_qspi/include/sdkconfig.h 4 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-tinyusb.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-tinyusb.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-touch.c.d: -------------------------------------------------------------------------------- 1 | .pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-touch.c.o: \ 2 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-touch.c \ 3 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/soc/esp32c3/include/soc/soc_caps.h 4 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-touch.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-touch.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-uart.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/esp32-hal-uart.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/firmware_msc_fat.c.d: -------------------------------------------------------------------------------- 1 | .pio/build/esp32-c3-laut/FrameworkArduino/firmware_msc_fat.c.o: \ 2 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/firmware_msc_fat.c \ 3 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/firmware_msc_fat.h 4 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/firmware_msc_fat.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/firmware_msc_fat.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/libb64/cdecode.c.d: -------------------------------------------------------------------------------- 1 | .pio/build/esp32-c3-laut/FrameworkArduino/libb64/cdecode.c.o: \ 2 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/libb64/cdecode.c \ 3 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/libb64/cdecode.h 4 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/libb64/cdecode.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/libb64/cdecode.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/libb64/cencode.c.d: -------------------------------------------------------------------------------- 1 | .pio/build/esp32-c3-laut/FrameworkArduino/libb64/cencode.c.o: \ 2 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/libb64/cencode.c \ 3 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/libb64/cencode.h 4 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/libb64/cencode.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/libb64/cencode.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/main.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/main.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/stdlib_noniso.c.d: -------------------------------------------------------------------------------- 1 | .pio/build/esp32-c3-laut/FrameworkArduino/stdlib_noniso.c.o: \ 2 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/stdlib_noniso.c \ 3 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/cores/esp32/stdlib_noniso.h \ 4 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_system/include/esp_system.h \ 5 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_common/include/esp_err.h \ 6 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_common/include/esp_compiler.h \ 7 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_common/include/esp_attr.h \ 8 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_common/include/esp_bit_defs.h \ 9 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_common/include/esp_idf_version.h \ 10 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/include/esp_mac.h \ 11 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/include/esp_chip_info.h \ 12 | C:/Users/87351/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/include/esp_random.h 13 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/stdlib_noniso.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/stdlib_noniso.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/wiring_pulse.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/wiring_pulse.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/wiring_shift.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/FrameworkArduino/wiring_shift.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/bootloader.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/bootloader.bin -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/firmware.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/firmware.bin -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/firmware.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/firmware.elf -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib0a4/FastLED NeoMatrix/FastLED_NeoMatrix.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib0a4/FastLED NeoMatrix/FastLED_NeoMatrix.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib0a4/libFastLED NeoMatrix.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib0a4/libFastLED NeoMatrix.a -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib0ee/Adafruit GFX Library/Adafruit_GFX.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib0ee/Adafruit GFX Library/Adafruit_GFX.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib0ee/Adafruit GFX Library/Adafruit_GrayOLED.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib0ee/Adafruit GFX Library/Adafruit_GrayOLED.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib0ee/Adafruit GFX Library/Adafruit_SPITFT.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib0ee/Adafruit GFX Library/Adafruit_SPITFT.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib0ee/Adafruit GFX Library/glcdfont.c.d: -------------------------------------------------------------------------------- 1 | .pio/build/esp32-c3-laut/lib0ee/Adafruit\ GFX\ Library/glcdfont.c.o: \ 2 | .pio/libdeps/esp32-c3-laut/Adafruit\ GFX\ Library/glcdfont.c 3 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib0ee/Adafruit GFX Library/glcdfont.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib0ee/Adafruit GFX Library/glcdfont.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib0ee/libAdafruit GFX Library.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib0ee/libAdafruit GFX Library.a -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/FastLED.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/FastLED.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/bitswap.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/bitswap.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/colorpalettes.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/colorpalettes.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/colorutils.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/colorutils.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/hsv2rgb.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/hsv2rgb.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/lib8tion.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/lib8tion.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/noise.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/noise.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/platforms.cpp.d: -------------------------------------------------------------------------------- 1 | .pio/build/esp32-c3-laut/lib1b6/FastLED/platforms.cpp.o: \ 2 | .pio/libdeps/esp32-c3-laut/FastLED/src/platforms.cpp 3 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/platforms.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/platforms.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/platforms/esp/32/clockless_rmt_esp32.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/platforms/esp/32/clockless_rmt_esp32.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/power_mgt.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/power_mgt.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/wiring.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib1b6/FastLED/wiring.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib2e9/Adafruit BusIO/Adafruit_BusIO_Register.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib2e9/Adafruit BusIO/Adafruit_BusIO_Register.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib2e9/Adafruit BusIO/Adafruit_I2CDevice.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib2e9/Adafruit BusIO/Adafruit_I2CDevice.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib2e9/Adafruit BusIO/Adafruit_SPIDevice.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib2e9/Adafruit BusIO/Adafruit_SPIDevice.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib2e9/libAdafruit BusIO.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib2e9/libAdafruit BusIO.a -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib3af/Adafruit NeoPixel/Adafruit_NeoPixel.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib3af/Adafruit NeoPixel/Adafruit_NeoPixel.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib3af/Adafruit NeoPixel/esp.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib3af/Adafruit NeoPixel/esp.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib3af/Adafruit NeoPixel/esp8266.c.d: -------------------------------------------------------------------------------- 1 | .pio/build/esp32-c3-laut/lib3af/Adafruit\ NeoPixel/esp8266.c.o: \ 2 | .pio/libdeps/esp32-c3-laut/Adafruit\ NeoPixel/esp8266.c 3 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib3af/Adafruit NeoPixel/esp8266.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib3af/Adafruit NeoPixel/esp8266.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib3af/Adafruit NeoPixel/kendyte_k210.c.d: -------------------------------------------------------------------------------- 1 | .pio/build/esp32-c3-laut/lib3af/Adafruit\ NeoPixel/kendyte_k210.c.o: \ 2 | .pio/libdeps/esp32-c3-laut/Adafruit\ NeoPixel/kendyte_k210.c 3 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib3af/Adafruit NeoPixel/kendyte_k210.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib3af/Adafruit NeoPixel/kendyte_k210.c.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib3af/libAdafruit NeoPixel.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib3af/libAdafruit NeoPixel.a -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib3ff/SPI/SPI.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib3ff/SPI/SPI.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib3ff/libSPI.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/lib3ff/libSPI.a -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/libFrameworkArduino.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/libFrameworkArduino.a -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/libbf2/Wire/Wire.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/libbf2/Wire/Wire.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/libbf2/libWire.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/libbf2/libWire.a -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/libe2c/arduinoFFT/arduinoFFT.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/libe2c/arduinoFFT/arduinoFFT.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/libe2c/libarduinoFFT.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/libe2c/libarduinoFFT.a -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/libf0d/Framebuffer GFX/Framebuffer_GFX.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/libf0d/Framebuffer GFX/Framebuffer_GFX.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/libf0d/libFramebuffer GFX.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/libf0d/libFramebuffer GFX.a -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/partitions.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/partitions.bin -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/src/main.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/build/esp32-c3-laut/src/main.cpp.o -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/build/project.checksum: -------------------------------------------------------------------------------- 1 | 1540934ba7e41fb9984ae0cac0686e752982e17e -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit BusIO/.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | Thank you for creating a pull request to contribute to Adafruit's GitHub code! 2 | Before you open the request please review the following guidelines and tips to 3 | help it be more easily integrated: 4 | 5 | - **Describe the scope of your change--i.e. what the change does and what parts 6 | of the code were modified.** This will help us understand any risks of integrating 7 | the code. 8 | 9 | - **Describe any known limitations with your change.** For example if the change 10 | doesn't apply to a supported platform of the library please mention it. 11 | 12 | - **Please run any tests or examples that can exercise your modified code.** We 13 | strive to not break users of the code and running tests/examples helps with this 14 | process. 15 | 16 | Thank you again for contributing! We will try to test and integrate the change 17 | as soon as we can, but be aware we have many GitHub repositories to manage and 18 | can't immediately respond to every request. There is no need to bump or check in 19 | on a pull request (it will clutter the discussion of the request). 20 | 21 | Also don't be worried if the request is closed or not integrated--sometimes the 22 | priorities of Adafruit's GitHub code (education, ease of use) might not match the 23 | priorities of the pull request. Don't fret, the open source community thrives on 24 | forks and GitHub makes it easy to keep your changes in a forked repo. 25 | 26 | After reviewing the guidelines above you can delete this text from the pull request. 27 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit BusIO/.github/workflows/githubci.yml: -------------------------------------------------------------------------------- 1 | name: Arduino Library CI 2 | 3 | on: [pull_request, push, repository_dispatch] 4 | 5 | jobs: 6 | build: 7 | runs-on: ubuntu-latest 8 | 9 | steps: 10 | - uses: actions/setup-python@v1 11 | with: 12 | python-version: '3.x' 13 | - uses: actions/checkout@v2 14 | - uses: actions/checkout@v2 15 | with: 16 | repository: adafruit/ci-arduino 17 | path: ci 18 | 19 | - name: Install the prerequisites 20 | run: bash ci/actions_install.sh 21 | 22 | - name: Check for correct code formatting with clang-format 23 | run: python3 ci/run-clang-format.py -e "ci/*" -e "bin/*" -r . 24 | 25 | - name: Check for correct documentation with doxygen 26 | env: 27 | GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }} 28 | PRETTYNAME : "Adafruit Bus IO Library" 29 | run: bash ci/doxy_gen_and_deploy.sh 30 | 31 | - name: Test the code on supported platforms 32 | run: python3 ci/build_platform.py main_platforms zero feather32u4 33 | 34 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit BusIO/.piopm: -------------------------------------------------------------------------------- 1 | {"type": "library", "name": "Adafruit BusIO", "version": "1.14.1", "spec": {"owner": "adafruit", "id": 6214, "name": "Adafruit BusIO", "requirements": null, "uri": null}} -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit BusIO/Adafruit_I2CDevice.h: -------------------------------------------------------------------------------- 1 | #ifndef Adafruit_I2CDevice_h 2 | #define Adafruit_I2CDevice_h 3 | 4 | #include 5 | #include 6 | 7 | ///< The class which defines how we will talk to this device over I2C 8 | class Adafruit_I2CDevice { 9 | public: 10 | Adafruit_I2CDevice(uint8_t addr, TwoWire *theWire = &Wire); 11 | uint8_t address(void); 12 | bool begin(bool addr_detect = true); 13 | void end(void); 14 | bool detected(void); 15 | 16 | bool read(uint8_t *buffer, size_t len, bool stop = true); 17 | bool write(const uint8_t *buffer, size_t len, bool stop = true, 18 | const uint8_t *prefix_buffer = nullptr, size_t prefix_len = 0); 19 | bool write_then_read(const uint8_t *write_buffer, size_t write_len, 20 | uint8_t *read_buffer, size_t read_len, 21 | bool stop = false); 22 | bool setSpeed(uint32_t desiredclk); 23 | 24 | /*! @brief How many bytes we can read in a transaction 25 | * @return The size of the Wire receive/transmit buffer */ 26 | size_t maxBufferSize() { return _maxBufferSize; } 27 | 28 | private: 29 | uint8_t _addr; 30 | TwoWire *_wire; 31 | bool _begun; 32 | size_t _maxBufferSize; 33 | bool _read(uint8_t *buffer, size_t len, bool stop); 34 | }; 35 | 36 | #endif // Adafruit_I2CDevice_h 37 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit BusIO/Adafruit_I2CRegister.h: -------------------------------------------------------------------------------- 1 | #ifndef _ADAFRUIT_I2C_REGISTER_H_ 2 | #define _ADAFRUIT_I2C_REGISTER_H_ 3 | 4 | #include 5 | #include 6 | 7 | typedef Adafruit_BusIO_Register Adafruit_I2CRegister; 8 | typedef Adafruit_BusIO_RegisterBits Adafruit_I2CRegisterBits; 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit BusIO/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Adafruit Bus IO Library 2 | # https://github.com/adafruit/Adafruit_BusIO 3 | # MIT License 4 | 5 | cmake_minimum_required(VERSION 3.5) 6 | 7 | idf_component_register(SRCS "Adafruit_I2CDevice.cpp" "Adafruit_BusIO_Register.cpp" "Adafruit_SPIDevice.cpp" 8 | INCLUDE_DIRS "." 9 | REQUIRES arduino) 10 | 11 | project(Adafruit_BusIO) 12 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit BusIO/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2017 Adafruit Industries 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit BusIO/README.md: -------------------------------------------------------------------------------- 1 | # Adafruit Bus IO Library [![Build Status](https://github.com/adafruit/Adafruit_BusIO/workflows/Arduino%20Library%20CI/badge.svg)](https://github.com/adafruit/Adafruit_BusIO/actions) 2 | 3 | 4 | This is a helper library to abstract away I2C & SPI transactions and registers 5 | 6 | Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit! 7 | 8 | MIT license, all text above must be included in any redistribution 9 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit BusIO/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_ADD_INCLUDEDIRS = . 2 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit BusIO/examples/i2c_address_detect/i2c_address_detect.ino: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | Adafruit_I2CDevice i2c_dev = Adafruit_I2CDevice(0x10); 4 | 5 | void setup() { 6 | while (!Serial) { delay(10); } 7 | Serial.begin(115200); 8 | Serial.println("I2C address detection test"); 9 | 10 | if (!i2c_dev.begin()) { 11 | Serial.print("Did not find device at 0x"); 12 | Serial.println(i2c_dev.address(), HEX); 13 | while (1); 14 | } 15 | Serial.print("Device found on address 0x"); 16 | Serial.println(i2c_dev.address(), HEX); 17 | } 18 | 19 | void loop() { 20 | 21 | } 22 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit BusIO/examples/i2c_readwrite/i2c_readwrite.ino: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define I2C_ADDRESS 0x60 4 | Adafruit_I2CDevice i2c_dev = Adafruit_I2CDevice(I2C_ADDRESS); 5 | 6 | 7 | void setup() { 8 | while (!Serial) { delay(10); } 9 | Serial.begin(115200); 10 | Serial.println("I2C device read and write test"); 11 | 12 | if (!i2c_dev.begin()) { 13 | Serial.print("Did not find device at 0x"); 14 | Serial.println(i2c_dev.address(), HEX); 15 | while (1); 16 | } 17 | Serial.print("Device found on address 0x"); 18 | Serial.println(i2c_dev.address(), HEX); 19 | 20 | uint8_t buffer[32]; 21 | // Try to read 32 bytes 22 | i2c_dev.read(buffer, 32); 23 | Serial.print("Read: "); 24 | for (uint8_t i=0; i<32; i++) { 25 | Serial.print("0x"); Serial.print(buffer[i], HEX); Serial.print(", "); 26 | } 27 | Serial.println(); 28 | 29 | // read a register by writing first, then reading 30 | buffer[0] = 0x0C; // we'll reuse the same buffer 31 | i2c_dev.write_then_read(buffer, 1, buffer, 2, false); 32 | Serial.print("Write then Read: "); 33 | for (uint8_t i=0; i<2; i++) { 34 | Serial.print("0x"); Serial.print(buffer[i], HEX); Serial.print(", "); 35 | } 36 | Serial.println(); 37 | } 38 | 39 | void loop() { 40 | 41 | } 42 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit BusIO/examples/i2c_registers/i2c_registers.ino: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #define I2C_ADDRESS 0x60 5 | Adafruit_I2CDevice i2c_dev = Adafruit_I2CDevice(I2C_ADDRESS); 6 | 7 | 8 | void setup() { 9 | while (!Serial) { delay(10); } 10 | Serial.begin(115200); 11 | Serial.println("I2C device register test"); 12 | 13 | if (!i2c_dev.begin()) { 14 | Serial.print("Did not find device at 0x"); 15 | Serial.println(i2c_dev.address(), HEX); 16 | while (1); 17 | } 18 | Serial.print("Device found on address 0x"); 19 | Serial.println(i2c_dev.address(), HEX); 20 | 21 | Adafruit_BusIO_Register id_reg = Adafruit_BusIO_Register(&i2c_dev, 0x0C, 2, LSBFIRST); 22 | uint16_t id; 23 | id_reg.read(&id); 24 | Serial.print("ID register = 0x"); Serial.println(id, HEX); 25 | 26 | Adafruit_BusIO_Register thresh_reg = Adafruit_BusIO_Register(&i2c_dev, 0x01, 2, LSBFIRST); 27 | uint16_t thresh; 28 | thresh_reg.read(&thresh); 29 | Serial.print("Initial threshold register = 0x"); Serial.println(thresh, HEX); 30 | 31 | thresh_reg.write(~thresh); 32 | 33 | Serial.print("Post threshold register = 0x"); Serial.println(thresh_reg.read(), HEX); 34 | } 35 | 36 | void loop() { 37 | 38 | } -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit BusIO/examples/i2corspi_register/i2corspi_register.ino: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | // Define which interface to use by setting the unused interface to NULL! 4 | 5 | #define SPIDEVICE_CS 10 6 | Adafruit_SPIDevice *spi_dev = NULL; // new Adafruit_SPIDevice(SPIDEVICE_CS); 7 | 8 | #define I2C_ADDRESS 0x5D 9 | Adafruit_I2CDevice *i2c_dev = new Adafruit_I2CDevice(I2C_ADDRESS); 10 | 11 | void setup() { 12 | while (!Serial) { delay(10); } 13 | Serial.begin(115200); 14 | Serial.println("I2C or SPI device register test"); 15 | 16 | if (spi_dev && !spi_dev->begin()) { 17 | Serial.println("Could not initialize SPI device"); 18 | } 19 | 20 | if (i2c_dev) { 21 | if (i2c_dev->begin()) { 22 | Serial.print("Device found on I2C address 0x"); 23 | Serial.println(i2c_dev->address(), HEX); 24 | } else { 25 | Serial.print("Did not find I2C device at 0x"); 26 | Serial.println(i2c_dev->address(), HEX); 27 | } 28 | } 29 | 30 | Adafruit_BusIO_Register id_reg = Adafruit_BusIO_Register(i2c_dev, spi_dev, ADDRBIT8_HIGH_TOREAD, 0x0F); 31 | uint8_t id=0; 32 | id_reg.read(&id); 33 | Serial.print("ID register = 0x"); Serial.println(id, HEX); 34 | } 35 | 36 | void loop() { 37 | 38 | } 39 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit BusIO/examples/spi_modetest/spi_modetest.ino: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define SPIDEVICE_CS 10 4 | Adafruit_SPIDevice spi_dev = Adafruit_SPIDevice(SPIDEVICE_CS, 100000, SPI_BITORDER_MSBFIRST, SPI_MODE1); 5 | //Adafruit_SPIDevice spi_dev = Adafruit_SPIDevice(SPIDEVICE_CS, 13, 12, 11, 100000, SPI_BITORDER_MSBFIRST, SPI_MODE1); 6 | 7 | 8 | void setup() { 9 | while (!Serial) { delay(10); } 10 | Serial.begin(115200); 11 | Serial.println("SPI device mode test"); 12 | 13 | if (!spi_dev.begin()) { 14 | Serial.println("Could not initialize SPI device"); 15 | while (1); 16 | } 17 | } 18 | 19 | void loop() { 20 | Serial.println("\n\nTransfer test"); 21 | for (uint16_t x=0; x<=0xFF; x++) { 22 | uint8_t i = x; 23 | Serial.print("0x"); Serial.print(i, HEX); 24 | spi_dev.read(&i, 1, i); 25 | Serial.print("/"); Serial.print(i, HEX); 26 | Serial.print(", "); 27 | delay(25); 28 | } 29 | } -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit BusIO/examples/spi_readwrite/spi_readwrite.ino: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define SPIDEVICE_CS 10 4 | Adafruit_SPIDevice spi_dev = Adafruit_SPIDevice(SPIDEVICE_CS); 5 | 6 | 7 | void setup() { 8 | while (!Serial) { delay(10); } 9 | Serial.begin(115200); 10 | Serial.println("SPI device read and write test"); 11 | 12 | if (!spi_dev.begin()) { 13 | Serial.println("Could not initialize SPI device"); 14 | while (1); 15 | } 16 | 17 | uint8_t buffer[32]; 18 | 19 | // Try to read 32 bytes 20 | spi_dev.read(buffer, 32); 21 | Serial.print("Read: "); 22 | for (uint8_t i=0; i<32; i++) { 23 | Serial.print("0x"); Serial.print(buffer[i], HEX); Serial.print(", "); 24 | } 25 | Serial.println(); 26 | 27 | // read a register by writing first, then reading 28 | buffer[0] = 0x8F; // we'll reuse the same buffer 29 | spi_dev.write_then_read(buffer, 1, buffer, 2, false); 30 | Serial.print("Write then Read: "); 31 | for (uint8_t i=0; i<2; i++) { 32 | Serial.print("0x"); Serial.print(buffer[i], HEX); Serial.print(", "); 33 | } 34 | Serial.println(); 35 | } 36 | 37 | void loop() { 38 | 39 | } 40 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit BusIO/examples/spi_registers/spi_registers.ino: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #define SPIDEVICE_CS 10 5 | Adafruit_SPIDevice spi_dev = Adafruit_SPIDevice(SPIDEVICE_CS); 6 | 7 | void setup() { 8 | while (!Serial) { delay(10); } 9 | Serial.begin(115200); 10 | Serial.println("SPI device register test"); 11 | 12 | if (!spi_dev.begin()) { 13 | Serial.println("Could not initialize SPI device"); 14 | while (1); 15 | } 16 | 17 | Adafruit_BusIO_Register id_reg = Adafruit_BusIO_Register(&spi_dev, 0x0F, ADDRBIT8_HIGH_TOREAD); 18 | uint8_t id = 0; 19 | id_reg.read(&id); 20 | Serial.print("ID register = 0x"); Serial.println(id, HEX); 21 | 22 | Adafruit_BusIO_Register thresh_reg = Adafruit_BusIO_Register(&spi_dev, 0x0C, ADDRBIT8_HIGH_TOREAD, 2, LSBFIRST); 23 | uint16_t thresh = 0; 24 | thresh_reg.read(&thresh); 25 | Serial.print("Initial threshold register = 0x"); Serial.println(thresh, HEX); 26 | 27 | thresh_reg.write(~thresh); 28 | 29 | Serial.print("Post threshold register = 0x"); Serial.println(thresh_reg.read(), HEX); 30 | } 31 | 32 | void loop() { 33 | 34 | } 35 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit BusIO/library.properties: -------------------------------------------------------------------------------- 1 | name=Adafruit BusIO 2 | version=1.14.1 3 | author=Adafruit 4 | maintainer=Adafruit 5 | sentence=This is a library for abstracting away UART, I2C and SPI interfacing 6 | paragraph=This is a library for abstracting away UART, I2C and SPI interfacing 7 | category=Signal Input/Output 8 | url=https://github.com/adafruit/Adafruit_BusIO 9 | architectures=* 10 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit GFX Library/.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | Thank you for creating a pull request to contribute to Adafruit's GitHub code! 2 | Before you open the request please review the following guidelines and tips to 3 | help it be more easily integrated: 4 | 5 | - **Describe the scope of your change--i.e. what the change does and what parts 6 | of the code were modified.** This will help us understand any risks of integrating 7 | the code. 8 | 9 | - **Describe any known limitations with your change.** For example if the change 10 | doesn't apply to a supported platform of the library please mention it. 11 | 12 | - **Please run any tests or examples that can exercise your modified code.** We 13 | strive to not break users of the code and running tests/examples helps with this 14 | process. 15 | 16 | Thank you again for contributing! We will try to test and integrate the change 17 | as soon as we can, but be aware we have many GitHub repositories to manage and 18 | can't immediately respond to every request. There is no need to bump or check in 19 | on a pull request (it will clutter the discussion of the request). 20 | 21 | Also don't be worried if the request is closed or not integrated--sometimes the 22 | priorities of Adafruit's GitHub code (education, ease of use) might not match the 23 | priorities of the pull request. Don't fret, the open source community thrives on 24 | forks and GitHub makes it easy to keep your changes in a forked repo. 25 | 26 | After reviewing the guidelines above you can delete this text from the pull request. 27 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit GFX Library/.github/workflows/githubci.yml: -------------------------------------------------------------------------------- 1 | name: Arduino Library CI 2 | 3 | on: [pull_request, push, repository_dispatch] 4 | 5 | jobs: 6 | build: 7 | runs-on: ubuntu-latest 8 | 9 | steps: 10 | - uses: actions/setup-python@v4 11 | with: 12 | python-version: '3.x' 13 | - uses: actions/checkout@v3 14 | - uses: actions/checkout@v3 15 | with: 16 | repository: adafruit/ci-arduino 17 | path: ci 18 | 19 | - name: pre-install 20 | run: bash ci/actions_install.sh 21 | 22 | - name: extra libraries 23 | run: | 24 | git clone --quiet https://github.com/adafruit/Adafruit_ILI9341.git /home/runner/Arduino/libraries/Adafruit_ILI9341 25 | 26 | - name: test platforms 27 | run: python3 ci/build_platform.py main_platforms 28 | 29 | - name: clang 30 | run: python3 ci/run-clang-format.py -e "ci/*" -e "bin/*" -r . 31 | 32 | - name: doxygen 33 | env: 34 | GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }} 35 | PRETTYNAME : "Adafruit GFX Library" 36 | run: bash ci/doxy_gen_and_deploy.sh 37 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit GFX Library/.gitignore: -------------------------------------------------------------------------------- 1 | default.vim 2 | fontconvert/fontconvert 3 | # Our handy .gitignore for automation ease 4 | Doxyfile* 5 | doxygen_sqlite3.db 6 | html -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit GFX Library/.piopm: -------------------------------------------------------------------------------- 1 | {"type": "library", "name": "Adafruit GFX Library", "version": "1.11.7", "spec": {"owner": "adafruit", "id": 13, "name": "Adafruit GFX Library", "requirements": null, "uri": null}} -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit GFX Library/Adafruit_SPITFT_Macros.h: -------------------------------------------------------------------------------- 1 | // THIS FILE INTENTIONALLY LEFT BLANK. 2 | 3 | // Macros previously #defined here have been made into (mostly) inline 4 | // functions in the Adafruit_SPITFT class. Other libraries might still 5 | // contain code trying to #include this header file, so until everything's 6 | // updated this file still exists (but doing nothing) to avoid trouble. 7 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit GFX Library/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Adafruit GFX Library 2 | # https://github.com/adafruit/Adafruit-GFX-Library 3 | # BSD License 4 | 5 | cmake_minimum_required(VERSION 3.5) 6 | 7 | idf_component_register(SRCS "Adafruit_GFX.cpp" "Adafruit_GrayOLED.cpp" "Adafruit_SPITFT.cpp" "glcdfont.c" 8 | INCLUDE_DIRS "." 9 | REQUIRES arduino Adafruit_BusIO) 10 | 11 | project(Adafruit-GFX-Library) 12 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit GFX Library/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_ADD_INCLUDEDIRS = . 2 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit GFX Library/fontconvert/Makefile: -------------------------------------------------------------------------------- 1 | all: fontconvert 2 | 3 | CC = gcc 4 | CFLAGS = -Wall -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I/usr/include 5 | LIBS = -lfreetype 6 | 7 | fontconvert: fontconvert.c 8 | $(CC) $(CFLAGS) $< $(LIBS) -o $@ 9 | strip $@ 10 | 11 | clean: 12 | rm -f fontconvert 13 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit GFX Library/fontconvert/makefonts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Ugly little Bash script, generates a set of .h files for GFX using 4 | # GNU FreeFont sources. There are three fonts: 'Mono' (Courier-like), 5 | # 'Sans' (Helvetica-like) and 'Serif' (Times-like); four styles: regular, 6 | # bold, oblique or italic, and bold+oblique or bold+italic; and four 7 | # sizes: 9, 12, 18 and 24 point. No real error checking or anything, 8 | # this just powers through all the combinations, calling the fontconvert 9 | # utility and redirecting the output to a .h file for each combo. 10 | 11 | # Adafruit_GFX repository does not include the source outline fonts 12 | # (huge zipfile, different license) but they're easily acquired: 13 | # http://savannah.gnu.org/projects/freefont/ 14 | 15 | convert=./fontconvert 16 | inpath=~/Desktop/freefont/ 17 | outpath=../Fonts/ 18 | fonts=(FreeMono FreeSans FreeSerif) 19 | styles=("" Bold Italic BoldItalic Oblique BoldOblique) 20 | sizes=(9 12 18 24) 21 | 22 | for f in ${fonts[*]} 23 | do 24 | for index in ${!styles[*]} 25 | do 26 | st=${styles[$index]} 27 | for si in ${sizes[*]} 28 | do 29 | infile=$inpath$f$st".ttf" 30 | if [ -f $infile ] # Does source combination exist? 31 | then 32 | outfile=$outpath$f$st$si"pt7b.h" 33 | # printf "%s %s %s > %s\n" $convert $infile $si $outfile 34 | $convert $infile $si > $outfile 35 | fi 36 | done 37 | done 38 | done 39 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit GFX Library/gfxfont.h: -------------------------------------------------------------------------------- 1 | // Font structures for newer Adafruit_GFX (1.1 and later). 2 | // Example fonts are included in 'Fonts' directory. 3 | // To use a font in your Arduino sketch, #include the corresponding .h 4 | // file and pass address of GFXfont struct to setFont(). Pass NULL to 5 | // revert to 'classic' fixed-space bitmap font. 6 | 7 | #ifndef _GFXFONT_H_ 8 | #define _GFXFONT_H_ 9 | 10 | /// Font data stored PER GLYPH 11 | typedef struct { 12 | uint16_t bitmapOffset; ///< Pointer into GFXfont->bitmap 13 | uint8_t width; ///< Bitmap dimensions in pixels 14 | uint8_t height; ///< Bitmap dimensions in pixels 15 | uint8_t xAdvance; ///< Distance to advance cursor (x axis) 16 | int8_t xOffset; ///< X dist from cursor pos to UL corner 17 | int8_t yOffset; ///< Y dist from cursor pos to UL corner 18 | } GFXglyph; 19 | 20 | /// Data stored for FONT AS A WHOLE 21 | typedef struct { 22 | uint8_t *bitmap; ///< Glyph bitmaps, concatenated 23 | GFXglyph *glyph; ///< Glyph array 24 | uint16_t first; ///< ASCII extents (first char) 25 | uint16_t last; ///< ASCII extents (last char) 26 | uint8_t yAdvance; ///< Newline distance (y axis) 27 | } GFXfont; 28 | 29 | #endif // _GFXFONT_H_ 30 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit GFX Library/library.properties: -------------------------------------------------------------------------------- 1 | name=Adafruit GFX Library 2 | version=1.11.7 3 | author=Adafruit 4 | maintainer=Adafruit 5 | sentence=Adafruit GFX graphics core library, this is the 'core' class that all our other graphics libraries derive from. 6 | paragraph=Install this library in addition to the display library for your hardware. 7 | category=Display 8 | url=https://github.com/adafruit/Adafruit-GFX-Library 9 | architectures=* 10 | depends=Adafruit BusIO 11 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit GFX Library/license.txt: -------------------------------------------------------------------------------- 1 | Software License Agreement (BSD License) 2 | 3 | Copyright (c) 2012 Adafruit Industries. All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions are met: 7 | 8 | - Redistributions of source code must retain the above copyright notice, 9 | this list of conditions and the following disclaimer. 10 | - Redistributions in binary form must reproduce the above copyright notice, 11 | this list of conditions and the following disclaimer in the documentation 12 | and/or other materials provided with the distribution. 13 | 14 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 15 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 18 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 19 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 20 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 21 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 22 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 23 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 24 | POSSIBILITY OF SUCH DAMAGE. 25 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | Thank you for creating a pull request to contribute to Adafruit's GitHub code! 2 | Before you open the request please review the following guidelines and tips to 3 | help it be more easily integrated: 4 | 5 | - **Describe the scope of your change--i.e. what the change does and what parts 6 | of the code were modified.** This will help us understand any risks of integrating 7 | the code. 8 | 9 | - **Describe any known limitations with your change.** For example if the change 10 | doesn't apply to a supported platform of the library please mention it. 11 | 12 | - **Please run any tests or examples that can exercise your modified code.** We 13 | strive to not break users of the code and running tests/examples helps with this 14 | process. 15 | 16 | Thank you again for contributing! We will try to test and integrate the change 17 | as soon as we can, but be aware we have many GitHub repositories to manage and 18 | can't immediately respond to every request. There is no need to bump or check in 19 | on a pull request (it will clutter the discussion of the request). 20 | 21 | Also don't be worried if the request is closed or not integrated--sometimes the 22 | priorities of Adafruit's GitHub code (education, ease of use) might not match the 23 | priorities of the pull request. Don't fret, the open source community thrives on 24 | forks and GitHub makes it easy to keep your changes in a forked repo. 25 | 26 | After reviewing the guidelines above you can delete this text from the pull request. 27 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/.github/workflows/githubci.yml: -------------------------------------------------------------------------------- 1 | name: Arduino Library CI 2 | 3 | on: [pull_request, push, repository_dispatch] 4 | 5 | jobs: 6 | build: 7 | runs-on: ubuntu-latest 8 | 9 | steps: 10 | - uses: actions/setup-python@v1 11 | with: 12 | python-version: '3.x' 13 | - uses: actions/checkout@v2 14 | - uses: actions/checkout@v2 15 | with: 16 | repository: adafruit/ci-arduino 17 | path: ci 18 | 19 | - name: pre-install 20 | run: bash ci/actions_install.sh 21 | 22 | - name: test platforms 23 | run: python3 ci/build_platform.py main_platforms 24 | 25 | - name: doxygen 26 | env: 27 | GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }} 28 | PRETTYNAME : "Adafruit NeoPixel Library" 29 | run: bash ci/doxy_gen_and_deploy.sh 30 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/.gitignore: -------------------------------------------------------------------------------- 1 | # Our handy .gitignore for automation ease 2 | Doxyfile* 3 | doxygen_sqlite3.db 4 | html 5 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/.piopm: -------------------------------------------------------------------------------- 1 | {"type": "library", "name": "Adafruit NeoPixel", "version": "1.11.0", "spec": {"owner": "adafruit", "id": 28, "name": "Adafruit NeoPixel", "requirements": null, "uri": null}} -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contribution Guidelines 2 | 3 | This library is the culmination of the expertise of many members of the open source community who have dedicated their time and hard work. The best way to ask for help or propose a new idea is to [create a new issue](https://github.com/adafruit/Adafruit_NeoPixel/issues/new) while creating a Pull Request with your code changes allows you to share your own innovations with the rest of the community. 4 | 5 | The following are some guidelines to observe when creating issues or PRs: 6 | 7 | - Be friendly; it is important that we can all enjoy a safe space as we are all working on the same project and it is okay for people to have different ideas 8 | 9 | - [Use code blocks](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code); it helps us help you when we can read your code! On that note also refrain from pasting more than 30 lines of code in a post, instead [create a gist](https://gist.github.com/) if you need to share large snippets 10 | 11 | - Use reasonable titles; refrain from using overly long or capitalized titles as they are usually annoying and do little to encourage others to help :smile: 12 | 13 | - Be detailed; refrain from mentioning code problems without sharing your source code and always give information regarding your board and version of the library 14 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/examples/RGBWstrandtest/.esp8266.test.skip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/examples/RGBWstrandtest/.esp8266.test.skip -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/examples/RGBWstrandtest/.trinket.test.skip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/examples/RGBWstrandtest/.trinket.test.skip -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/examples/StrandtestArduinoBLE/.none.test.only: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/examples/StrandtestArduinoBLE/.none.test.only -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/examples/StrandtestArduinoBLECallback/.none.test.only: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/examples/StrandtestArduinoBLECallback/.none.test.only -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/examples/StrandtestBLE/.none.test.only: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/examples/StrandtestBLE/.none.test.only -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/examples/StrandtestBLE/BLESerial.h: -------------------------------------------------------------------------------- 1 | #ifndef _BLE_SERIAL_H_ 2 | #define _BLE_SERIAL_H_ 3 | 4 | #include 5 | #include 6 | 7 | class BLESerial : public BLEPeripheral, public Stream 8 | { 9 | public: 10 | BLESerial(unsigned char req, unsigned char rdy, unsigned char rst); 11 | 12 | void begin(...); 13 | void poll(); 14 | void end(); 15 | 16 | virtual int available(void); 17 | virtual int peek(void); 18 | virtual int read(void); 19 | virtual void flush(void); 20 | virtual size_t write(uint8_t byte); 21 | using Print::write; 22 | virtual operator bool(); 23 | 24 | private: 25 | unsigned long _flushed; 26 | static BLESerial* _instance; 27 | 28 | size_t _rxHead; 29 | size_t _rxTail; 30 | size_t _rxCount() const; 31 | uint8_t _rxBuffer[BLE_ATTRIBUTE_MAX_VALUE_LENGTH]; 32 | size_t _txCount; 33 | uint8_t _txBuffer[BLE_ATTRIBUTE_MAX_VALUE_LENGTH]; 34 | 35 | BLEService _uartService = BLEService("6E400001-B5A3-F393-E0A9-E50E24DCCA9E"); 36 | BLEDescriptor _uartNameDescriptor = BLEDescriptor("2901", "UART"); 37 | BLECharacteristic _rxCharacteristic = BLECharacteristic("6E400002-B5A3-F393-E0A9-E50E24DCCA9E", BLEWriteWithoutResponse, BLE_ATTRIBUTE_MAX_VALUE_LENGTH); 38 | BLEDescriptor _rxNameDescriptor = BLEDescriptor("2901", "RX - Receive Data (Write)"); 39 | BLECharacteristic _txCharacteristic = BLECharacteristic("6E400003-B5A3-F393-E0A9-E50E24DCCA9E", BLENotify, BLE_ATTRIBUTE_MAX_VALUE_LENGTH); 40 | BLEDescriptor _txNameDescriptor = BLEDescriptor("2901", "TX - Transfer Data (Notify)"); 41 | 42 | void _received(const uint8_t* data, size_t size); 43 | static void _received(BLECentral& /*central*/, BLECharacteristic& rxCharacteristic); 44 | }; 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/examples/StrandtestBLE_nodelay/.none.test.only: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/examples/StrandtestBLE_nodelay/BLESerial.h: -------------------------------------------------------------------------------- 1 | #ifndef _BLE_SERIAL_H_ 2 | #define _BLE_SERIAL_H_ 3 | 4 | #include 5 | #include 6 | 7 | class BLESerial : public BLEPeripheral, public Stream 8 | { 9 | public: 10 | BLESerial(unsigned char req, unsigned char rdy, unsigned char rst); 11 | 12 | void begin(...); 13 | void poll(); 14 | void end(); 15 | 16 | virtual int available(void); 17 | virtual int peek(void); 18 | virtual int read(void); 19 | virtual void flush(void); 20 | virtual size_t write(uint8_t byte); 21 | using Print::write; 22 | virtual operator bool(); 23 | 24 | private: 25 | unsigned long _flushed; 26 | static BLESerial* _instance; 27 | 28 | size_t _rxHead; 29 | size_t _rxTail; 30 | size_t _rxCount() const; 31 | uint8_t _rxBuffer[BLE_ATTRIBUTE_MAX_VALUE_LENGTH]; 32 | size_t _txCount; 33 | uint8_t _txBuffer[BLE_ATTRIBUTE_MAX_VALUE_LENGTH]; 34 | 35 | BLEService _uartService = BLEService("6E400001-B5A3-F393-E0A9-E50E24DCCA9E"); 36 | BLEDescriptor _uartNameDescriptor = BLEDescriptor("2901", "UART"); 37 | BLECharacteristic _rxCharacteristic = BLECharacteristic("6E400002-B5A3-F393-E0A9-E50E24DCCA9E", BLEWriteWithoutResponse, BLE_ATTRIBUTE_MAX_VALUE_LENGTH); 38 | BLEDescriptor _rxNameDescriptor = BLEDescriptor("2901", "RX - Receive Data (Write)"); 39 | BLECharacteristic _txCharacteristic = BLECharacteristic("6E400003-B5A3-F393-E0A9-E50E24DCCA9E", BLENotify, BLE_ATTRIBUTE_MAX_VALUE_LENGTH); 40 | BLEDescriptor _txNameDescriptor = BLEDescriptor("2901", "TX - Transfer Data (Notify)"); 41 | 42 | void _received(const uint8_t* data, size_t size); 43 | static void _received(BLECentral& /*central*/, BLECharacteristic& rxCharacteristic); 44 | }; 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/examples/buttoncycler/.esp8266.test.skip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/examples/buttoncycler/.esp8266.test.skip -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/examples/simple/.esp8266.test.skip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei-ruitong/ESP32C3_Music_Spectrum/e17330f69b8d771c6c230ea439a73b3e219a334d/程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/examples/simple/.esp8266.test.skip -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Adafruit NeoPixel/examples/simple/simple.ino: -------------------------------------------------------------------------------- 1 | // NeoPixel Ring simple sketch (c) 2013 Shae Erisson 2 | // Released under the GPLv3 license to match the rest of the 3 | // Adafruit NeoPixel library 4 | 5 | #include 6 | #ifdef __AVR__ 7 | #include // Required for 16 MHz Adafruit Trinket 8 | #endif 9 | 10 | // Which pin on the Arduino is connected to the NeoPixels? 11 | #define PIN 6 // On Trinket or Gemma, suggest changing this to 1 12 | 13 | // How many NeoPixels are attached to the Arduino? 14 | #define NUMPIXELS 16 // Popular NeoPixel ring size 15 | 16 | // When setting up the NeoPixel library, we tell it how many pixels, 17 | // and which pin to use to send signals. Note that for older NeoPixel 18 | // strips you might need to change the third parameter -- see the 19 | // strandtest example for more information on possible values. 20 | Adafruit_NeoPixel pixels(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800); 21 | 22 | #define DELAYVAL 500 // Time (in milliseconds) to pause between pixels 23 | 24 | void setup() { 25 | // These lines are specifically to support the Adafruit Trinket 5V 16 MHz. 26 | // Any other board, you can remove this part (but no harm leaving it): 27 | #if defined(__AVR_ATtiny85__) && (F_CPU == 16000000) 28 | clock_prescale_set(clock_div_1); 29 | #endif 30 | // END of Trinket-specific code. 31 | 32 | pixels.begin(); // INITIALIZE NeoPixel strip object (REQUIRED) 33 | } 34 | 35 | void loop() { 36 | pixels.clear(); // Set all pixel colors to 'off' 37 | 38 | // The first NeoPixel in a strand is #0, second is 1, all the way up 39 | // to the count of pixels minus one. 40 | for(int i=0; i 5 | sentence=Arduino library for controlling single-wire-based LED pixels and strip. 6 | paragraph=Arduino library for controlling single-wire-based LED pixels and strip. 7 | category=Display 8 | url=https://github.com/adafruit/Adafruit_NeoPixel 9 | architectures=* 10 | includes=Adafruit_NeoPixel.h 11 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED NeoMatrix/.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | Thank you for creating a pull request to contribute to Adafruit's GitHub code! 2 | Before you open the request please review the following guidelines and tips to 3 | help it be more easily integrated: 4 | 5 | - **Describe the scope of your change--i.e. what the change does and what parts 6 | of the code were modified.** This will help us understand any risks of integrating 7 | the code. 8 | 9 | - **Describe any known limitations with your change.** For example if the change 10 | doesn't apply to a supported platform of the library please mention it. 11 | 12 | - **Please run any tests or examples that can exercise your modified code.** We 13 | strive to not break users of the code and running tests/examples helps with this 14 | process. 15 | 16 | Thank you again for contributing! We will try to test and integrate the change 17 | as soon as we can, but be aware we have many GitHub repositories to manage and 18 | can't immediately respond to every request. There is no need to bump or check in 19 | on a pull request (it will clutter the discussion of the request). 20 | 21 | Also don't be worried if the request is closed or not integrated--sometimes the 22 | priorities of Adafruit's GitHub code (education, ease of use) might not match the 23 | priorities of the pull request. Don't fret, the open source community thrives on 24 | forks and GitHub makes it easy to keep your changes in a forked repo. 25 | 26 | After reviewing the guidelines above you can delete this text from the pull request. 27 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED NeoMatrix/.gitignore: -------------------------------------------------------------------------------- 1 | # vim 2 | *.swp 3 | 4 | # Prerequisites 5 | *.d 6 | 7 | # Compiled Object files 8 | *.slo 9 | *.lo 10 | *.o 11 | *.obj 12 | 13 | # Precompiled Headers 14 | *.gch 15 | *.pch 16 | 17 | # Compiled Dynamic libraries 18 | *.so 19 | *.dylib 20 | *.dll 21 | 22 | # Fortran module files 23 | *.mod 24 | *.smod 25 | 26 | # Compiled Static libraries 27 | *.lai 28 | *.la 29 | *.a 30 | *.lib 31 | 32 | # Executables 33 | *.exe 34 | *.out 35 | *.app 36 | 37 | 38 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED NeoMatrix/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "examples/FastLED_NeoMatrix_SmartMatrix_LEDMatrix_GFX_Demos"] 2 | path = examples/FastLED_NeoMatrix_SmartMatrix_LEDMatrix_GFX_Demos 3 | url = https://github.com/marcmerlin/FastLED_NeoMatrix_SmartMatrix_LEDMatrix_GFX_Demos 4 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED NeoMatrix/.piopm: -------------------------------------------------------------------------------- 1 | {"type": "library", "name": "FastLED NeoMatrix", "version": "1.2.0", "spec": {"owner": "marcmerlin", "id": 7195, "name": "FastLED NeoMatrix", "requirements": null, "uri": null}} -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED NeoMatrix/examples/FastLED: -------------------------------------------------------------------------------- 1 | cd FastLED_NeoMatrix_SmartMatrix_LEDMatrix_GFX_Demos/FastLED/ 2 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED NeoMatrix/examples/GFX: -------------------------------------------------------------------------------- 1 | cd FastLED_NeoMatrix_SmartMatrix_LEDMatrix_GFX_Demos/GFX/ 2 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED NeoMatrix/examples/LEDMatrix: -------------------------------------------------------------------------------- 1 | cd FastLED_NeoMatrix_SmartMatrix_LEDMatrix_GFX_Demos/LEDMatrix/ 2 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED NeoMatrix/examples/MatrixGFXDemo/README.md: -------------------------------------------------------------------------------- 1 | This is my hello world GFX demo inspired by some old Adafruit code. 2 | 3 | It is present in some form in these trees: 4 | * https://github.com/marcmerlin/LED-Matrix/blob/master/examples/directmatrix8x8_tricolor_direct_sr/directmatrix8x8_tricolor_direct_sr.ino 5 | * https://github.com/adafruit/Adafruit_NeoMatrix/tree/master/examples/MatrixGFXDemo 6 | * https://github.com/adafruit/RGB-matrix-Panel/blob/master/examples/PanelGFXDemo_16x32/PanelGFXDemo_16x32.ino- 7 | * https://github.com/marcmerlin/FastLED_NeoMatrix/tree/master/examples/MatrixGFXDemo 8 | * https://github.com/mrfaptastic/ESP32-RGB64x32MatrixPanel-I2S-DMA/blob/master/examples/PanelGFXDemo/PanelGFXDemo.ino 9 | * https://github.com/marcmerlin/SmartMatrix_GFX/tree/master/examples/MatrixGFXDemo 10 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED NeoMatrix/examples/NeoMatrix_LEDMatrix/LEDMatrix_Flag.ino: -------------------------------------------------------------------------------- 1 | #include "config.h" 2 | 3 | 4 | void sprite_setup() 5 | { 6 | Serial.println("ledmatrix setup"); 7 | ledmatrix.DrawLine (0, 0, ledmatrix.Width() - 1, ledmatrix.Height() - 1, CRGB(0, 255, 0)); 8 | ledmatrix.DrawPixel(0, 0, CRGB(255, 0, 0)); 9 | ledmatrix.DrawPixel(ledmatrix.Width() - 1, ledmatrix.Height() - 1, CRGB(0, 0, 255)); 10 | FastLED.show(); 11 | Serial.println("ledmatrix setup done"); 12 | } 13 | 14 | 15 | void flag() 16 | { 17 | matrix_clear(); 18 | ledmatrix.DrawFilledRectangle(0, 0, ledmatrix.Width() - 1, ledmatrix.Height() - 1, CRGB(0, 0, 255)); 19 | ledmatrix.DrawRectangle(0, 0, ledmatrix.Width() - 1, ledmatrix.Height() - 1, CRGB(255, 255, 255)); 20 | ledmatrix.DrawLine(0, 0, ledmatrix.Width() - 1, ledmatrix.Height() - 1, CRGB(255, 255, 255)); 21 | ledmatrix.DrawLine(0, 1, ledmatrix.Width() - 1, ledmatrix.Height() - 2, CRGB(255, 255, 255)); 22 | ledmatrix.DrawLine(0, ledmatrix.Height() - 1, ledmatrix.Width() - 1, 0, CRGB(255, 255, 255)); 23 | ledmatrix.DrawLine(0, ledmatrix.Height() - 2, ledmatrix.Width() - 1, 1, CRGB(255, 255, 255)); 24 | FastLED.show(); 25 | } 26 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED NeoMatrix/examples/NeoMatrix_LEDMatrix/README: -------------------------------------------------------------------------------- 1 | FastLED and LEDMatrix both have features that you might want to use. 2 | It is possible to define a single FastLED strip used as a matrix, and 3 | alternate between NeoMatrix and LEDMatrix writing to it. 4 | 5 | This example code shows how. 6 | 7 | Enjoy, Marc 8 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED NeoMatrix/examples/NeoMatrix_LEDMatrix/config.h: -------------------------------------------------------------------------------- 1 | #ifndef config_h 2 | #define config_h 3 | #include 4 | #include 5 | #include 6 | 7 | #include 8 | // 9 | // Used by LEDMatrix 10 | #define MATRIX_TILE_WIDTH 8 // width of EACH NEOPIXEL MATRIX (not total display) 11 | #define MATRIX_TILE_HEIGHT 32 // height of each matrix 12 | #define MATRIX_TILE_H 3 // number of matrices arranged horizontally 13 | #define MATRIX_TILE_V 1 // number of matrices arranged vertically 14 | 15 | // Used by NeoMatrix 16 | #define mw (MATRIX_TILE_WIDTH * MATRIX_TILE_H) 17 | #define mh (MATRIX_TILE_HEIGHT * MATRIX_TILE_V) 18 | #define NUMMATRIX (mw*mh) 19 | 20 | // Compat for some other demos 21 | #define NUM_LEDS NUMMATRIX 22 | #define MATRIX_HEIGHT mh 23 | #define MATRIX_WIDTH mw 24 | 25 | #define BRIGHTNESS 32 26 | #endif 27 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED NeoMatrix/examples/README.md: -------------------------------------------------------------------------------- 1 | FastLED_NeoMatrix_SmartMatrix_LEDMatrix_GFX_Demos is populated from 2 | https://github.com/marcmerlin/FastLED_NeoMatrix_SmartMatrix_LEDMatrix_GFX_Demos/ 3 | 4 | Please run git submodule update --init --recursive 5 | 6 | MatrixGFXDemo shows how to use this drier directly without worrying 7 | about the combined neomatrix_config.h backend. 8 | 9 | Other examples under FastLED_NeoMatrix_SmartMatrix_LEDMatrix_GFX_Demos use the 10 | complex looking neomatrix_config.h that allows to move your code back and forth 11 | between the different drivers that use the Framebuffer::GFX backend (like the 12 | FastLED::NeoMatrix, SmartMatrix::GFX, and FastLED_SPITFT::GFX drivers) 13 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED NeoMatrix/examples/espgifread/README.md: -------------------------------------------------------------------------------- 1 | AnimatedGIFs replacement 2 | ------------------------ 3 | Please go to 4 | - http://marc.merlins.org/perso/arduino/post_2018-07-13_AnimatedGIFs-for-SmartMatrix-or-NeoMatrix-_Neopixel-WS2812B_-from-SDcard-or-SPIFFS_-on-Teensy-3_x_-ESP8266_-or-ESP32.html 5 | - https://github.com/marcmerlin/AnimatedGIFs 6 | 7 | for a better/newer version of this code. 8 | 9 | You may however like this version if you really want a bare bones gif decoder. 10 | 11 | 12 | Original Text 13 | ------------- 14 | Demo to display gifs read from SPIFFS from ESP8266 (should also work on ESP32). 15 | 16 | Decoding engine from Jason Coon, Aurora. 17 | https://github.com/pixelmatix/aurora/ 18 | 19 | The gifs need to be uploaded to the ESP8266's SPIFFS. You can do this within the Arduino IDE after installing the [Arduino ESP8266FS tool](http://esp8266.github.io/Arduino/versions/2.3.0/doc/filesystem.html#uploading-files-to-file-system). 20 | 21 | With ESP8266FS installed upload the web app using `ESP8266 Sketch Data Upload` command in the Arduino Tools menu. 22 | 23 | 24 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED NeoMatrix/examples/espgifread/config.h: -------------------------------------------------------------------------------- 1 | #ifndef config_h 2 | #define config_h 3 | #include 4 | #include 5 | #include 6 | 7 | 8 | //---------------------------------------------------------------------------- 9 | // 10 | // Used by LEDMatrix 11 | #define MATRIX_TILE_WIDTH 8 // width of EACH NEOPIXEL MATRIX (not total display) 12 | #define MATRIX_TILE_HEIGHT 32 // height of each matrix 13 | #define MATRIX_TILE_H 3 // number of matrices arranged horizontally 14 | #define MATRIX_TILE_V 1 // number of matrices arranged vertically 15 | 16 | // Used by NeoMatrix 17 | #define mw (MATRIX_TILE_WIDTH * MATRIX_TILE_H) 18 | #define mh (MATRIX_TILE_HEIGHT * MATRIX_TILE_V) 19 | #define NUMMATRIX (mw*mh) 20 | 21 | // Compat for some other demos 22 | #define NUM_LEDS NUMMATRIX 23 | #define MATRIX_HEIGHT mh 24 | #define MATRIX_WIDTH mw 25 | 26 | CRGB matrixleds[NUMMATRIX]; 27 | 28 | FastLED_NeoMatrix *matrix = new FastLED_NeoMatrix(matrixleds, MATRIX_TILE_WIDTH, MATRIX_TILE_HEIGHT, MATRIX_TILE_H, MATRIX_TILE_V, 29 | NEO_MATRIX_TOP + NEO_MATRIX_RIGHT + 30 | NEO_MATRIX_ROWS + NEO_MATRIX_ZIGZAG + 31 | NEO_TILE_TOP + NEO_TILE_LEFT + NEO_TILE_PROGRESSIVE); 32 | 33 | uint8_t matrix_brightness = 32; 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED NeoMatrix/examples/fontzoom/README.md: -------------------------------------------------------------------------------- 1 | Demo Videos: 2 | - https://youtu.be/NRKLB8YhJ6Y 3 | - https://youtu.be/bPLuH3Ln9gU 4 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED NeoMatrix/library.properties: -------------------------------------------------------------------------------- 1 | name=FastLED NeoMatrix 2 | version=1.2 3 | author=Marc Merlin 4 | maintainer=Marc MERLIN 5 | sentence=Adafruit_GFX and FastLED compatible library for NeoPixel grids 6 | paragraph=This replaces https://github.com/adafruit/Adafruit_NeoMatrix for FastLED supported Pixels. 7 | category=Display 8 | url=https://github.com/marcmerlin/FastLED_NeoMatrix 9 | architectures=* 10 | depends=Framebuffer GFX 11 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/.github/workflows/build.yml: -------------------------------------------------------------------------------- 1 | on: 2 | workflow_dispatch: 3 | push: 4 | branches: 5 | - master 6 | pull_request: 7 | branches: 8 | - master 9 | 10 | name: build 11 | jobs: 12 | 13 | build: 14 | runs-on: ubuntu-latest 15 | steps: 16 | - name: checkout code 17 | uses: actions/checkout@v3 18 | 19 | - name: install python 20 | uses: actions/setup-python@v4 21 | with: 22 | python-version: '3.10' 23 | 24 | - name: install platformio 25 | run: | 26 | pip install platformio==6.1.4 27 | 28 | - name: build FastLED examples 29 | run: ./ci/ci-compile 30 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/.gitignore: -------------------------------------------------------------------------------- 1 | *.gch 2 | *~ 3 | /.vscode 4 | /docs/html 5 | /docs/latex 6 | /docs/doxygen-awesome-css 7 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/.piopm: -------------------------------------------------------------------------------- 1 | {"type": "library", "name": "FastLED", "version": "3.6.0", "spec": {"owner": "fastled", "id": 126, "name": "FastLED", "requirements": null, "uri": null}} -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # FastLED 2 | # https://github.com/FastLED/FastLED 3 | # MIT License 4 | 5 | cmake_minimum_required(VERSION 3.5) 6 | 7 | set(FastLED_SRCS 8 | src/bitswap.cpp 9 | src/colorpalettes.cpp 10 | src/colorutils.cpp 11 | src/FastLED.cpp 12 | src/hsv2rgb.cpp 13 | src/lib8tion.cpp 14 | src/noise.cpp 15 | src/platforms.cpp 16 | src/power_mgt.cpp 17 | src/wiring.cpp 18 | src/platforms/esp/32/clockless_rmt_esp32.cpp 19 | ) 20 | 21 | idf_component_register(SRCS ${FastLED_SRCS} 22 | INCLUDE_DIRS "src" 23 | REQUIRES arduino) 24 | 25 | project(FastLED) 26 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013 FastLED 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/ci/ci-compile: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # compile FastLED examples with platformio for various boards. This script 4 | # is usually run by the CI, but can also be run locally. Only dependency 5 | # is platformio. 6 | # 7 | # usage: 8 | # [BOARDS=boards] [EXAMPLES=examples] ./ci-compile 9 | # 10 | # e.g. 11 | # $ ./compile-ci 12 | # - compile all board/examples combinations 13 | # 14 | # $ BOARDS="esp32 esp01" EXAMPLES=Blink ./compile-ci 15 | # - compile only Blink example for the esp32 and esp8266 platforms 16 | # 17 | set -eou pipefail 18 | 19 | # List of examples that will be compiled by default 20 | EXAMPLES=${EXAMPLES:-"Blink ColorPalette ColorTemperature Cylon DemoReel100 21 | Fire2012 FirstLight Multiple/MultipleStripsInOneArray 22 | Multiple/ArrayOfLedArrays Noise NoisePlayground NoisePlusPalette Pacifica 23 | Pride2015 RGBCalibrate RGBSetDemo TwinkleFox XYMatrix"} 24 | 25 | # list of boards to compile for by default 26 | BOARDS=${BOARDS:-"uno esp32dev esp01 yun digix teensy30"} 27 | 28 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" 29 | BOARD_OPTS=$(for b in $BOARDS; do echo -n "--board $b "; done) 30 | 31 | cd "$DIR/.." 32 | 33 | export PLATFORMIO_EXTRA_SCRIPTS="pre:lib/ci/ci-flags.py" 34 | 35 | for d in $EXAMPLES ; do 36 | echo "*** building example $d for $BOARDS ***" 37 | pio ci $BOARD_OPTS --lib=ci --lib=src "examples/$d/"*ino 38 | done 39 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/ci/ci-flags.py: -------------------------------------------------------------------------------- 1 | Import("env") 2 | 3 | env.Append(CXXFLAGS=["-Wno-register"]) 4 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_ADD_INCLUDEDIRS := ./src src/platforms/esp/32 2 | COMPONENT_SRCDIRS := ./src src/platforms/esp/32 3 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/examples/Cylon/Cylon.ino: -------------------------------------------------------------------------------- 1 | /// @file Cylon.ino 2 | /// @brief An animation that moves a single LED back and forth (Larson Scanner effect) 3 | /// @example Cylon.ino 4 | 5 | #include 6 | 7 | // How many leds in your strip? 8 | #define NUM_LEDS 64 9 | 10 | // For led chips like Neopixels, which have a data line, ground, and power, you just 11 | // need to define DATA_PIN. For led chipsets that are SPI based (four wires - data, clock, 12 | // ground, and power), like the LPD8806, define both DATA_PIN and CLOCK_PIN 13 | #define DATA_PIN 2 14 | #define CLOCK_PIN 13 15 | 16 | // Define the array of leds 17 | CRGB leds[NUM_LEDS]; 18 | 19 | void setup() { 20 | Serial.begin(57600); 21 | Serial.println("resetting"); 22 | FastLED.addLeds(leds,NUM_LEDS); 23 | FastLED.setBrightness(84); 24 | } 25 | 26 | void fadeall() { for(int i = 0; i < NUM_LEDS; i++) { leds[i].nscale8(250); } } 27 | 28 | void loop() { 29 | static uint8_t hue = 0; 30 | Serial.print("x"); 31 | // First slide the led in one direction 32 | for(int i = 0; i < NUM_LEDS; i++) { 33 | // Set the i'th led to red 34 | leds[i] = CHSV(hue++, 255, 255); 35 | // Show the leds 36 | FastLED.show(); 37 | // now that we've shown the leds, reset the i'th led to black 38 | // leds[i] = CRGB::Black; 39 | fadeall(); 40 | // Wait a little bit before we loop around and do it again 41 | delay(10); 42 | } 43 | Serial.print("x"); 44 | 45 | // Now go in the other direction. 46 | for(int i = (NUM_LEDS)-1; i >= 0; i--) { 47 | // Set the i'th led to red 48 | leds[i] = CHSV(hue++, 255, 255); 49 | // Show the leds 50 | FastLED.show(); 51 | // now that we've shown the leds, reset the i'th led to black 52 | // leds[i] = CRGB::Black; 53 | fadeall(); 54 | // Wait a little bit before we loop around and do it again 55 | delay(10); 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/examples/Multiple/ArrayOfLedArrays/ArrayOfLedArrays.ino: -------------------------------------------------------------------------------- 1 | /// @file ArrayOfLedArrays.ino 2 | /// @brief Set up three LED strips, all running from an array of arrays 3 | /// @example ArrayOfLedArrays.ino 4 | 5 | // ArrayOfLedArrays - see https://github.com/FastLED/FastLED/wiki/Multiple-Controller-Examples for more info on 6 | // using multiple controllers. In this example, we're going to set up three NEOPIXEL strips on three 7 | // different pins, each strip getting its own CRGB array to be played with, only this time they're going 8 | // to be all parts of an array of arrays. 9 | 10 | #include 11 | 12 | #define NUM_STRIPS 3 13 | #define NUM_LEDS_PER_STRIP 60 14 | CRGB leds[NUM_STRIPS][NUM_LEDS_PER_STRIP]; 15 | 16 | // For mirroring strips, all the "special" stuff happens just in setup. We 17 | // just addLeds multiple times, once for each strip 18 | void setup() { 19 | // tell FastLED there's 60 NEOPIXEL leds on pin 2 20 | FastLED.addLeds(leds[0], NUM_LEDS_PER_STRIP); 21 | 22 | // tell FastLED there's 60 NEOPIXEL leds on pin 3 23 | FastLED.addLeds(leds[1], NUM_LEDS_PER_STRIP); 24 | 25 | // tell FastLED there's 60 NEOPIXEL leds on pin 4 26 | FastLED.addLeds(leds[2], NUM_LEDS_PER_STRIP); 27 | 28 | } 29 | 30 | void loop() { 31 | // This outer loop will go over each strip, one at a time 32 | for(int x = 0; x < NUM_STRIPS; x++) { 33 | // This inner loop will go over each led in the current strip, one at a time 34 | for(int i = 0; i < NUM_LEDS_PER_STRIP; i++) { 35 | leds[x][i] = CRGB::Red; 36 | FastLED.show(); 37 | leds[x][i] = CRGB::Black; 38 | delay(100); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/examples/Multiple/MirroringSample/MirroringSample.ino: -------------------------------------------------------------------------------- 1 | /// @file MirroringSample.ino 2 | /// @brief Demonstrates how to use multiple LED strips, each with the same data 3 | /// @example MirroringSample.ino 4 | 5 | // MirroringSample - see https://github.com/FastLED/FastLED/wiki/Multiple-Controller-Examples for more info on 6 | // using multiple controllers. In this example, we're going to set up four NEOPIXEL strips on four 7 | // different pins, and show the same thing on all four of them, a simple bouncing dot/cyclon type pattern 8 | 9 | #include 10 | 11 | #define NUM_LEDS_PER_STRIP 60 12 | CRGB leds[NUM_LEDS_PER_STRIP]; 13 | 14 | // For mirroring strips, all the "special" stuff happens just in setup. We 15 | // just addLeds multiple times, once for each strip 16 | void setup() { 17 | // tell FastLED there's 60 NEOPIXEL leds on pin 4 18 | FastLED.addLeds(leds, NUM_LEDS_PER_STRIP); 19 | 20 | // tell FastLED there's 60 NEOPIXEL leds on pin 5 21 | FastLED.addLeds(leds, NUM_LEDS_PER_STRIP); 22 | 23 | // tell FastLED there's 60 NEOPIXEL leds on pin 6 24 | FastLED.addLeds(leds, NUM_LEDS_PER_STRIP); 25 | 26 | // tell FastLED there's 60 NEOPIXEL leds on pin 7 27 | FastLED.addLeds(leds, NUM_LEDS_PER_STRIP); 28 | } 29 | 30 | void loop() { 31 | for(int i = 0; i < NUM_LEDS_PER_STRIP; i++) { 32 | // set our current dot to red 33 | leds[i] = CRGB::Red; 34 | FastLED.show(); 35 | // clear our current dot before we move on 36 | leds[i] = CRGB::Black; 37 | delay(100); 38 | } 39 | 40 | for(int i = NUM_LEDS_PER_STRIP-1; i >= 0; i--) { 41 | // set our current dot to red 42 | leds[i] = CRGB::Red; 43 | FastLED.show(); 44 | // clear our current dot before we move on 45 | leds[i] = CRGB::Black; 46 | delay(100); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/examples/Multiple/MultiArrays/MultiArrays.ino: -------------------------------------------------------------------------------- 1 | /// @file MultiArrays.ino 2 | /// @brief Demonstrates how to use multiple LED strips, each with their own data 3 | /// @example MultiArrays.ino 4 | 5 | // MultiArrays - see https://github.com/FastLED/FastLED/wiki/Multiple-Controller-Examples for more info on 6 | // using multiple controllers. In this example, we're going to set up three NEOPIXEL strips on three 7 | // different pins, each strip getting its own CRGB array to be played with 8 | 9 | #include 10 | 11 | #define NUM_LEDS_PER_STRIP 60 12 | CRGB redLeds[NUM_LEDS_PER_STRIP]; 13 | CRGB greenLeds[NUM_LEDS_PER_STRIP]; 14 | CRGB blueLeds[NUM_LEDS_PER_STRIP]; 15 | 16 | // For mirroring strips, all the "special" stuff happens just in setup. We 17 | // just addLeds multiple times, once for each strip 18 | void setup() { 19 | // tell FastLED there's 60 NEOPIXEL leds on pin 10 20 | FastLED.addLeds(redLeds, NUM_LEDS_PER_STRIP); 21 | 22 | // tell FastLED there's 60 NEOPIXEL leds on pin 11 23 | FastLED.addLeds(greenLeds, NUM_LEDS_PER_STRIP); 24 | 25 | // tell FastLED there's 60 NEOPIXEL leds on pin 12 26 | FastLED.addLeds(blueLeds, NUM_LEDS_PER_STRIP); 27 | 28 | } 29 | 30 | void loop() { 31 | for(int i = 0; i < NUM_LEDS_PER_STRIP; i++) { 32 | // set our current dot to red, green, and blue 33 | redLeds[i] = CRGB::Red; 34 | greenLeds[i] = CRGB::Green; 35 | blueLeds[i] = CRGB::Blue; 36 | FastLED.show(); 37 | // clear our current dot before we move on 38 | redLeds[i] = CRGB::Black; 39 | greenLeds[i] = CRGB::Black; 40 | blueLeds[i] = CRGB::Black; 41 | delay(100); 42 | } 43 | 44 | for(int i = NUM_LEDS_PER_STRIP-1; i >= 0; i--) { 45 | // set our current dot to red, green, and blue 46 | redLeds[i] = CRGB::Red; 47 | greenLeds[i] = CRGB::Green; 48 | blueLeds[i] = CRGB::Blue; 49 | FastLED.show(); 50 | // clear our current dot before we move on 51 | redLeds[i] = CRGB::Black; 52 | greenLeds[i] = CRGB::Black; 53 | blueLeds[i] = CRGB::Black; 54 | delay(100); 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/examples/Multiple/MultipleStripsInOneArray/MultipleStripsInOneArray.ino: -------------------------------------------------------------------------------- 1 | /// @file MultipleStripsInOneArray.ino 2 | /// @brief Demonstrates how to use multiple LED strips, each with their own data in one shared array 3 | /// @example MultipleStripsInOneArray.ino 4 | 5 | // MultipleStripsInOneArray - see https://github.com/FastLED/FastLED/wiki/Multiple-Controller-Examples for more info on 6 | // using multiple controllers. In this example, we're going to set up four NEOPIXEL strips on three 7 | // different pins, each strip will be referring to a different part of the single led array 8 | 9 | #include 10 | 11 | #define NUM_STRIPS 3 12 | #define NUM_LEDS_PER_STRIP 60 13 | #define NUM_LEDS NUM_LEDS_PER_STRIP * NUM_STRIPS 14 | 15 | CRGB leds[NUM_STRIPS * NUM_LEDS_PER_STRIP]; 16 | 17 | // For mirroring strips, all the "special" stuff happens just in setup. We 18 | // just addLeds multiple times, once for each strip 19 | void setup() { 20 | // tell FastLED there's 60 NEOPIXEL leds on pin 2, starting at index 0 in the led array 21 | FastLED.addLeds(leds, 0, NUM_LEDS_PER_STRIP); 22 | 23 | // tell FastLED there's 60 NEOPIXEL leds on pin 3, starting at index 60 in the led array 24 | FastLED.addLeds(leds, NUM_LEDS_PER_STRIP, NUM_LEDS_PER_STRIP); 25 | 26 | // tell FastLED there's 60 NEOPIXEL leds on pin 4, starting at index 120 in the led array 27 | FastLED.addLeds(leds, 2 * NUM_LEDS_PER_STRIP, NUM_LEDS_PER_STRIP); 28 | 29 | } 30 | 31 | void loop() { 32 | for(int i = 0; i < NUM_LEDS; i++) { 33 | leds[i] = CRGB::Red; 34 | FastLED.show(); 35 | leds[i] = CRGB::Black; 36 | delay(100); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/examples/Multiple/OctoWS2811Demo/OctoWS2811Demo.ino: -------------------------------------------------------------------------------- 1 | /// @file OctoWS2811Demo.ino 2 | /// @brief Demonstrates how to use OctoWS2811 output 3 | /// @example OctoWS2811Demo.ino 4 | 5 | #define USE_OCTOWS2811 6 | #include 7 | #include 8 | 9 | #define NUM_LEDS_PER_STRIP 64 10 | #define NUM_STRIPS 8 11 | 12 | CRGB leds[NUM_STRIPS * NUM_LEDS_PER_STRIP]; 13 | 14 | // Pin layouts on the teensy 3: 15 | // OctoWS2811: 2,14,7,8,6,20,21,5 16 | 17 | void setup() { 18 | FastLED.addLeds(leds, NUM_LEDS_PER_STRIP); 19 | FastLED.setBrightness(32); 20 | } 21 | 22 | void loop() { 23 | static uint8_t hue = 0; 24 | for(int i = 0; i < NUM_STRIPS; i++) { 25 | for(int j = 0; j < NUM_LEDS_PER_STRIP; j++) { 26 | leds[(i*NUM_LEDS_PER_STRIP) + j] = CHSV((32*i) + hue+j,192,255); 27 | } 28 | } 29 | 30 | // Set the first n leds on each strip to show which strip it is 31 | for(int i = 0; i < NUM_STRIPS; i++) { 32 | for(int j = 0; j <= i; j++) { 33 | leds[(i*NUM_LEDS_PER_STRIP) + j] = CRGB::Red; 34 | } 35 | } 36 | 37 | hue++; 38 | 39 | FastLED.show(); 40 | FastLED.delay(10); 41 | } 42 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/examples/Multiple/ParallelOutputDemo/ParallelOutputDemo.ino: -------------------------------------------------------------------------------- 1 | /// @file ParallelOutputDemo.ino 2 | /// @brief Demonstrates how to write to multiple strips simultaneously 3 | /// @example ParallelOutputDemo.ino 4 | 5 | #include 6 | 7 | #define NUM_LEDS_PER_STRIP 16 8 | // Note: this can be 12 if you're using a teensy 3 and don't mind soldering the pads on the back 9 | #define NUM_STRIPS 16 10 | 11 | CRGB leds[NUM_STRIPS * NUM_LEDS_PER_STRIP]; 12 | 13 | // Pin layouts on the teensy 3/3.1: 14 | // WS2811_PORTD: 2,14,7,8,6,20,21,5 15 | // WS2811_PORTC: 15,22,23,9,10,13,11,12,28,27,29,30 (these last 4 are pads on the bottom of the teensy) 16 | // WS2811_PORTDC: 2,14,7,8,6,20,21,5,15,22,23,9,10,13,11,12 - 16 way parallel 17 | // 18 | // Pin layouts on the due 19 | // WS2811_PORTA: 69,68,61,60,59,100,58,31 (note: pin 100 only available on the digix) 20 | // WS2811_PORTB: 90,91,92,93,94,95,96,97 (note: only available on the digix) 21 | // WS2811_PORTD: 25,26,27,28,14,15,29,11 22 | // 23 | 24 | 25 | // IBCC outputs; 26 | 27 | void setup() { 28 | delay(5000); 29 | Serial.begin(57600); 30 | Serial.println("Starting..."); 31 | // FastLED.addLeds(leds, NUM_LEDS_PER_STRIP); 32 | // FastLED.addLeds(leds, NUM_LEDS_PER_STRIP); 33 | // FastLED.addLeds(leds, NUM_LEDS_PER_STRIP).setCorrection(TypicalLEDStrip); 34 | FastLED.addLeds(leds, NUM_LEDS_PER_STRIP); 35 | 36 | // Teensy 4 parallel output example 37 | // FastLED.addLeds(leds,NUM_LEDS_PER_STRIP); 38 | } 39 | 40 | void loop() { 41 | Serial.println("Loop...."); 42 | static uint8_t hue = 0; 43 | for(int i = 0; i < NUM_STRIPS; i++) { 44 | for(int j = 0; j < NUM_LEDS_PER_STRIP; j++) { 45 | leds[(i*NUM_LEDS_PER_STRIP) + j] = CHSV((32*i) + hue+j,192,255); 46 | } 47 | } 48 | 49 | // Set the first n leds on each strip to show which strip it is 50 | for(int i = 0; i < NUM_STRIPS; i++) { 51 | for(int j = 0; j <= i; j++) { 52 | leds[(i*NUM_LEDS_PER_STRIP) + j] = CRGB::Red; 53 | } 54 | } 55 | 56 | hue++; 57 | 58 | FastLED.show(); 59 | // FastLED.delay(100); 60 | } 61 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/examples/RGBSetDemo/RGBSetDemo.ino: -------------------------------------------------------------------------------- 1 | /// @file RGBSetDemo.ino 2 | /// @brief Demonstrates how to create an LED group with CRGBArray 3 | /// @example RGBSetDemo.ino 4 | 5 | #include 6 | #define NUM_LEDS 40 7 | 8 | CRGBArray leds; 9 | 10 | void setup() { FastLED.addLeds(leds, NUM_LEDS); } 11 | 12 | void loop(){ 13 | static uint8_t hue; 14 | for(int i = 0; i < NUM_LEDS/2; i++) { 15 | // fade everything out 16 | leds.fadeToBlackBy(40); 17 | 18 | // let's set an led value 19 | leds[i] = CHSV(hue++,255,255); 20 | 21 | // now, let's first 20 leds to the top 20 leds, 22 | leds(NUM_LEDS/2,NUM_LEDS-1) = leds(NUM_LEDS/2 - 1 ,0); 23 | FastLED.delay(33); 24 | } 25 | } 26 | 27 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/library.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "FastLED", 3 | "description": "FastLED is a library for programming addressable rgb led strips (APA102/Dotstar, WS2812/Neopixel, LPD8806, and a dozen others) acting both as a driver and as a library for color management and fast math.", 4 | "keywords": "led,noise,rgb,math,fast", 5 | "authors": [ 6 | { 7 | "name": "Daniel Garcia", 8 | "url": "https://github.com/focalintent", 9 | "maintainer": true 10 | }, 11 | { 12 | "name": "Mark Kriegsman", 13 | "url": "https://github.com/kriegsman", 14 | "maintainer": true 15 | }, 16 | { 17 | "name": "Sam Guyer", 18 | "url": "https://github.com/samguyer", 19 | "maintainer": true 20 | }, 21 | { 22 | "name": "Jason Coon", 23 | "url": "https://github.com/jasoncoon", 24 | "maintainer": true 25 | }, 26 | { 27 | "name": "Josh Huber", 28 | "url": "https://github.com/uberjay", 29 | "maintainer": true 30 | } 31 | ], 32 | "repository": { 33 | "type": "git", 34 | "url": "https://github.com/FastLED/FastLED.git" 35 | }, 36 | "version": "3.6.0", 37 | "license": "MIT", 38 | "homepage": "http://fastled.io", 39 | "frameworks": "arduino", 40 | "platforms": "atmelavr, atmelsam, freescalekinetis, nordicnrf51, nxplpc, ststm32, teensy, espressif8266, espressif32, nordicnrf52", 41 | "headers": "FastLED.h", 42 | "export": { 43 | "exclude": [ 44 | "docs", 45 | "extras" 46 | ] 47 | }, 48 | "build": { 49 | "srcFilter": [ 50 | "+<*.c>", 51 | "+<*.cpp>", 52 | "+<*.h>", 53 | "+" 54 | ], 55 | "libArchive": false 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/library.properties: -------------------------------------------------------------------------------- 1 | name=FastLED 2 | version=3.6.0 3 | author=Daniel Garcia 4 | maintainer=Daniel Garcia 5 | sentence=Multi-platform library for controlling dozens of different types of LEDs along with optimized math, effect, and noise functions. 6 | paragraph=Multi-platform library for controlling dozens of different types of LEDs along with optimized math, effect, and noise functions. 7 | category=Display 8 | url=https://github.com/FastLED/FastLED 9 | architectures=* 10 | includes=FastLED.h 11 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/bitswap.cpp: -------------------------------------------------------------------------------- 1 | /// @file bitswap.cpp 2 | /// Functions for doing a rotation of bits/bytes used by parallel output 3 | 4 | /// Disables pragma messages and warnings 5 | #define FASTLED_INTERNAL 6 | 7 | #include "FastLED.h" 8 | 9 | void transpose8x1_noinline(unsigned char *A, unsigned char *B) { 10 | uint32_t x, y, t; 11 | 12 | // Load the array and pack it into x and y. 13 | y = *(unsigned int*)(A); 14 | x = *(unsigned int*)(A+4); 15 | 16 | // pre-transform x 17 | t = (x ^ (x >> 7)) & 0x00AA00AA; x = x ^ t ^ (t << 7); 18 | t = (x ^ (x >>14)) & 0x0000CCCC; x = x ^ t ^ (t <<14); 19 | 20 | // pre-transform y 21 | t = (y ^ (y >> 7)) & 0x00AA00AA; y = y ^ t ^ (t << 7); 22 | t = (y ^ (y >>14)) & 0x0000CCCC; y = y ^ t ^ (t <<14); 23 | 24 | // final transform 25 | t = (x & 0xF0F0F0F0) | ((y >> 4) & 0x0F0F0F0F); 26 | y = ((x << 4) & 0xF0F0F0F0) | (y & 0x0F0F0F0F); 27 | x = t; 28 | 29 | *((uint32_t*)B) = y; 30 | *((uint32_t*)(B+4)) = x; 31 | } 32 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/colorpalettes.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_COLORPALETTES_H 2 | #define __INC_COLORPALETTES_H 3 | 4 | #include "FastLED.h" 5 | #include "colorutils.h" 6 | 7 | /// @file colorpalettes.h 8 | /// Declarations for the predefined color palettes supplied by FastLED. 9 | 10 | // Have Doxygen ignore these declarations 11 | /// @cond 12 | 13 | FASTLED_NAMESPACE_BEGIN 14 | 15 | extern const TProgmemRGBPalette16 CloudColors_p FL_PROGMEM; 16 | extern const TProgmemRGBPalette16 LavaColors_p FL_PROGMEM; 17 | extern const TProgmemRGBPalette16 OceanColors_p FL_PROGMEM; 18 | extern const TProgmemRGBPalette16 ForestColors_p FL_PROGMEM; 19 | 20 | extern const TProgmemRGBPalette16 RainbowColors_p FL_PROGMEM; 21 | 22 | /// Alias of RainbowStripeColors_p 23 | #define RainbowStripesColors_p RainbowStripeColors_p 24 | extern const TProgmemRGBPalette16 RainbowStripeColors_p FL_PROGMEM; 25 | 26 | extern const TProgmemRGBPalette16 PartyColors_p FL_PROGMEM; 27 | 28 | extern const TProgmemRGBPalette16 HeatColors_p FL_PROGMEM; 29 | 30 | 31 | DECLARE_GRADIENT_PALETTE( Rainbow_gp); 32 | 33 | FASTLED_NAMESPACE_END 34 | 35 | /// @endcond 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/cpp_compat.h: -------------------------------------------------------------------------------- 1 | /// @file cpp_compat.h 2 | /// Compatibility functions based on C++ version 3 | 4 | #ifndef __INC_CPP_COMPAT_H 5 | #define __INC_CPP_COMPAT_H 6 | 7 | #include "FastLED.h" 8 | 9 | #if __cplusplus <= 199711L 10 | 11 | /// Compile-time assertion checking, introduced in C++11 12 | /// @see https://en.cppreference.com/w/cpp/language/static_assert 13 | #define static_assert(expression, message) 14 | 15 | /// Declares that it is possible to evaluate a value at compile time, introduced in C++11 16 | /// @see https://en.cppreference.com/w/cpp/language/constexpr 17 | #define constexpr const 18 | 19 | #else 20 | 21 | // things that we can turn on if we're in a C++11 environment 22 | #endif 23 | 24 | #if __cplusplus < 201703L 25 | #define FASTLED_REGISTER register 26 | #else 27 | #ifdef FASTLED_REGISTER 28 | #undef FASTLED_REGISTER 29 | #endif 30 | #define FASTLED_REGISTER 31 | 32 | #endif 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/fastspi_dma.h: -------------------------------------------------------------------------------- 1 | /// @file fastspi_dma.h 2 | /// Direct memory access (DMA) functions for SPI interfaces 3 | /// @deprecated This header file is empty. 4 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms.cpp: -------------------------------------------------------------------------------- 1 | /// @file platforms.cpp 2 | /// Platform-specific functions and variables 3 | 4 | /// Disables pragma messages and warnings 5 | #define FASTLED_INTERNAL 6 | 7 | 8 | // Interrupt handlers cannot be defined in the header. 9 | // They must be defined as C functions, or they won't 10 | // be found (due to name mangling), and thus won't 11 | // override any default weak definition. 12 | #if defined(NRF52_SERIES) 13 | 14 | #include "platforms/arm/nrf52/led_sysdefs_arm_nrf52.h" 15 | #include "platforms/arm/nrf52/arbiter_nrf52.h" 16 | 17 | uint32_t isrCount; 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | // NOTE: Update platforms.cpp in root of FastLED library if this changes 23 | #if defined(FASTLED_NRF52_ENABLE_PWM_INSTANCE0) 24 | void PWM0_IRQHandler(void) { ++isrCount; PWM_Arbiter<0>::isr_handler(); } 25 | #endif 26 | #if defined(FASTLED_NRF52_ENABLE_PWM_INSTANCE1) 27 | void PWM1_IRQHandler(void) { ++isrCount; PWM_Arbiter<1>::isr_handler(); } 28 | #endif 29 | #if defined(FASTLED_NRF52_ENABLE_PWM_INSTANCE2) 30 | void PWM2_IRQHandler(void) { ++isrCount; PWM_Arbiter<2>::isr_handler(); } 31 | #endif 32 | #if defined(FASTLED_NRF52_ENABLE_PWM_INSTANCE3) 33 | void PWM3_IRQHandler(void) { ++isrCount; PWM_Arbiter<3>::isr_handler(); } 34 | #endif 35 | #ifdef __cplusplus 36 | } 37 | #endif 38 | 39 | #endif // defined(NRF52_SERIES) 40 | 41 | 42 | 43 | // FASTLED_NAMESPACE_BEGIN 44 | // FASTLED_NAMESPACE_END 45 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_PLATFORMS_H 2 | #define __INC_PLATFORMS_H 3 | 4 | #include "FastLED.h" 5 | 6 | #include "fastled_config.h" 7 | 8 | /// @file platforms.h 9 | /// Determines which platforms headers to include 10 | 11 | #if defined(NRF51) 12 | #include "platforms/arm/nrf51/fastled_arm_nrf51.h" 13 | #elif defined(NRF52_SERIES) 14 | #include "platforms/arm/nrf52/fastled_arm_nrf52.h" 15 | #elif defined(__MK20DX128__) || defined(__MK20DX256__) 16 | // Include k20/T3 headers 17 | #include "platforms/arm/k20/fastled_arm_k20.h" 18 | #elif defined(__MK66FX1M0__) || defined(__MK64FX512__) 19 | // Include k66/T3.6 headers 20 | #include "platforms/arm/k66/fastled_arm_k66.h" 21 | #elif defined(__MKL26Z64__) 22 | // Include kl26/T-LC headers 23 | #include "platforms/arm/kl26/fastled_arm_kl26.h" 24 | #elif defined(__IMXRT1062__) 25 | // teensy4 26 | #include "platforms/arm/mxrt1062/fastled_arm_mxrt1062.h" 27 | #elif defined(__SAM3X8E__) 28 | // Include sam/due headers 29 | #include "platforms/arm/sam/fastled_arm_sam.h" 30 | #elif defined(STM32F10X_MD) || defined(__STM32F1__) || defined(STM32F2XX) || defined(STM32F1) 31 | #include "platforms/arm/stm32/fastled_arm_stm32.h" 32 | #elif defined(__SAMD21G18A__) || defined(__SAMD21J18A__) || defined(__SAMD21E17A__) || defined(__SAMD21E18A__) 33 | #include "platforms/arm/d21/fastled_arm_d21.h" 34 | #elif defined(__SAMD51G19A__) || defined(__SAMD51J19A__) || defined(__SAME51J19A__) || defined(__SAMD51P19A__) 35 | #include "platforms/arm/d51/fastled_arm_d51.h" 36 | #elif defined(ARDUINO_ARCH_RP2040) // not sure a pico-sdk define for this 37 | // RP2040 (Raspberry Pi Pico etc) 38 | #include "platforms/arm/rp2040/fastled_arm_rp2040.h" 39 | #elif defined(ESP8266) 40 | #include "platforms/esp/8266/fastled_esp8266.h" 41 | #elif defined(ESP32) 42 | #include "platforms/esp/32/fastled_esp32.h" 43 | #elif defined(ARDUINO_ARCH_APOLLO3) 44 | #include "platforms/apollo3/fastled_apollo3.h" 45 | #else 46 | // AVR platforms 47 | #include "platforms/avr/fastled_avr.h" 48 | #endif 49 | 50 | #endif 51 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/apollo3/fastled_apollo3.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_FASTLED_APOLLO3_H 2 | #define __INC_FASTLED_APOLLO3_H 3 | 4 | #include "fastpin_apollo3.h" 5 | #include "fastspi_apollo3.h" 6 | #include "clockless_apollo3.h" 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/apollo3/led_sysdefs_apollo3.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_LED_SYSDEFS_APOLLO3_H 2 | #define __INC_LED_SYSDEFS_APOLLO3_H 3 | 4 | #define FASTLED_APOLLO3 5 | 6 | #ifndef INTERRUPT_THRESHOLD 7 | #define INTERRUPT_THRESHOLD 1 8 | #endif 9 | 10 | // Default to allowing interrupts 11 | #ifndef FASTLED_ALLOW_INTERRUPTS 12 | #define FASTLED_ALLOW_INTERRUPTS 1 13 | #endif 14 | 15 | #if FASTLED_ALLOW_INTERRUPTS == 1 16 | #define FASTLED_ACCURATE_CLOCK 17 | #endif 18 | 19 | #ifndef F_CPU 20 | #define F_CPU 48000000 21 | #endif 22 | 23 | // Default to NOT using PROGMEM 24 | #ifndef FASTLED_USE_PROGMEM 25 | #define FASTLED_USE_PROGMEM 0 26 | #endif 27 | 28 | // data type defs 29 | typedef volatile uint8_t RoReg; /**< Read only 8-bit register (volatile const unsigned int) */ 30 | typedef volatile uint8_t RwReg; /**< Read-Write 8-bit register (volatile unsigned int) */ 31 | 32 | #define FASTLED_NO_PINMAP 33 | 34 | // reusing/abusing cli/sei defs for due 35 | // These should be fine for the Apollo3. It has its own defines in cmsis_gcc.h 36 | #define cli() __disable_irq(); //__disable_fault_irq(); 37 | #define sei() __enable_irq(); //__enable_fault_irq(); 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/d21/fastled_arm_d21.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_FASTLED_ARM_D21_H 2 | #define __INC_FASTLED_ARM_D21_H 3 | 4 | #include "fastpin_arm_d21.h" 5 | #include "clockless_arm_d21.h" 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/d21/led_sysdefs_arm_d21.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_LED_SYSDEFS_ARM_D21_H 2 | #define __INC_LED_SYSDEFS_ARM_D21_H 3 | 4 | 5 | #define FASTLED_ARM 6 | #define FASTLED_ARM_M0_PLUS 7 | 8 | #ifndef INTERRUPT_THRESHOLD 9 | #define INTERRUPT_THRESHOLD 1 10 | #endif 11 | 12 | // Default to allowing interrupts 13 | #ifndef FASTLED_ALLOW_INTERRUPTS 14 | #define FASTLED_ALLOW_INTERRUPTS 1 15 | #endif 16 | 17 | #if FASTLED_ALLOW_INTERRUPTS == 1 18 | #define FASTLED_ACCURATE_CLOCK 19 | #endif 20 | 21 | // reusing/abusing cli/sei defs for due 22 | #define cli() __disable_irq(); 23 | #define sei() __enable_irq(); 24 | 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/d51/README.txt: -------------------------------------------------------------------------------- 1 | FastLED updates for adafruit FEATHER M4 and fixes to ITSBITSY M4 compiles 2 | SAMD51 3 | 4 | Tested on 5 | - FEATHER M4 with DOTSTAR and neopixel strips 6 | - Seeed Wio Terminal and WS2812B and APA102 LED strips using either SPI or GPIO pins 7 | 8 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/d51/fastled_arm_d51.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_FASTLED_ARM_D51_H 2 | #define __INC_FASTLED_ARM_D51_H 3 | 4 | #include "fastpin_arm_d51.h" 5 | #include "../../fastspi_ardunio_core.h" 6 | #include "clockless_arm_d51.h" 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/d51/led_sysdefs_arm_d51.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_LED_SYSDEFS_ARM_D51_H 2 | #define __INC_LED_SYSDEFS_ARM_D51_H 3 | 4 | 5 | #define FASTLED_ARM 6 | 7 | #ifndef INTERRUPT_THRESHOLD 8 | #define INTERRUPT_THRESHOLD 1 9 | #endif 10 | 11 | // Default to allowing interrupts 12 | #ifndef FASTLED_ALLOW_INTERRUPTS 13 | #define FASTLED_ALLOW_INTERRUPTS 1 14 | #endif 15 | 16 | #if FASTLED_ALLOW_INTERRUPTS == 1 17 | #define FASTLED_ACCURATE_CLOCK 18 | #endif 19 | 20 | // reusing/abusing cli/sei defs for due 21 | #define cli() __disable_irq(); 22 | #define sei() __enable_irq(); 23 | 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/k20/fastled_arm_k20.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_FASTLED_ARM_K20_H 2 | #define __INC_FASTLED_ARM_K20_H 3 | 4 | // Include the k20 headers 5 | #include "fastpin_arm_k20.h" 6 | #include "fastspi_arm_k20.h" 7 | #include "octows2811_controller.h" 8 | #include "ws2812serial_controller.h" 9 | #include "smartmatrix_t3.h" 10 | #include "clockless_arm_k20.h" 11 | #include "clockless_block_arm_k20.h" 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/k20/led_sysdefs_arm_k20.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_LED_SYSDEFS_ARM_K20_H 2 | #define __INC_LED_SYSDEFS_ARM_K20_H 3 | 4 | #define FASTLED_TEENSY3 5 | #define FASTLED_ARM 6 | 7 | #ifndef INTERRUPT_THRESHOLD 8 | #define INTERRUPT_THRESHOLD 1 9 | #endif 10 | 11 | // Default to allowing interrupts 12 | #ifndef FASTLED_ALLOW_INTERRUPTS 13 | #define FASTLED_ALLOW_INTERRUPTS 1 14 | #endif 15 | 16 | #if FASTLED_ALLOW_INTERRUPTS == 1 17 | #define FASTLED_ACCURATE_CLOCK 18 | #endif 19 | 20 | #if (F_CPU == 96000000) 21 | #define CLK_DBL 1 22 | #endif 23 | 24 | // Get some system include files 25 | #include 26 | #include // for cli/se definitions 27 | 28 | // Define the register types 29 | #if defined(ARDUINO) // && ARDUINO < 150 30 | typedef volatile uint8_t RoReg; /**< Read only 8-bit register (volatile const unsigned int) */ 31 | typedef volatile uint8_t RwReg; /**< Read-Write 8-bit register (volatile unsigned int) */ 32 | #endif 33 | 34 | extern volatile uint32_t systick_millis_count; 35 | # define MS_COUNTER systick_millis_count 36 | 37 | 38 | // Default to using PROGMEM, since TEENSY3 provides it 39 | // even though all it does is ignore it. Just being 40 | // conservative here in case TEENSY3 changes. 41 | #ifndef FASTLED_USE_PROGMEM 42 | #define FASTLED_USE_PROGMEM 1 43 | #endif 44 | 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/k20/octows2811_controller.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_OCTOWS2811_CONTROLLER_H 2 | #define __INC_OCTOWS2811_CONTROLLER_H 3 | 4 | #ifdef USE_OCTOWS2811 5 | 6 | // #include "OctoWS2811.h" 7 | 8 | FASTLED_NAMESPACE_BEGIN 9 | 10 | template 11 | class COctoWS2811Controller : public CPixelLEDController { 12 | OctoWS2811 *pocto; 13 | uint8_t *drawbuffer,*framebuffer; 14 | 15 | void _init(int nLeds) { 16 | if(pocto == NULL) { 17 | drawbuffer = (uint8_t*)malloc(nLeds * 8 * 3); 18 | framebuffer = (uint8_t*)malloc(nLeds * 8 * 3); 19 | 20 | // byte ordering is handled in show by the pixel controller 21 | int config = WS2811_RGB; 22 | config |= CHIP; 23 | 24 | pocto = new OctoWS2811(nLeds, framebuffer, drawbuffer, config); 25 | 26 | pocto->begin(); 27 | } 28 | } 29 | public: 30 | COctoWS2811Controller() { pocto = NULL; } 31 | virtual int size() { return CLEDController::size() * 8; } 32 | 33 | virtual void init() { /* do nothing yet */ } 34 | 35 | typedef union { 36 | uint8_t bytes[8]; 37 | uint32_t raw[2]; 38 | } Lines; 39 | 40 | virtual void showPixels(PixelController & pixels) { 41 | _init(pixels.size()); 42 | 43 | uint8_t *pData = drawbuffer; 44 | while(pixels.has(1)) { 45 | Lines b; 46 | 47 | for(int i = 0; i < 8; ++i) { b.bytes[i] = pixels.loadAndScale0(i); } 48 | transpose8x1_MSB(b.bytes,pData); pData += 8; 49 | for(int i = 0; i < 8; ++i) { b.bytes[i] = pixels.loadAndScale1(i); } 50 | transpose8x1_MSB(b.bytes,pData); pData += 8; 51 | for(int i = 0; i < 8; ++i) { b.bytes[i] = pixels.loadAndScale2(i); } 52 | transpose8x1_MSB(b.bytes,pData); pData += 8; 53 | pixels.stepDithering(); 54 | pixels.advanceData(); 55 | } 56 | 57 | pocto->show(); 58 | } 59 | 60 | }; 61 | 62 | FASTLED_NAMESPACE_END 63 | 64 | #endif 65 | 66 | #endif 67 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/k20/smartmatrix_t3.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_SMARTMATRIX_T3_H 2 | #define __INC_SMARTMATRIX_T3_H 3 | 4 | #ifdef SmartMatrix_h 5 | #include 6 | 7 | FASTLED_NAMESPACE_BEGIN 8 | 9 | extern SmartMatrix *pSmartMatrix; 10 | 11 | // note - dmx simple must be included before FastSPI for this code to be enabled 12 | class CSmartMatrixController : public CPixelLEDController { 13 | SmartMatrix matrix; 14 | 15 | public: 16 | // initialize the LED controller 17 | virtual void init() { 18 | // Initialize 32x32 LED Matrix 19 | matrix.begin(); 20 | matrix.setBrightness(255); 21 | matrix.setColorCorrection(ccNone); 22 | 23 | // Clear screen 24 | clearLeds(0); 25 | matrix.swapBuffers(); 26 | pSmartMatrix = &matrix; 27 | } 28 | 29 | virtual void showPixels(PixelController & pixels) { 30 | if(SMART_MATRIX_CAN_TRIPLE_BUFFER) { 31 | rgb24 *md = matrix.getRealBackBuffer(); 32 | } else { 33 | rgb24 *md = matrix.backBuffer(); 34 | } 35 | while(pixels.has(1)) { 36 | md->red = pixels.loadAndScale0(); 37 | md->green = pixels.loadAndScale1(); 38 | md->blue = pixels.loadAndScale2(); 39 | md++; 40 | pixels.advanceData(); 41 | pixels.stepDithering(); 42 | } 43 | matrix.swapBuffers(); 44 | if(SMART_MATRIX_CAN_TRIPLE_BUFFER && pixels.advanceBy() > 0) { 45 | matrix.setBackBuffer(pixels.mData); 46 | } 47 | } 48 | }; 49 | 50 | FASTLED_NAMESPACE_END 51 | 52 | #endif 53 | 54 | #endif 55 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/k20/ws2812serial_controller.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_WS2812SERIAL_CONTROLLER_H 2 | #define __INC_WS2812SERIAL_CONTROLLER_H 3 | 4 | #ifdef USE_WS2812SERIAL 5 | 6 | FASTLED_NAMESPACE_BEGIN 7 | 8 | template 9 | class CWS2812SerialController : public CPixelLEDController { 10 | WS2812Serial *pserial; 11 | uint8_t *drawbuffer,*framebuffer; 12 | 13 | void _init(int nLeds) { 14 | if (pserial == NULL) { 15 | drawbuffer = (uint8_t*)malloc(nLeds * 3); 16 | framebuffer = (uint8_t*)malloc(nLeds * 12); 17 | pserial = new WS2812Serial(nLeds, framebuffer, drawbuffer, DATA_PIN, WS2812_RGB); 18 | pserial->begin(); 19 | } 20 | } 21 | 22 | public: 23 | CWS2812SerialController() { pserial = NULL; } 24 | 25 | virtual void init() { /* do nothing yet */ } 26 | 27 | virtual void showPixels(PixelController & pixels) { 28 | _init(pixels.size()); 29 | 30 | uint8_t *p = drawbuffer; 31 | 32 | while(pixels.has(1)) { 33 | *p++ = pixels.loadAndScale0(); 34 | *p++ = pixels.loadAndScale1(); 35 | *p++ = pixels.loadAndScale2(); 36 | pixels.stepDithering(); 37 | pixels.advanceData(); 38 | } 39 | pserial->show(); 40 | } 41 | 42 | }; 43 | 44 | FASTLED_NAMESPACE_END 45 | 46 | #endif // USE_WS2812SERIAL 47 | #endif // __INC_WS2812SERIAL_CONTROLLER_H 48 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/k66/fastled_arm_k66.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_FASTLED_ARM_K66_H 2 | #define __INC_FASTLED_ARM_K66_H 3 | 4 | // Include the k66 headers 5 | #include "fastpin_arm_k66.h" 6 | #include "fastspi_arm_k66.h" 7 | #include "../k20/octows2811_controller.h" 8 | #include "../k20/ws2812serial_controller.h" 9 | #include "../k20/smartmatrix_t3.h" 10 | #include "clockless_arm_k66.h" 11 | #include "clockless_block_arm_k66.h" 12 | 13 | #endif 14 | 15 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/k66/led_sysdefs_arm_k66.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_LED_SYSDEFS_ARM_K66_H 2 | #define __INC_LED_SYSDEFS_ARM_K66_H 3 | 4 | #define FASTLED_TEENSY3 5 | #define FASTLED_ARM 6 | 7 | #ifndef INTERRUPT_THRESHOLD 8 | #define INTERRUPT_THRESHOLD 1 9 | #endif 10 | 11 | // Default to allowing interrupts 12 | #ifndef FASTLED_ALLOW_INTERRUPTS 13 | #define FASTLED_ALLOW_INTERRUPTS 1 14 | #endif 15 | 16 | #if FASTLED_ALLOW_INTERRUPTS == 1 17 | #define FASTLED_ACCURATE_CLOCK 18 | #endif 19 | 20 | #if (F_CPU == 192000000) 21 | #define CLK_DBL 1 22 | #endif 23 | 24 | // Get some system include files 25 | #include 26 | #include // for cli/se definitions 27 | 28 | // Define the register types 29 | #if defined(ARDUINO) // && ARDUINO < 150 30 | typedef volatile uint8_t RoReg; /**< Read only 8-bit register (volatile const unsigned int) */ 31 | typedef volatile uint8_t RwReg; /**< Read-Write 8-bit register (volatile unsigned int) */ 32 | #endif 33 | 34 | extern volatile uint32_t systick_millis_count; 35 | # define MS_COUNTER systick_millis_count 36 | 37 | 38 | // Default to using PROGMEM, since TEENSY3 provides it 39 | // even though all it does is ignore it. Just being 40 | // conservative here in case TEENSY3 changes. 41 | #ifndef FASTLED_USE_PROGMEM 42 | #define FASTLED_USE_PROGMEM 1 43 | #endif 44 | 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/kl26/fastled_arm_kl26.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_FASTLED_ARM_KL26_H 2 | #define __INC_FASTLED_ARM_KL26_H 3 | 4 | // Include the k20 headers 5 | #include "fastpin_arm_kl26.h" 6 | #include "fastspi_arm_kl26.h" 7 | #include "clockless_arm_kl26.h" 8 | #include "../k20/ws2812serial_controller.h" 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/kl26/led_sysdefs_arm_kl26.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_LED_SYSDEFS_ARM_KL26_H 2 | #define __INC_LED_SYSDEFS_ARM_KL26_H 3 | 4 | #define FASTLED_TEENSYLC 5 | #define FASTLED_ARM 6 | #define FASTLED_ARM_M0_PLUS 7 | 8 | #ifndef INTERRUPT_THRESHOLD 9 | #define INTERRUPT_THRESHOLD 1 10 | #endif 11 | 12 | #define FASTLED_SPI_BYTE_ONLY 13 | 14 | // Default to allowing interrupts 15 | #ifndef FASTLED_ALLOW_INTERRUPTS 16 | // #define FASTLED_ALLOW_INTERRUPTS 1 17 | #endif 18 | 19 | #if FASTLED_ALLOW_INTERRUPTS == 1 20 | #define FASTLED_ACCURATE_CLOCK 21 | #endif 22 | 23 | #if (F_CPU == 96000000) 24 | #define CLK_DBL 1 25 | #endif 26 | 27 | // Get some system include files 28 | #include 29 | #include // for cli/se definitions 30 | 31 | // Define the register types 32 | #if defined(ARDUINO) // && ARDUINO < 150 33 | typedef volatile uint8_t RoReg; /**< Read only 8-bit register (volatile const unsigned int) */ 34 | typedef volatile uint8_t RwReg; /**< Read-Write 8-bit register (volatile unsigned int) */ 35 | #endif 36 | 37 | extern volatile uint32_t systick_millis_count; 38 | # define MS_COUNTER systick_millis_count 39 | 40 | // Default to using PROGMEM since TEENSYLC provides it 41 | // even though all it does is ignore it. Just being 42 | // conservative here in case TEENSYLC changes. 43 | #ifndef FASTLED_USE_PROGMEM 44 | #define FASTLED_USE_PROGMEM 1 45 | #endif 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/mxrt1062/fastled_arm_mxrt1062.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_FASTLED_ARM_MXRT1062_H 2 | #define __INC_FASTLED_ARM_MXRT1062_H 3 | 4 | #include "fastpin_arm_mxrt1062.h" 5 | #include "fastspi_arm_mxrt1062.h" 6 | #include "octows2811_controller.h" 7 | #include "../k20/ws2812serial_controller.h" 8 | #include "../k20/smartmatrix_t3.h" 9 | #include "clockless_arm_mxrt1062.h" 10 | #include "block_clockless_arm_mxrt1062.h" 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/mxrt1062/led_sysdefs_arm_mxrt1062.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_LED_SYSDEFS_ARM_MXRT1062_H 2 | #define __INC_LED_SYSDEFS_ARM_MXRT1062_H 3 | 4 | #define FASTLED_TEENSY4 5 | #define FASTLED_ARM 6 | 7 | #ifndef INTERRUPT_THRESHOLD 8 | #define INTERRUPT_THRESHOLD 1 9 | #endif 10 | 11 | // Default to allowing interrupts 12 | #ifndef FASTLED_ALLOW_INTERRUPTS 13 | #define FASTLED_ALLOW_INTERRUPTS 1 14 | #endif 15 | 16 | #if FASTLED_ALLOW_INTERRUPTS == 1 17 | #define FASTLED_ACCURATE_CLOCK 18 | #endif 19 | 20 | #if (F_CPU == 96000000) 21 | #define CLK_DBL 1 22 | #endif 23 | 24 | // Get some system include files 25 | #include 26 | #include // for cli/se definitions 27 | 28 | // Define the register types 29 | #if defined(ARDUINO) // && ARDUINO < 150 30 | typedef volatile uint32_t RoReg; /**< Read only 8-bit register (volatile const unsigned int) */ 31 | typedef volatile uint32_t RwReg; /**< Read-Write 8-bit register (volatile unsigned int) */ 32 | #endif 33 | 34 | // extern volatile uint32_t systick_millis_count; 35 | // # define MS_COUNTER systick_millis_count 36 | 37 | // Teensy4 provides progmem 38 | #ifndef FASTLED_USE_PROGMEM 39 | #define FASTLED_USE_PROGMEM 1 40 | #endif 41 | 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/mxrt1062/octows2811_controller.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_OCTOWS2811_CONTROLLER_H 2 | #define __INC_OCTOWS2811_CONTROLLER_H 3 | 4 | #ifdef USE_OCTOWS2811 5 | 6 | // #include "OctoWS2811.h" 7 | 8 | FASTLED_NAMESPACE_BEGIN 9 | 10 | template 11 | class COctoWS2811Controller : public CPixelLEDController { 12 | OctoWS2811 *pocto; 13 | uint8_t *drawbuffer,*framebuffer; 14 | 15 | void _init(int nLeds) { 16 | if(pocto == NULL) { 17 | drawbuffer = (uint8_t*)malloc(nLeds * 8 * 3); 18 | framebuffer = (uint8_t*)malloc(nLeds * 8 * 3); 19 | 20 | // byte ordering is handled in show by the pixel controller 21 | int config = WS2811_RGB; 22 | config |= CHIP; 23 | 24 | pocto = new OctoWS2811(nLeds, framebuffer, drawbuffer, config); 25 | 26 | pocto->begin(); 27 | } 28 | } 29 | public: 30 | COctoWS2811Controller() { pocto = NULL; } 31 | virtual int size() { return CLEDController::size() * 8; } 32 | 33 | virtual void init() { /* do nothing yet */ } 34 | 35 | virtual void showPixels(PixelController &pixels) { 36 | uint32_t size = pixels.size(); 37 | uint32_t sizeTimes8 = 8U * size; 38 | _init(size); 39 | 40 | uint32_t index = 0; 41 | while (pixels.has(1)) { 42 | for (int lane = 0; lane < 8; lane++) { 43 | uint8_t r = pixels.loadAndScale0(lane); 44 | uint8_t g = pixels.loadAndScale1(lane); 45 | uint8_t b = pixels.loadAndScale2(lane); 46 | pocto->setPixel(index, r, g, b); 47 | index += size; 48 | } 49 | index -= sizeTimes8; 50 | index++; 51 | pixels.stepDithering(); 52 | pixels.advanceData(); 53 | } 54 | 55 | pocto->show(); 56 | } 57 | 58 | }; 59 | 60 | FASTLED_NAMESPACE_END 61 | 62 | #endif 63 | 64 | #endif 65 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/nrf51/fastled_arm_nrf51.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_FASTLED_ARM_NRF51_H 2 | #define __INC_FASTLED_ARM_NRF51_H 3 | 4 | // Include the k20 headers 5 | #include "fastpin_arm_nrf51.h" 6 | #include "fastspi_arm_nrf51.h" 7 | #include "clockless_arm_nrf51.h" 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/nrf51/led_sysdefs_arm_nrf51.h: -------------------------------------------------------------------------------- 1 | #ifndef __LED_SYSDEFS_ARM_NRF51 2 | #define __LED_SYSDEFS_ARM_NRF51 3 | 4 | #ifndef NRF51 5 | #define NRF51 6 | #endif 7 | 8 | #define LED_TIMER NRF_TIMER1 9 | #define FASTLED_NO_PINMAP 10 | #define FASTLED_HAS_CLOCKLESS 11 | 12 | #define FASTLED_SPI_BYTE_ONLY 13 | 14 | #define FASTLED_ARM 15 | #define FASTLED_ARM_M0 16 | 17 | #ifndef F_CPU 18 | #define F_CPU 16000000 19 | #endif 20 | 21 | #include 22 | #include 23 | #include 24 | 25 | typedef volatile uint32_t RoReg; 26 | typedef volatile uint32_t RwReg; 27 | typedef uint32_t prog_uint32_t; 28 | typedef uint8_t boolean; 29 | 30 | #define PROGMEM 31 | #define NO_PROGMEM 32 | #define NEED_CXX_BITS 33 | 34 | // Default to NOT using PROGMEM here 35 | #ifndef FASTLED_USE_PROGMEM 36 | #define FASTLED_USE_PROGMEM 0 37 | #endif 38 | 39 | #ifndef FASTLED_ALLOW_INTERRUPTS 40 | #define FASTLED_ALLOW_INTERRUPTS 1 41 | #endif 42 | 43 | #define cli() __disable_irq(); 44 | #define sei() __enable_irq(); 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/nrf52/fastled_arm_nrf52.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_FASTLED_ARM_NRF52_H 2 | #define __INC_FASTLED_ARM_NRF52_H 3 | 4 | #include "led_sysdefs_arm_nrf52.h" 5 | #include "arbiter_nrf52.h" 6 | #include "fastpin_arm_nrf52.h" 7 | #include "fastspi_arm_nrf52.h" 8 | #include "clockless_arm_nrf52.h" 9 | 10 | #endif // #ifndef __INC_FASTLED_ARM_NRF52_H 11 | 12 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/nrf52/led_sysdefs_arm_nrf52.h: -------------------------------------------------------------------------------- 1 | #ifndef __LED_SYSDEFS_ARM_NRF52 2 | #define __LED_SYSDEFS_ARM_NRF52 3 | 4 | #define FASTLED_ARM 5 | 6 | #ifndef F_CPU 7 | #define F_CPU 64000000 // the NRF52 series has a 64MHz CPU 8 | #endif 9 | 10 | // even though CPU is at 64MHz, use the 8MHz-defined timings because... 11 | // PWM module runs at 16MHz 12 | // SPI0..2 runs at 8MHz 13 | #define CLOCKLESS_FREQUENCY 16000000 // the NRF52 has EasyDMA for PWM module at 16MHz 14 | 15 | #ifndef F_TIMER 16 | #define F_TIMER 16000000 // the NRF52 timer is 16MHz, even though CPU is 64MHz 17 | #endif 18 | 19 | #if !defined(FASTLED_USE_PROGMEM) 20 | #define FASTLED_USE_PROGMEM 0 // nRF52 series have flat memory model 21 | #endif 22 | 23 | #if !defined(FASTLED_ALLOW_INTERRUPTS) 24 | #define FASTLED_ALLOW_INTERRUPTS 1 25 | #endif 26 | 27 | // Use PWM instance 0 28 | // See clockless_arm_nrf52.h and (in root of library) platforms.cpp 29 | #define FASTLED_NRF52_ENABLE_PWM_INSTANCE0 30 | 31 | #if defined(FASTLED_NRF52_NEVER_INLINE) 32 | #define FASTLED_NRF52_INLINE_ATTRIBUTE __attribute__((always_inline)) inline 33 | #else 34 | #define FASTLED_NRF52_INLINE_ATTRIBUTE __attribute__((always_inline)) inline 35 | #endif 36 | 37 | 38 | 39 | #include 40 | #include // for FastSPI 41 | #include // for Clockless 42 | #include // for Clockless / anything else using interrupts 43 | typedef __I uint32_t RoReg; 44 | typedef __IO uint32_t RwReg; 45 | 46 | #define cli() __disable_irq() 47 | #define sei() __enable_irq() 48 | 49 | #define FASTLED_NRF52_DEBUGPRINT(format, ...)\ 50 | // do { FastLED_NRF52_DebugPrint(format, ##__VA_ARGS__); } while(0); 51 | 52 | #endif // __LED_SYSDEFS_ARM_NRF52 53 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/rp2040/fastled_arm_rp2040.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_FASTLED_ARM_RP2040_H 2 | #define __INC_FASTLED_ARM_RP2040_H 3 | 4 | // Include the rp2040 headers 5 | #include "fastpin_arm_rp2040.h" 6 | #include "clockless_arm_rp2040.h" 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/sam/fastled_arm_sam.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_FASTLED_ARM_SAM_H 2 | #define __INC_FASTLED_ARM_SAM_H 3 | 4 | // Include the sam headers 5 | #include "fastpin_arm_sam.h" 6 | #include "fastspi_arm_sam.h" 7 | #include "clockless_arm_sam.h" 8 | #include "clockless_block_arm_sam.h" 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/sam/led_sysdefs_arm_sam.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_LED_SYSDEFS_ARM_SAM_H 2 | #define __INC_LED_SYSDEFS_ARM_SAM_H 3 | 4 | 5 | #define FASTLED_ARM 6 | 7 | // Setup DUE timer defines/channels/etc... 8 | #ifndef DUE_TIMER_CHANNEL 9 | #define DUE_TIMER_GROUP 0 10 | #endif 11 | 12 | #ifndef DUE_TIMER_CHANNEL 13 | #define DUE_TIMER_CHANNEL 0 14 | #endif 15 | 16 | #define DUE_TIMER ((DUE_TIMER_GROUP==0) ? TC0 : ((DUE_TIMER_GROUP==1) ? TC1 : TC2)) 17 | #define DUE_TIMER_ID (ID_TC0 + (DUE_TIMER_GROUP*3) + DUE_TIMER_CHANNEL) 18 | #define DUE_TIMER_VAL (DUE_TIMER->TC_CHANNEL[DUE_TIMER_CHANNEL].TC_CV << 1) 19 | #define DUE_TIMER_RUNNING ((DUE_TIMER->TC_CHANNEL[DUE_TIMER_CHANNEL].TC_SR & TC_SR_CLKSTA) != 0) 20 | 21 | #ifndef INTERRUPT_THRESHOLD 22 | #define INTERRUPT_THRESHOLD 1 23 | #endif 24 | 25 | // Default to allowing interrupts 26 | #ifndef FASTLED_ALLOW_INTERRUPTS 27 | #define FASTLED_ALLOW_INTERRUPTS 1 28 | #endif 29 | 30 | #if FASTLED_ALLOW_INTERRUPTS == 1 31 | #define FASTLED_ACCURATE_CLOCK 32 | #endif 33 | 34 | // reusing/abusing cli/sei defs for due 35 | #define cli() __disable_irq(); __disable_fault_irq(); 36 | #define sei() __enable_irq(); __enable_fault_irq(); 37 | 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/arm/stm32/fastled_arm_stm32.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_FASTLED_ARM_SAM_H 2 | #define __INC_FASTLED_ARM_SAM_H 3 | 4 | // Include the sam headers 5 | #include "fastpin_arm_stm32.h" 6 | // #include "fastspi_arm_stm32.h" 7 | #include "clockless_arm_stm32.h" 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/avr/fastled_avr.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_FASTLED_AVR_H 2 | #define __INC_FASTLED_AVR_H 3 | 4 | #include "fastpin_avr.h" 5 | #include "fastspi_avr.h" 6 | #include "clockless_trinket.h" 7 | 8 | // Default to using PROGMEM 9 | #ifndef FASTLED_USE_PROGMEM 10 | #define FASTLED_USE_PROGMEM 1 11 | #endif 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/esp/32/fastled_esp32.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "fastpin_esp32.h" 4 | 5 | #ifdef FASTLED_ALL_PINS_HARDWARE_SPI 6 | #include "fastspi_esp32.h" 7 | #endif 8 | 9 | #ifdef FASTLED_ESP32_I2S 10 | #include "clockless_i2s_esp32.h" 11 | #else 12 | #include "clockless_rmt_esp32.h" 13 | #endif 14 | 15 | // #include "clockless_block_esp32.h" 16 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/esp/32/led_sysdefs_esp32.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "esp32-hal.h" 3 | #ifndef ESP32 4 | #define ESP32 5 | #endif 6 | 7 | #define FASTLED_ESP32 8 | 9 | #if CONFIG_IDF_TARGET_ARCH_RISCV 10 | #define FASTLED_RISCV 11 | #else 12 | #define FASTLED_XTENSA 13 | #endif 14 | 15 | // Handling for older versions of ESP32 Arduino core 16 | #if !defined(ESP_IDF_VERSION) 17 | // Older versions of ESP_IDF only supported ESP32 18 | #define CONFIG_IDF_TARGET_ESP32 1 19 | // Define missing version macros. Hard code older version 3.0 since actual version is unknown 20 | #define ESP_IDF_VERSION_VAL(major, minor, patch) ((major << 16) | (minor << 8) | (patch)) 21 | #define ESP_IDF_VERSION ESP_IDF_VERSION_VAL(3, 0, 0) 22 | #endif 23 | 24 | // Use system millis timer 25 | #define FASTLED_HAS_MILLIS 26 | 27 | typedef volatile uint32_t RoReg; 28 | typedef volatile uint32_t RwReg; 29 | typedef unsigned long prog_uint32_t; 30 | 31 | 32 | // Default to NOT using PROGMEM here 33 | #ifndef FASTLED_USE_PROGMEM 34 | # define FASTLED_USE_PROGMEM 0 35 | #endif 36 | 37 | #ifndef FASTLED_ALLOW_INTERRUPTS 38 | # define FASTLED_ALLOW_INTERRUPTS 1 39 | # define INTERRUPT_THRESHOLD 0 40 | #endif 41 | 42 | #define NEED_CXX_BITS 43 | 44 | // These can be overridden 45 | # define FASTLED_ESP32_RAW_PIN_ORDER 46 | 47 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/esp/8266/fastled_esp8266.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "fastpin_esp8266.h" 4 | 5 | #ifdef FASTLED_ALL_PINS_HARDWARE_SPI 6 | #include "fastspi_esp8266.h" 7 | #endif 8 | 9 | #include "clockless_esp8266.h" 10 | #include "clockless_block_esp8266.h" 11 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/src/platforms/esp/8266/led_sysdefs_esp8266.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifndef ESP8266 4 | #define ESP8266 5 | #endif 6 | 7 | #define FASTLED_ESP8266 8 | 9 | // Use system millis timer 10 | #define FASTLED_HAS_MILLIS 11 | 12 | typedef volatile uint32_t RoReg; 13 | typedef volatile uint32_t RwReg; 14 | typedef uint32_t prog_uint32_t; 15 | 16 | 17 | // Default to NOT using PROGMEM here 18 | #ifndef FASTLED_USE_PROGMEM 19 | # define FASTLED_USE_PROGMEM 0 20 | #endif 21 | 22 | #ifndef FASTLED_ALLOW_INTERRUPTS 23 | # define FASTLED_ALLOW_INTERRUPTS 1 24 | # define INTERRUPT_THRESHOLD 0 25 | #endif 26 | 27 | #define NEED_CXX_BITS 28 | 29 | // These can be overridden 30 | #if !defined(FASTLED_ESP8266_RAW_PIN_ORDER) && !defined(FASTLED_ESP8266_NODEMCU_PIN_ORDER) && !defined(FASTLED_ESP8266_D1_PIN_ORDER) 31 | # ifdef ARDUINO_ESP8266_NODEMCU 32 | # define FASTLED_ESP8266_NODEMCU_PIN_ORDER 33 | # else 34 | # define FASTLED_ESP8266_RAW_PIN_ORDER 35 | # endif 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/FastLED/workspace.code-workspace: -------------------------------------------------------------------------------- 1 | { 2 | "folders": [ 3 | { 4 | "path": "." 5 | } 6 | ] 7 | } -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Framebuffer GFX/.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | Thank you for creating a pull request to contribute to Adafruit's GitHub code! 2 | Before you open the request please review the following guidelines and tips to 3 | help it be more easily integrated: 4 | 5 | - **Describe the scope of your change--i.e. what the change does and what parts 6 | of the code were modified.** This will help us understand any risks of integrating 7 | the code. 8 | 9 | - **Describe any known limitations with your change.** For example if the change 10 | doesn't apply to a supported platform of the library please mention it. 11 | 12 | - **Please run any tests or examples that can exercise your modified code.** We 13 | strive to not break users of the code and running tests/examples helps with this 14 | process. 15 | 16 | Thank you again for contributing! We will try to test and integrate the change 17 | as soon as we can, but be aware we have many GitHub repositories to manage and 18 | can't immediately respond to every request. There is no need to bump or check in 19 | on a pull request (it will clutter the discussion of the request). 20 | 21 | Also don't be worried if the request is closed or not integrated--sometimes the 22 | priorities of Adafruit's GitHub code (education, ease of use) might not match the 23 | priorities of the pull request. Don't fret, the open source community thrives on 24 | forks and GitHub makes it easy to keep your changes in a forked repo. 25 | 26 | After reviewing the guidelines above you can delete this text from the pull request. 27 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Framebuffer GFX/.gitignore: -------------------------------------------------------------------------------- 1 | # vim 2 | *.swp 3 | 4 | # Prerequisites 5 | *.d 6 | 7 | # Compiled Object files 8 | *.slo 9 | *.lo 10 | *.o 11 | *.obj 12 | 13 | # Precompiled Headers 14 | *.gch 15 | *.pch 16 | 17 | # Compiled Dynamic libraries 18 | *.so 19 | *.dylib 20 | *.dll 21 | 22 | # Fortran module files 23 | *.mod 24 | *.smod 25 | 26 | # Compiled Static libraries 27 | *.lai 28 | *.la 29 | *.a 30 | *.lib 31 | 32 | # Executables 33 | *.exe 34 | *.out 35 | *.app 36 | 37 | 38 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Framebuffer GFX/.piopm: -------------------------------------------------------------------------------- 1 | {"type": "library", "name": "Framebuffer GFX", "version": "1.1.0", "spec": {"owner": "marcmerlin", "id": 7194, "name": "Framebuffer GFX", "requirements": null, "uri": null}} -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Framebuffer GFX/gamma.h: -------------------------------------------------------------------------------- 1 | #ifndef _GAMMA_H_ 2 | #define _GAMMA_H_ 3 | 4 | #ifdef __AVR 5 | #include 6 | #elif defined(ESP8266) 7 | #include 8 | #else 9 | #ifndef PROGMEM 10 | #define PROGMEM 11 | #endif 12 | #endif 13 | 14 | static const uint8_t PROGMEM 15 | gamma5[] = { 16 | 0x00,0x01,0x02,0x03,0x05,0x07,0x09,0x0b, 17 | 0x0e,0x11,0x14,0x18,0x1d,0x22,0x28,0x2e, 18 | 0x36,0x3d,0x46,0x4f,0x59,0x64,0x6f,0x7c, 19 | 0x89,0x97,0xa6,0xb6,0xc7,0xd9,0xeb,0xff }, 20 | gamma6[] = { 21 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x08, 22 | 0x09,0x0a,0x0b,0x0d,0x0e,0x10,0x12,0x13, 23 | 0x15,0x17,0x19,0x1b,0x1d,0x20,0x22,0x25, 24 | 0x27,0x2a,0x2d,0x30,0x33,0x37,0x3a,0x3e, 25 | 0x41,0x45,0x49,0x4d,0x52,0x56,0x5b,0x5f, 26 | 0x64,0x69,0x6e,0x74,0x79,0x7f,0x85,0x8b, 27 | 0x91,0x97,0x9d,0xa4,0xab,0xb2,0xb9,0xc0, 28 | 0xc7,0xcf,0xd6,0xde,0xe6,0xee,0xf7,0xff }; 29 | 30 | #endif // _GAMMA_H_ 31 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Framebuffer GFX/library.properties: -------------------------------------------------------------------------------- 1 | name=Framebuffer GFX 2 | version=1.1 3 | author=Marc Merlin 4 | maintainer=Marc MERLIN 5 | sentence=Adafruit_GFX and FastLED compatible Framebuffer library 6 | paragraph=This is a base class required by many libraries like FastLED_NeoMatrix. 7 | category=Display 8 | url=https://github.com/marcmerlin/Framebuffer_GFX 9 | architectures=* 10 | depends=FastLED,Adafruit GFX Library 11 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/.editorconfig: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Unity Project - A Test Framework for C 3 | # .editorconfig - F. Zahn 2019 4 | ############################################################################### 5 | 6 | # This is the topmost .editorconfig file 7 | root = true 8 | 9 | # Settings that apply to all languages / files 10 | [*] 11 | charset = utf-8 12 | indent_size = 4 13 | indent_style = space 14 | insert_final_newline = true 15 | trim_trailing_whitespace = true 16 | 17 | [*.md] 18 | trim_trailing_whitespace = false 19 | 20 | [*.txt] 21 | trim_trailing_whitespace = false 22 | 23 | [*.rb] 24 | indent_size = 2 25 | 26 | [*.yml] 27 | indent_size = 2 28 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | 3 | # These files are text and should be normalized (convert crlf to lf) 4 | *.rb text 5 | *.test text 6 | *.c text 7 | *.cpp text 8 | *.h text 9 | *.txt text 10 | *.yml text 11 | *.s79 text 12 | *.bat text 13 | *.xcl text 14 | *.inc text 15 | *.info text 16 | *.md text 17 | makefile text 18 | rakefile text 19 | meson.build text 20 | 21 | 22 | #These files are binary and should not be normalized 23 | *.doc binary 24 | *.odt binary 25 | *.pdf binary 26 | *.ewd binary 27 | *.eww binary 28 | *.dni binary 29 | *.wsdt binary 30 | *.dbgdt binary 31 | *.mac binary 32 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Continuous Integration Workflow: Test case suite run + validation build check 3 | name: CI 4 | 5 | # Controls when the action will run. 6 | # Triggers the workflow on push or pull request events but only for the master branch 7 | on: 8 | push: 9 | branches: [ master ] 10 | pull_request: 11 | branches: [ master ] 12 | 13 | jobs: 14 | # Job: Unit test suite 15 | unit-tests: 16 | name: "Unit Tests" 17 | runs-on: ubuntu-latest 18 | steps: 19 | # Install Ruby Testing Tools 20 | - name: Setup Ruby Testing Tools 21 | run: | 22 | sudo gem install rspec 23 | sudo gem install rubocop -v 0.57.2 24 | 25 | # Checks out repository under $GITHUB_WORKSPACE 26 | - name: Checkout Latest Repo 27 | uses: actions/checkout@v2 28 | 29 | # Run Tests 30 | - name: Run All Unit Tests 31 | run: | 32 | cd test && rake ci 33 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | builddir/ 3 | test/sandbox 4 | .DS_Store 5 | examples/example_1/test1.exe 6 | examples/example_1/test2.exe 7 | examples/example_2/all_tests.exe 8 | examples/example_1/test1.out 9 | examples/example_1/test2.out 10 | examples/example_2/all_tests.out 11 | examples/example_4/builddir 12 | *.sublime-project 13 | *.sublime-workspace 14 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/.piopm: -------------------------------------------------------------------------------- 1 | {"type": "library", "name": "Unity", "version": "2.5.2", "spec": {"owner": "throwtheswitch", "id": 13894, "name": "Unity", "requirements": null, "uri": null}} -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2007-21 Mike Karlesky, Mark VanderVoord, Greg Williams 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/auto/colour_reporter.rb: -------------------------------------------------------------------------------- 1 | # ========================================== 2 | # Unity Project - A Test Framework for C 3 | # Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams 4 | # [Released under MIT License. Please refer to license.txt for details] 5 | # ========================================== 6 | 7 | require_relative 'colour_prompt' 8 | 9 | $colour_output = true 10 | 11 | def report(message) 12 | if !$colour_output 13 | $stdout.puts(message) 14 | else 15 | message = message.join('\n') if message.class == Array 16 | message.each_line do |line| 17 | line.chomp! 18 | colour = case line 19 | when /(?:total\s+)?tests:?\s+(\d+)\s+(?:total\s+)?failures:?\s+\d+\s+Ignored:?/i 20 | Regexp.last_match(1).to_i.zero? ? :green : :red 21 | when /PASS/ 22 | :green 23 | when /^OK$/ 24 | :green 25 | when /(?:FAIL|ERROR)/ 26 | :red 27 | when /IGNORE/ 28 | :yellow 29 | when /^(?:Creating|Compiling|Linking)/ 30 | :white 31 | else 32 | :silver 33 | end 34 | colour_puts(colour, line) 35 | end 36 | end 37 | $stdout.flush 38 | $stderr.flush 39 | end 40 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/auto/generate_config.yml: -------------------------------------------------------------------------------- 1 | #this is a sample configuration file for generate_module 2 | #you would use it by calling generate_module with the -ygenerate_config.yml option 3 | #files like this are useful for customizing generate_module to your environment 4 | :generate_module: 5 | :defaults: 6 | #these defaults are used in place of any missing options at the command line 7 | :path_src: ../src/ 8 | :path_inc: ../src/ 9 | :path_tst: ../test/ 10 | :update_svn: true 11 | :includes: 12 | #use [] for no additional includes, otherwise list the includes on separate lines 13 | :src: 14 | - Defs.h 15 | - Board.h 16 | :inc: [] 17 | :tst: 18 | - Defs.h 19 | - Board.h 20 | - Exception.h 21 | :boilerplates: 22 | #these are inserted at the top of generated files. 23 | #just comment out or remove if not desired. 24 | #use %1$s where you would like the file name to appear (path/extension not included) 25 | :src: | 26 | //------------------------------------------- 27 | // %1$s.c 28 | //------------------------------------------- 29 | :inc: | 30 | //------------------------------------------- 31 | // %1$s.h 32 | //------------------------------------------- 33 | :tst: | 34 | //------------------------------------------- 35 | // Test%1$s.c : Units tests for %1$s.c 36 | //------------------------------------------- 37 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/auto/run_test.erb: -------------------------------------------------------------------------------- 1 | /*=======Test Runner Used To Run Each Test=====*/ 2 | static void run_test(UnityTestFunction func, const char* name, UNITY_LINE_TYPE line_num) 3 | { 4 | Unity.CurrentTestName = name; 5 | Unity.CurrentTestLineNumber = line_num; 6 | #ifdef UNITY_USE_COMMAND_LINE_ARGS 7 | if (!UnityTestMatches()) 8 | return; 9 | #endif 10 | Unity.NumberOfTests++; 11 | UNITY_CLR_DETAILS(); 12 | UNITY_EXEC_TIME_START(); 13 | CMock_Init(); 14 | if (TEST_PROTECT()) 15 | { 16 | <% if @options[:plugins].include?(:cexception) %> 17 | CEXCEPTION_T e; 18 | Try { 19 | <%= @options[:setup_name] %>(); 20 | func(); 21 | } Catch(e) { 22 | TEST_ASSERT_EQUAL_HEX32_MESSAGE(CEXCEPTION_NONE, e, "Unhandled Exception!"); 23 | } 24 | <% else %> 25 | <%= @options[:setup_name] %>(); 26 | func(); 27 | <% end %> 28 | } 29 | if (TEST_PROTECT()) 30 | { 31 | <%= @options[:teardown_name] %>(); 32 | CMock_Verify(); 33 | } 34 | CMock_Destroy(); 35 | UNITY_EXEC_TIME_STOP(); 36 | UnityConcludeTest(); 37 | } 38 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/auto/test_file_filter.rb: -------------------------------------------------------------------------------- 1 | # ========================================== 2 | # Unity Project - A Test Framework for C 3 | # Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams 4 | # [Released under MIT License. Please refer to license.txt for details] 5 | # ========================================== 6 | 7 | require'yaml' 8 | 9 | module RakefileHelpers 10 | class TestFileFilter 11 | def initialize(all_files = false) 12 | @all_files = all_files 13 | 14 | return unless @all_files 15 | return unless File.exist?('test_file_filter.yml') 16 | 17 | filters = YAML.load_file('test_file_filter.yml') 18 | @all_files = filters[:all_files] 19 | @only_files = filters[:only_files] 20 | @exclude_files = filters[:exclude_files] 21 | end 22 | 23 | attr_accessor :all_files, :only_files, :exclude_files 24 | end 25 | end 26 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/auto/type_sanitizer.rb: -------------------------------------------------------------------------------- 1 | module TypeSanitizer 2 | def self.sanitize_c_identifier(unsanitized) 3 | # convert filename to valid C identifier by replacing invalid chars with '_' 4 | unsanitized.gsub(/[-\/\\\.\,\s]/, '_') 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_1/readme.txt: -------------------------------------------------------------------------------- 1 | Example 1 2 | ========= 3 | 4 | Close to the simplest possible example of Unity, using only basic features. 5 | Run make to build & run the example tests. -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_1/src/ProductionCode.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode.h" 3 | 4 | int Counter = 0; 5 | int NumbersToFind[9] = { 0, 34, 55, 66, 32, 11, 1, 77, 888 }; /* some obnoxious array to search that is 1-based indexing instead of 0. */ 6 | 7 | /* This function is supposed to search through NumbersToFind and find a particular number. 8 | * If it finds it, the index is returned. Otherwise 0 is returned which sorta makes sense since 9 | * NumbersToFind is indexed from 1. Unfortunately it's broken 10 | * (and should therefore be caught by our tests) */ 11 | int FindFunction_WhichIsBroken(int NumberToFind) 12 | { 13 | int i = 0; 14 | while (i < 8) /* Notice I should have been in braces */ 15 | i++; 16 | if (NumbersToFind[i] == NumberToFind) /* Yikes! I'm getting run after the loop finishes instead of during it! */ 17 | return i; 18 | return 0; 19 | } 20 | 21 | int FunctionWhichReturnsLocalVariable(void) 22 | { 23 | return Counter; 24 | } 25 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_1/src/ProductionCode.h: -------------------------------------------------------------------------------- 1 | 2 | int FindFunction_WhichIsBroken(int NumberToFind); 3 | int FunctionWhichReturnsLocalVariable(void); 4 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_1/src/ProductionCode2.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode2.h" 3 | 4 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction) 5 | { 6 | (void)Poor; 7 | (void)LittleFunction; 8 | /* Since There Are No Tests Yet, This Function Could Be Empty For All We Know. 9 | * Which isn't terribly useful... but at least we put in a TEST_IGNORE so we won't forget */ 10 | return (char*)0; 11 | } 12 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_1/src/ProductionCode2.h: -------------------------------------------------------------------------------- 1 | 2 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction); 3 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_1/test/TestProductionCode2.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode2.h" 3 | #include "unity.h" 4 | 5 | /* These should be ignored because they are commented out in various ways: 6 | #include "whatever.h" 7 | #include "somethingelse.h" 8 | */ 9 | 10 | void setUp(void) 11 | { 12 | } 13 | 14 | void tearDown(void) 15 | { 16 | } 17 | 18 | void test_IgnoredTest(void) 19 | { 20 | TEST_IGNORE_MESSAGE("This Test Was Ignored On Purpose"); 21 | } 22 | 23 | void test_AnotherIgnoredTest(void) 24 | { 25 | TEST_IGNORE_MESSAGE("These Can Be Useful For Leaving Yourself Notes On What You Need To Do Yet"); 26 | } 27 | 28 | void test_ThisFunctionHasNotBeenTested_NeedsToBeImplemented(void) 29 | { 30 | TEST_IGNORE(); /* Like This */ 31 | } 32 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_1/test/test_runners/TestProductionCode2_Runner.c: -------------------------------------------------------------------------------- 1 | /* AUTOGENERATED FILE. DO NOT EDIT. */ 2 | 3 | /*=======Test Runner Used To Run Each Test Below=====*/ 4 | #define RUN_TEST(TestFunc, TestLineNum) \ 5 | { \ 6 | Unity.CurrentTestName = #TestFunc; \ 7 | Unity.CurrentTestLineNumber = TestLineNum; \ 8 | Unity.NumberOfTests++; \ 9 | if (TEST_PROTECT()) \ 10 | { \ 11 | setUp(); \ 12 | TestFunc(); \ 13 | } \ 14 | if (TEST_PROTECT()) \ 15 | { \ 16 | tearDown(); \ 17 | } \ 18 | UnityConcludeTest(); \ 19 | } 20 | 21 | /*=======Automagically Detected Files To Include=====*/ 22 | #include "unity.h" 23 | #include 24 | #include 25 | #include "ProductionCode2.h" 26 | 27 | /*=======External Functions This Runner Calls=====*/ 28 | extern void setUp(void); 29 | extern void tearDown(void); 30 | extern void test_IgnoredTest(void); 31 | extern void test_AnotherIgnoredTest(void); 32 | extern void test_ThisFunctionHasNotBeenTested_NeedsToBeImplemented(void); 33 | 34 | 35 | /*=======Test Reset Option=====*/ 36 | void resetTest(void); 37 | void resetTest(void) 38 | { 39 | tearDown(); 40 | setUp(); 41 | } 42 | 43 | 44 | /*=======MAIN=====*/ 45 | int main(void) 46 | { 47 | UnityBegin("test/TestProductionCode2.c"); 48 | RUN_TEST(test_IgnoredTest, 18); 49 | RUN_TEST(test_AnotherIgnoredTest, 23); 50 | RUN_TEST(test_ThisFunctionHasNotBeenTested_NeedsToBeImplemented, 28); 51 | 52 | return (UnityEnd()); 53 | } 54 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_2/makefile: -------------------------------------------------------------------------------- 1 | # ========================================== 2 | # Unity Project - A Test Framework for C 3 | # Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams 4 | # [Released under MIT License. Please refer to license.txt for details] 5 | # ========================================== 6 | 7 | #We try to detect the OS we are running on, and adjust commands as needed 8 | ifeq ($(OS),Windows_NT) 9 | ifeq ($(shell uname -s),) # not in a bash-like shell 10 | CLEANUP = del /F /Q 11 | MKDIR = mkdir 12 | else # in a bash-like shell, like msys 13 | CLEANUP = rm -f 14 | MKDIR = mkdir -p 15 | endif 16 | TARGET_EXTENSION=.exe 17 | else 18 | CLEANUP = rm -f 19 | MKDIR = mkdir -p 20 | TARGET_EXTENSION=.out 21 | endif 22 | 23 | C_COMPILER=gcc 24 | ifeq ($(shell uname -s), Darwin) 25 | C_COMPILER=clang 26 | endif 27 | 28 | UNITY_ROOT=../.. 29 | 30 | CFLAGS=-std=c99 31 | CFLAGS += -Wall 32 | CFLAGS += -Wextra 33 | CFLAGS += -Wpointer-arith 34 | CFLAGS += -Wcast-align 35 | CFLAGS += -Wwrite-strings 36 | CFLAGS += -Wswitch-default 37 | CFLAGS += -Wunreachable-code 38 | CFLAGS += -Winit-self 39 | CFLAGS += -Wmissing-field-initializers 40 | CFLAGS += -Wno-unknown-pragmas 41 | CFLAGS += -Wstrict-prototypes 42 | CFLAGS += -Wundef 43 | CFLAGS += -Wold-style-definition 44 | #CFLAGS += -Wno-misleading-indentation 45 | 46 | TARGET_BASE1=all_tests 47 | TARGET1 = $(TARGET_BASE1)$(TARGET_EXTENSION) 48 | SRC_FILES1=\ 49 | $(UNITY_ROOT)/src/unity.c \ 50 | $(UNITY_ROOT)/extras/fixture/src/unity_fixture.c \ 51 | src/ProductionCode.c \ 52 | src/ProductionCode2.c \ 53 | test/TestProductionCode.c \ 54 | test/TestProductionCode2.c \ 55 | test/test_runners/TestProductionCode_Runner.c \ 56 | test/test_runners/TestProductionCode2_Runner.c \ 57 | test/test_runners/all_tests.c 58 | INC_DIRS=-Isrc -I$(UNITY_ROOT)/src -I$(UNITY_ROOT)/extras/fixture/src 59 | SYMBOLS=-DUNITY_FIXTURE_NO_EXTRAS 60 | 61 | all: clean default 62 | 63 | default: 64 | $(C_COMPILER) $(CFLAGS) $(INC_DIRS) $(SYMBOLS) $(SRC_FILES1) -o $(TARGET1) 65 | - ./$(TARGET1) -v 66 | 67 | clean: 68 | $(CLEANUP) $(TARGET1) 69 | 70 | ci: CFLAGS += -Werror 71 | ci: default 72 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_2/readme.txt: -------------------------------------------------------------------------------- 1 | Example 2 2 | ========= 3 | 4 | Same as the first example, but now using Unity's test fixture to group tests 5 | together. Using the test fixture also makes writing test runners much easier. -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_2/src/ProductionCode.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode.h" 3 | 4 | int Counter = 0; 5 | int NumbersToFind[9] = { 0, 34, 55, 66, 32, 11, 1, 77, 888 }; //some obnoxious array to search that is 1-based indexing instead of 0. 6 | 7 | // This function is supposed to search through NumbersToFind and find a particular number. 8 | // If it finds it, the index is returned. Otherwise 0 is returned which sorta makes sense since 9 | // NumbersToFind is indexed from 1. Unfortunately it's broken 10 | // (and should therefore be caught by our tests) 11 | int FindFunction_WhichIsBroken(int NumberToFind) 12 | { 13 | int i = 0; 14 | while (i < 8) //Notice I should have been in braces 15 | i++; 16 | if (NumbersToFind[i] == NumberToFind) //Yikes! I'm getting run after the loop finishes instead of during it! 17 | return i; 18 | return 0; 19 | } 20 | 21 | int FunctionWhichReturnsLocalVariable(void) 22 | { 23 | return Counter; 24 | } 25 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_2/src/ProductionCode.h: -------------------------------------------------------------------------------- 1 | 2 | int FindFunction_WhichIsBroken(int NumberToFind); 3 | int FunctionWhichReturnsLocalVariable(void); 4 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_2/src/ProductionCode2.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode2.h" 3 | 4 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction) 5 | { 6 | (void)Poor; 7 | (void)LittleFunction; 8 | //Since There Are No Tests Yet, This Function Could Be Empty For All We Know. 9 | // Which isn't terribly useful... but at least we put in a TEST_IGNORE so we won't forget 10 | return (char*)0; 11 | } 12 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_2/src/ProductionCode2.h: -------------------------------------------------------------------------------- 1 | 2 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction); 3 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_2/test/TestProductionCode2.c: -------------------------------------------------------------------------------- 1 | #include "ProductionCode2.h" 2 | #include "unity.h" 3 | #include "unity_fixture.h" 4 | 5 | TEST_GROUP(ProductionCode2); 6 | 7 | /* These should be ignored because they are commented out in various ways: 8 | #include "whatever.h" 9 | */ 10 | //#include "somethingelse.h" 11 | 12 | TEST_SETUP(ProductionCode2) 13 | { 14 | } 15 | 16 | TEST_TEAR_DOWN(ProductionCode2) 17 | { 18 | } 19 | 20 | TEST(ProductionCode2, IgnoredTest) 21 | { 22 | TEST_IGNORE_MESSAGE("This Test Was Ignored On Purpose"); 23 | } 24 | 25 | TEST(ProductionCode2, AnotherIgnoredTest) 26 | { 27 | TEST_IGNORE_MESSAGE("These Can Be Useful For Leaving Yourself Notes On What You Need To Do Yet"); 28 | } 29 | 30 | TEST(ProductionCode2, ThisFunctionHasNotBeenTested_NeedsToBeImplemented) 31 | { 32 | TEST_IGNORE(); //Like This 33 | } 34 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_2/test/test_runners/TestProductionCode2_Runner.c: -------------------------------------------------------------------------------- 1 | #include "unity.h" 2 | #include "unity_fixture.h" 3 | 4 | TEST_GROUP_RUNNER(ProductionCode2) 5 | { 6 | RUN_TEST_CASE(ProductionCode2, IgnoredTest); 7 | RUN_TEST_CASE(ProductionCode2, AnotherIgnoredTest); 8 | RUN_TEST_CASE(ProductionCode2, ThisFunctionHasNotBeenTested_NeedsToBeImplemented); 9 | } -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c: -------------------------------------------------------------------------------- 1 | #include "unity.h" 2 | #include "unity_fixture.h" 3 | 4 | TEST_GROUP_RUNNER(ProductionCode) 5 | { 6 | RUN_TEST_CASE(ProductionCode, FindFunction_WhichIsBroken_ShouldReturnZeroIfItemIsNotInList_WhichWorksEvenInOurBrokenCode); 7 | RUN_TEST_CASE(ProductionCode, FindFunction_WhichIsBroken_ShouldReturnTheIndexForItemsInList_WhichWillFailBecauseOurFunctionUnderTestIsBroken); 8 | RUN_TEST_CASE(ProductionCode, FunctionWhichReturnsLocalVariable_ShouldReturnTheCurrentCounterValue); 9 | RUN_TEST_CASE(ProductionCode, FunctionWhichReturnsLocalVariable_ShouldReturnTheCurrentCounterValueAgain); 10 | RUN_TEST_CASE(ProductionCode, FunctionWhichReturnsLocalVariable_ShouldReturnCurrentCounter_ButFailsBecauseThisTestIsActuallyFlawed); 11 | } -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_2/test/test_runners/all_tests.c: -------------------------------------------------------------------------------- 1 | #include "unity_fixture.h" 2 | 3 | static void RunAllTests(void) 4 | { 5 | RUN_TEST_GROUP(ProductionCode); 6 | RUN_TEST_GROUP(ProductionCode2); 7 | } 8 | 9 | int main(int argc, const char * argv[]) 10 | { 11 | return UnityMain(argc, argv, RunAllTests); 12 | } 13 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_3/helper/UnityHelper.c: -------------------------------------------------------------------------------- 1 | #include "unity.h" 2 | #include "UnityHelper.h" 3 | #include 4 | #include 5 | 6 | void AssertEqualExampleStruct(const EXAMPLE_STRUCT_T expected, const EXAMPLE_STRUCT_T actual, const unsigned short line) 7 | { 8 | UNITY_TEST_ASSERT_EQUAL_INT(expected.x, actual.x, line, "Example Struct Failed For Field x"); 9 | UNITY_TEST_ASSERT_EQUAL_INT(expected.y, actual.y, line, "Example Struct Failed For Field y"); 10 | } 11 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_3/helper/UnityHelper.h: -------------------------------------------------------------------------------- 1 | #ifndef _TESTHELPER_H 2 | #define _TESTHELPER_H 3 | 4 | #include "Types.h" 5 | 6 | void AssertEqualExampleStruct(const EXAMPLE_STRUCT_T expected, const EXAMPLE_STRUCT_T actual, const unsigned short line); 7 | 8 | #define UNITY_TEST_ASSERT_EQUAL_EXAMPLE_STRUCT_T(expected, actual, line, message) AssertEqualExampleStruct(expected, actual, line); 9 | 10 | #define TEST_ASSERT_EQUAL_EXAMPLE_STRUCT_T(expected, actual) UNITY_TEST_ASSERT_EQUAL_EXAMPLE_STRUCT_T(expected, actual, __LINE__, NULL); 11 | 12 | #endif // _TESTHELPER_H 13 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_3/rakefile.rb: -------------------------------------------------------------------------------- 1 | require 'rake' 2 | require 'rake/clean' 3 | require_relative 'rakefile_helper' 4 | 5 | TEMP_DIRS = [ 6 | File.join(__dir__, 'build') 7 | ].freeze 8 | 9 | TEMP_DIRS.each do |dir| 10 | directory(dir) 11 | CLOBBER.include(dir) 12 | end 13 | 14 | task prepare_for_tests: TEMP_DIRS 15 | 16 | # Load default configuration, for now 17 | DEFAULT_CONFIG_FILE = 'target_gcc_32.yml'.freeze 18 | configure_toolchain(DEFAULT_CONFIG_FILE) 19 | 20 | task unit: [:prepare_for_tests] do 21 | run_tests unit_test_files 22 | end 23 | 24 | desc 'Generate test summary' 25 | task :summary do 26 | report_summary 27 | end 28 | 29 | desc 'Build and test Unity' 30 | task all: %i[clean unit summary] 31 | task default: %i[clobber all] 32 | task ci: [:default] 33 | task cruise: [:default] 34 | 35 | desc 'Load configuration' 36 | task :config, :config_file do |_t, args| 37 | configure_toolchain(args[:config_file]) 38 | end 39 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_3/readme.txt: -------------------------------------------------------------------------------- 1 | Example 3 2 | ========= 3 | 4 | This example project gives an example of some passing, ignored, and failing tests. 5 | It's simple and meant for you to look over and get an idea for what all of this stuff does. 6 | 7 | You can build and test using rake. The rake version will let you test with gcc or a couple 8 | versions of IAR. You can tweak the yaml files to get those versions running. 9 | 10 | Ruby is required if you're using the rake version (obviously). This version shows off most of 11 | Unity's advanced features (automatically creating test runners, fancy summaries, etc.) 12 | Without ruby, you have to maintain your own test runners. Do that for a while and you'll learn 13 | why you really want to start using the Ruby tools. 14 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_3/src/ProductionCode.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode.h" 3 | 4 | int Counter = 0; 5 | int NumbersToFind[9] = { 0, 34, 55, 66, 32, 11, 1, 77, 888 }; //some obnoxious array to search that is 1-based indexing instead of 0. 6 | 7 | // This function is supposed to search through NumbersToFind and find a particular number. 8 | // If it finds it, the index is returned. Otherwise 0 is returned which sorta makes sense since 9 | // NumbersToFind is indexed from 1. Unfortunately it's broken 10 | // (and should therefore be caught by our tests) 11 | int FindFunction_WhichIsBroken(int NumberToFind) 12 | { 13 | int i = 0; 14 | while (i < 8) //Notice I should have been in braces 15 | i++; 16 | if (NumbersToFind[i] == NumberToFind) //Yikes! I'm getting run after the loop finishes instead of during it! 17 | return i; 18 | return 0; 19 | } 20 | 21 | int FunctionWhichReturnsLocalVariable(void) 22 | { 23 | return Counter; 24 | } 25 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_3/src/ProductionCode.h: -------------------------------------------------------------------------------- 1 | 2 | int FindFunction_WhichIsBroken(int NumberToFind); 3 | int FunctionWhichReturnsLocalVariable(void); 4 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_3/src/ProductionCode2.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode2.h" 3 | 4 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction) 5 | { 6 | (void)Poor; 7 | (void)LittleFunction; 8 | //Since There Are No Tests Yet, This Function Could Be Empty For All We Know. 9 | // Which isn't terribly useful... but at least we put in a TEST_IGNORE so we won't forget 10 | return (char*)0; 11 | } 12 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_3/src/ProductionCode2.h: -------------------------------------------------------------------------------- 1 | 2 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction); 3 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_3/target_gcc_32.yml: -------------------------------------------------------------------------------- 1 | # Copied from ~Unity/targets/gcc_32.yml 2 | unity_root: &unity_root '../..' 3 | unity_source: &unity_source '../../src/' 4 | compiler: 5 | path: gcc 6 | source_path: &source_path 'src/' 7 | unit_tests_path: &unit_tests_path 'test/' 8 | build_path: &build_path 'build/' 9 | options: 10 | - '-c' 11 | - '-m32' 12 | - '-Wall' 13 | - '-Wno-address' 14 | - '-std=c99' 15 | - '-pedantic' 16 | includes: 17 | prefix: '-I' 18 | items: 19 | - *source_path 20 | - *unity_source 21 | - *unit_tests_path 22 | defines: 23 | prefix: '-D' 24 | items: 25 | - UNITY_INCLUDE_DOUBLE 26 | - UNITY_SUPPORT_TEST_CASES 27 | object_files: 28 | prefix: '-o' 29 | extension: '.o' 30 | destination: *build_path 31 | linker: 32 | path: gcc 33 | options: 34 | - -lm 35 | - '-m32' 36 | includes: 37 | prefix: '-I' 38 | object_files: 39 | path: *build_path 40 | extension: '.o' 41 | bin_files: 42 | prefix: '-o' 43 | extension: '.exe' 44 | destination: *build_path 45 | colour: true 46 | :unity: 47 | :plugins: [] 48 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_3/test/TestProductionCode2.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode2.h" 3 | #include "unity.h" 4 | 5 | /* These should be ignored because they are commented out in various ways: 6 | #include "whatever.h" 7 | */ 8 | //#include "somethingelse.h" 9 | 10 | void setUp(void) 11 | { 12 | } 13 | 14 | void tearDown(void) 15 | { 16 | } 17 | 18 | void test_IgnoredTest(void) 19 | { 20 | TEST_IGNORE_MESSAGE("This Test Was Ignored On Purpose"); 21 | } 22 | 23 | void test_AnotherIgnoredTest(void) 24 | { 25 | TEST_IGNORE_MESSAGE("These Can Be Useful For Leaving Yourself Notes On What You Need To Do Yet"); 26 | } 27 | 28 | void test_ThisFunctionHasNotBeenTested_NeedsToBeImplemented(void) 29 | { 30 | TEST_IGNORE(); //Like This 31 | } 32 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_4/meson.build: -------------------------------------------------------------------------------- 1 | # 2 | # build script written by : Michael Brockus. 3 | # github repo author: Mike Karlesky, Mark VanderVoord, Greg Williams. 4 | # 5 | # license: MIT 6 | # 7 | project('example-4', 'c') 8 | 9 | unity_dep = dependency('unity', fallback : ['unity', 'unity_dep']) 10 | 11 | subdir('src') 12 | subdir('test') 13 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_4/readme.txt: -------------------------------------------------------------------------------- 1 | Example 4 2 | ========= 3 | 4 | Close to the simplest possible example of Unity, using only basic features. 5 | to build this example run "meson setup ". 6 | 7 | Meson uses the Ninja build system to actually build the code. To start the 8 | build, simply type the following command. 9 | 10 | "ninja -C " 11 | 12 | Meson provides native support for running tests. The command to do that is simple. 13 | 14 | "meson test -C ". 15 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_4/src/ProductionCode.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode.h" 3 | 4 | int Counter = 0; 5 | int NumbersToFind[9] = { 0, 34, 55, 66, 32, 11, 1, 77, 888 }; /* some obnoxious array to search that is 1-based indexing instead of 0. */ 6 | 7 | /* This function is supposed to search through NumbersToFind and find a particular number. 8 | * If it finds it, the index is returned. Otherwise 0 is returned which sorta makes sense since 9 | * NumbersToFind is indexed from 1. Unfortunately it's broken 10 | * (and should therefore be caught by our tests) */ 11 | int FindFunction_WhichIsBroken(int NumberToFind) 12 | { 13 | int i = 0; 14 | while (i < 8) /* Notice I should have been in braces */ 15 | i++; 16 | if (NumbersToFind[i] == NumberToFind) /* Yikes! I'm getting run after the loop finishes instead of during it! */ 17 | return i; 18 | return 0; 19 | } 20 | 21 | int FunctionWhichReturnsLocalVariable(void) 22 | { 23 | return Counter; 24 | } 25 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_4/src/ProductionCode.h: -------------------------------------------------------------------------------- 1 | 2 | int FindFunction_WhichIsBroken(int NumberToFind); 3 | int FunctionWhichReturnsLocalVariable(void); 4 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_4/src/ProductionCode2.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode2.h" 3 | 4 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction) 5 | { 6 | (void)Poor; 7 | (void)LittleFunction; 8 | /* Since There Are No Tests Yet, This Function Could Be Empty For All We Know. 9 | * Which isn't terribly useful... but at least we put in a TEST_IGNORE so we won't forget */ 10 | return (char*)0; 11 | } 12 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_4/src/ProductionCode2.h: -------------------------------------------------------------------------------- 1 | 2 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction); 3 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_4/src/meson.build: -------------------------------------------------------------------------------- 1 | # 2 | # build script written by : Michael Brockus. 3 | # github repo author: Mike Karlesky, Mark VanderVoord, Greg Williams. 4 | # 5 | # license: MIT 6 | # 7 | inc_dir = include_directories('.') 8 | lib_list = {'a': ['ProductionCode.c' ], 'b': ['ProductionCode2.c']} 9 | 10 | foreach lib, src : lib_list 11 | set_variable(lib + '_lib', 12 | static_library(lib + '_lib', sources: src, include_directories: inc_dir)) 13 | endforeach 14 | 15 | a_dep = declare_dependency(link_with: a_lib, include_directories: inc_dir) 16 | b_dep = declare_dependency(link_with: b_lib, include_directories: inc_dir) 17 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_4/subprojects/unity.wrap: -------------------------------------------------------------------------------- 1 | [wrap-git] 2 | directory = unity 3 | url = https://github.com/ThrowTheSwitch/Unity.git 4 | revision = head 5 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_4/test/TestProductionCode2.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode2.h" 3 | #include "unity.h" 4 | 5 | /* These should be ignored because they are commented out in various ways: 6 | #include "whatever.h" 7 | #include "somethingelse.h" 8 | */ 9 | 10 | void setUp(void) 11 | { 12 | } 13 | 14 | void tearDown(void) 15 | { 16 | } 17 | 18 | void test_IgnoredTest(void); 19 | void test_AnotherIgnoredTest(void); 20 | void test_ThisFunctionHasNotBeenTested_NeedsToBeImplemented(void); 21 | 22 | void test_IgnoredTest(void) 23 | { 24 | TEST_IGNORE_MESSAGE("This Test Was Ignored On Purpose"); 25 | } 26 | 27 | void test_AnotherIgnoredTest(void) 28 | { 29 | TEST_IGNORE_MESSAGE("These Can Be Useful For Leaving Yourself Notes On What You Need To Do Yet"); 30 | } 31 | 32 | void test_ThisFunctionHasNotBeenTested_NeedsToBeImplemented(void) 33 | { 34 | TEST_IGNORE(); /* Like This */ 35 | } 36 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_4/test/meson.build: -------------------------------------------------------------------------------- 1 | # 2 | # build script written by : Michael Brockus. 3 | # github repo author: Mike Karlesky, Mark VanderVoord, Greg Williams. 4 | # 5 | # license: MIT 6 | # 7 | subdir('test_runners') 8 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_4/test/test_runners/TestProductionCode2_Runner.c: -------------------------------------------------------------------------------- 1 | /* AUTOGENERATED FILE. DO NOT EDIT. */ 2 | 3 | /*=======Test Runner Used To Run Each Test Below=====*/ 4 | #define RUN_TEST(TestFunc, TestLineNum) \ 5 | { \ 6 | Unity.CurrentTestName = #TestFunc; \ 7 | Unity.CurrentTestLineNumber = TestLineNum; \ 8 | Unity.NumberOfTests++; \ 9 | if (TEST_PROTECT()) \ 10 | { \ 11 | setUp(); \ 12 | TestFunc(); \ 13 | } \ 14 | if (TEST_PROTECT()) \ 15 | { \ 16 | tearDown(); \ 17 | } \ 18 | UnityConcludeTest(); \ 19 | } 20 | 21 | /*=======Automagically Detected Files To Include=====*/ 22 | #include "unity.h" 23 | #include 24 | #include 25 | #include "ProductionCode2.h" 26 | 27 | /*=======External Functions This Runner Calls=====*/ 28 | extern void setUp(void); 29 | extern void tearDown(void); 30 | extern void test_IgnoredTest(void); 31 | extern void test_AnotherIgnoredTest(void); 32 | extern void test_ThisFunctionHasNotBeenTested_NeedsToBeImplemented(void); 33 | 34 | 35 | /*=======Test Reset Option=====*/ 36 | void resetTest(void); 37 | void resetTest(void) 38 | { 39 | tearDown(); 40 | setUp(); 41 | } 42 | 43 | 44 | /*=======MAIN=====*/ 45 | int main(void) 46 | { 47 | UnityBegin("test/TestProductionCode2.c"); 48 | RUN_TEST(test_IgnoredTest, 18); 49 | RUN_TEST(test_AnotherIgnoredTest, 23); 50 | RUN_TEST(test_ThisFunctionHasNotBeenTested_NeedsToBeImplemented, 28); 51 | 52 | return (UnityEnd()); 53 | } 54 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/examples/example_4/test/test_runners/meson.build: -------------------------------------------------------------------------------- 1 | # 2 | # build script written by : Michael Brockus. 3 | # github repo author: Mike Karlesky, Mark VanderVoord, Greg Williams. 4 | # 5 | # license: MIT 6 | # 7 | cases = [ 8 | ['TestProductionCode_Runner.c', join_paths('..' ,'TestProductionCode.c' )], 9 | ['TestProductionCode2_Runner.c', join_paths('..' ,'TestProductionCode2.c')] 10 | ] 11 | 12 | test('Running: 01-test-case', executable('01-test-case', cases[0], dependencies: [ a_dep, unity_dep ])) 13 | test('Running: 02-test-case', executable('02-test-case', cases[1], dependencies: [ b_dep, unity_dep ])) 14 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/library.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Unity", 3 | "version": "2.5.2", 4 | "keywords": "unit-testing, testing, tdd, testing-framework", 5 | "description": "Simple Unit Testing for C", 6 | "homepage": "http://www.throwtheswitch.org/unity", 7 | "license": "MIT", 8 | "repository": { 9 | "type": "git", 10 | "url": "https://github.com/ThrowTheSwitch/Unity.git" 11 | }, 12 | "frameworks": "*", 13 | "platforms": "*", 14 | "headers": "unity.h", 15 | "build": { 16 | "extraScript": "platformio-build.py" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/meson.build: -------------------------------------------------------------------------------- 1 | # 2 | # build script written by : Michael Brockus. 3 | # github repo author: Mike Karlesky, Mark VanderVoord, Greg Williams. 4 | # 5 | # license: MIT 6 | # 7 | project('unity', 'c', 8 | license: 'MIT', 9 | meson_version: '>=0.53.0', 10 | default_options: ['werror=true', 'c_std=c11'] 11 | ) 12 | 13 | subdir('src') 14 | unity_dep = declare_dependency(link_with: unity_lib, include_directories: unity_dir) 15 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/platformio-build.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | Import("env") 4 | 5 | env.Append(CPPDEFINES=["UNITY_INCLUDE_CONFIG_H"]) 6 | 7 | # import "unity_config.h" folder to the library builder 8 | try: 9 | Import("projenv") 10 | 11 | for p in projenv["CPPPATH"]: 12 | p = projenv.subst(p) 13 | if os.path.isfile(os.path.join(p, "unity_config.h")): 14 | env.Prepend(CPPPATH=[p]) 15 | except: 16 | pass 17 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/src/meson.build: -------------------------------------------------------------------------------- 1 | # 2 | # build script written by : Michael Brockus. 3 | # github repo author: Mike Karlesky, Mark VanderVoord, Greg Williams. 4 | # 5 | # license: MIT 6 | # 7 | unity_dir = include_directories('.') 8 | 9 | unity_lib = static_library(meson.project_name(), 10 | files('unity.c'), 11 | include_directories: unity_dir) 12 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/Unity/unityConfig.cmake: -------------------------------------------------------------------------------- 1 | include(${CMAKE_CURRENT_LIST_DIR}/unityTargets.cmake) -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/arduinoFFT/.gitignore: -------------------------------------------------------------------------------- 1 | /.project 2 | /sync.ffs_db 3 | *.*bak 4 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/arduinoFFT/.piopm: -------------------------------------------------------------------------------- 1 | {"type": "library", "name": "arduinoFFT", "version": "1.6.0", "spec": {"owner": "kosme", "id": 1651, "name": "arduinoFFT", "requirements": null, "uri": null}} -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/arduinoFFT/changeLog.txt: -------------------------------------------------------------------------------- 1 | 03/09/23 v1.6 2 | Include some functionality from development branch. 3 | 4 | 01/27/20 v1.5.5 5 | Lookup table for constants c1 and c2 used during FFT comupting. This increases the FFT computing speed in around 5%. 6 | 7 | 02/10/18 v1.4 8 | Transition version. Minor optimization to functions. New API. Deprecation of old functions. 9 | 10 | 12/06/18 v1.3 11 | Add support for mbed development boards. 12 | 13 | 09/04/17 v1.2.3 14 | Finally solves the issue of Arduino IDE not correctly detecting and highlighting the keywords. 15 | 16 | 09/03/17 v1.2.2 17 | Solves a format issue in keywords.txt that prevented keywords from being detected. 18 | 19 | 08/28/17 v1.2.1 20 | Fix to issues 6 and 7. Not cleaning the imaginary vector after each cycle leaded to erroneous calculations and could cause buffer overflows. 21 | 22 | 08/04/17 v1.2 23 | Fix to bug preventing the number of samples to be greater than 128. New logical limit is 32768 samples but it is bound to the RAM on the chip. 24 | 25 | 05/12/17 v1.1 26 | Fix issue that prevented installation through the Arduino Library Manager interface. 27 | 28 | 05/11/17 v1.0 29 | Initial commit to Arduino Library Manager. 30 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/arduinoFFT/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For arduinoFFT 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | arduinoFFT KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | ComplexToMagnitude KEYWORD2 16 | Compute KEYWORD2 17 | DCRemoval KEYWORD2 18 | Windowing KEYWORD2 19 | Exponent KEYWORD2 20 | Revision KEYWORD2 21 | MajorPeak KEYWORD2 22 | MajorPeakParabola KEYWORD2 23 | 24 | ####################################### 25 | # Constants (LITERAL1) 26 | ####################################### 27 | 28 | twoPi LITERAL1 29 | fourPi LITERAL1 30 | FFT_FORWARD LITERAL1 31 | FFT_REVERSE LITERAL1 32 | FFT_WIN_TYP_RECTANGLE LITERAL1 33 | FFT_WIN_TYP_HAMMING LITERAL1 34 | FFT_WIN_TYP_HANN LITERAL1 35 | FFT_WIN_TYP_TRIANGLE LITERAL1 36 | FFT_WIN_TYP_NUTTALL LITERAL1 37 | FFT_WIN_TYP_BLACKMAN LITERAL1 38 | FFT_WIN_TYP_BLACKMAN_NUTTALL LITERAL1 39 | FFT_WIN_TYP_BLACKMAN_HARRIS LITERAL1 40 | FFT_WIN_TYP_FLT_TOP LITERAL1 41 | FFT_WIN_TYP_WELCH LITERAL1 42 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/arduinoFFT/library.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "arduinoFFT", 3 | "keywords": "FFT, Fourier, FDT, frequency", 4 | "description": "A library for implementing floating point Fast Fourier Transform calculations.", 5 | "repository": 6 | { 7 | "type": "git", 8 | "url": "https://github.com/kosme/arduinoFFT.git" 9 | }, 10 | "authors": 11 | [ 12 | { 13 | "name": "Enrique Condes", 14 | "email": "enrique@shapeoko.com", 15 | "maintainer": true 16 | }, 17 | { 18 | "name": "Didier Longueville", 19 | "url": "http://www.arduinoos.com/", 20 | "email": "contact@arduinoos.com" 21 | } 22 | ], 23 | "version": "1.6", 24 | "frameworks": ["arduino","mbed","espidf"], 25 | "platforms": "*", 26 | "headers": "arduinoFFT.h" 27 | } 28 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/arduinoFFT/library.properties: -------------------------------------------------------------------------------- 1 | name=arduinoFFT 2 | version=1.6 3 | author=Enrique Condes 4 | maintainer=Enrique Condes 5 | sentence=A library for implementing floating point Fast Fourier Transform calculations on Arduino. 6 | paragraph=With this library you can calculate the frequency of a sampled signal. 7 | category=Data Processing 8 | url=https://github.com/kosme/arduinoFFT 9 | architectures=* 10 | includes=arduinoFFT.h 11 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/arduinoFFT/src/types.h: -------------------------------------------------------------------------------- 1 | //useful things to include in code 2 | 3 | #ifndef TYPES_H 4 | #define TYPES_H 5 | 6 | #ifndef WIN32 7 | // true/false defines 8 | #define FALSE 0 9 | #define TRUE -1 10 | #endif 11 | 12 | // datatype definitions macros 13 | typedef unsigned char u08; 14 | typedef signed char s08; 15 | typedef unsigned short u16; 16 | typedef signed short s16; 17 | typedef unsigned long u32; 18 | typedef signed long s32; 19 | typedef unsigned long long u64; 20 | typedef signed long long s64; 21 | 22 | // #ifndef __AVR__ 23 | #ifdef __MBED__ 24 | // use inttypes.h instead 25 | // C99 standard integer type definitions 26 | typedef unsigned char uint8_t; 27 | typedef signed char int8_t; 28 | typedef unsigned short uint16_t; 29 | typedef signed short int16_t; 30 | /*typedef unsigned long uint32_t; 31 | typedef signed long int32_t; 32 | typedef unsigned long uint64_t; 33 | typedef signed long int64_t; 34 | */ 35 | #endif 36 | 37 | // maximum value that can be held 38 | // by unsigned data types (8,16,32bits) 39 | #define MAX_U08 255 40 | #define MAX_U16 65535 41 | #define MAX_U32 4294967295 42 | 43 | // maximum values that can be held 44 | // by signed data types (8,16,32bits) 45 | #define MIN_S08 -128 46 | #define MAX_S08 127 47 | #define MIN_S16 -32768 48 | #define MAX_S16 32767 49 | #define MIN_S32 -2147483648 50 | #define MAX_S32 2147483647 51 | 52 | #ifndef WIN32 53 | // more type redefinitions 54 | typedef unsigned char BOOL; 55 | typedef unsigned char BYTE; 56 | typedef unsigned int WORD; 57 | typedef unsigned long DWORD; 58 | 59 | typedef unsigned char UCHAR; 60 | typedef unsigned int UINT; 61 | typedef unsigned short USHORT; 62 | typedef unsigned long ULONG; 63 | 64 | typedef char CHAR; 65 | typedef int INT; 66 | typedef long LONG; 67 | #endif 68 | 69 | #endif 70 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/.pio/libdeps/esp32-c3-laut/integrity.dat: -------------------------------------------------------------------------------- 1 | adafruit/Adafruit NeoPixel@^1.11.0 2 | marcmerlin/FastLED NeoMatrix@^1.2 3 | kosme/arduinoFFT@^1.6 -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/include/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for project header files. 3 | 4 | A header file is a file containing C declarations and macro definitions 5 | to be shared between several project source files. You request the use of a 6 | header file in your project source file (C, C++, etc) located in `src` folder 7 | by including it, with the C preprocessing directive `#include'. 8 | 9 | ```src/main.c 10 | 11 | #include "header.h" 12 | 13 | int main (void) 14 | { 15 | ... 16 | } 17 | ``` 18 | 19 | Including a header file produces the same results as copying the header file 20 | into each source file that needs it. Such copying would be time-consuming 21 | and error-prone. With a header file, the related declarations appear 22 | in only one place. If they need to be changed, they can be changed in one 23 | place, and programs that include the header file will automatically use the 24 | new version when next recompiled. The header file eliminates the labor of 25 | finding and changing all the copies as well as the risk that a failure to 26 | find one copy will result in inconsistencies within a program. 27 | 28 | In C, the usual convention is to give header files names that end with `.h'. 29 | It is most portable to use only letters, digits, dashes, and underscores in 30 | header file names, and at most one dot. 31 | 32 | Read more about using header files in official GCC documentation: 33 | 34 | * Include Syntax 35 | * Include Operation 36 | * Once-Only Headers 37 | * Computed Includes 38 | 39 | https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html 40 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/lib/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for project specific (private) libraries. 3 | PlatformIO will compile them to static libraries and link into executable file. 4 | 5 | The source code of each library should be placed in a an own separate directory 6 | ("lib/your_library_name/[here are source files]"). 7 | 8 | For example, see a structure of the following two libraries `Foo` and `Bar`: 9 | 10 | |--lib 11 | | | 12 | | |--Bar 13 | | | |--docs 14 | | | |--examples 15 | | | |--src 16 | | | |- Bar.c 17 | | | |- Bar.h 18 | | | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html 19 | | | 20 | | |--Foo 21 | | | |- Foo.c 22 | | | |- Foo.h 23 | | | 24 | | |- README --> THIS FILE 25 | | 26 | |- platformio.ini 27 | |--src 28 | |- main.c 29 | 30 | and a contents of `src/main.c`: 31 | ``` 32 | #include 33 | #include 34 | 35 | int main (void) 36 | { 37 | ... 38 | } 39 | 40 | ``` 41 | 42 | PlatformIO Library Dependency Finder will find automatically dependent 43 | libraries scanning project source files. 44 | 45 | More information about PlatformIO Library Dependency Finder 46 | - https://docs.platformio.org/page/librarymanager/ldf.html 47 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/partitions-no-ota.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | nvs, data, nvs, 0x9000, 0x6000, 3 | phy_init, data, phy, 0xf000, 0x1000, 4 | factory, app, factory, 0x10000, 2M, 5 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/platformio.ini: -------------------------------------------------------------------------------- 1 | ; PlatformIO Project Configuration File 2 | ; 3 | ; Build options: build flags, source filter 4 | ; Upload options: custom upload port, speed and extra flags 5 | ; Library options: dependencies, extra library storages 6 | ; Advanced options: extra scripting 7 | ; 8 | ; Please visit documentation for the other options and examples 9 | ; https://docs.platformio.org/page/projectconf.html 10 | 11 | [env:esp32-c3-laut] 12 | platform = espressif32 13 | board = esp32-c3-laut 14 | framework = arduino 15 | upload_speed = 921600 16 | monitor_speed = 115200 17 | board_build.partitions = partitions-no-ota.csv 18 | board_build.f_flash = 80000000L 19 | board_build.f_cpu = 160000000L 20 | board_build.flash_mode = dio 21 | lib_deps = 22 | adafruit/Adafruit NeoPixel@^1.11.0 23 | kosme/arduinoFFT@^1.6 24 | marcmerlin/FastLED NeoMatrix@^1.2 25 | -------------------------------------------------------------------------------- /程序/ESP32C3-WS2812/test/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for PlatformIO Test Runner and project tests. 3 | 4 | Unit Testing is a software testing method by which individual units of 5 | source code, sets of one or more MCU program modules together with associated 6 | control data, usage procedures, and operating procedures, are tested to 7 | determine whether they are fit for use. Unit testing finds problems early 8 | in the development cycle. 9 | 10 | More information about PlatformIO Unit Testing: 11 | - https://docs.platformio.org/en/latest/advanced/unit-testing/index.html 12 | --------------------------------------------------------------------------------