imported from "final" folder
This commit is contained in:
39
.pio/libdeps/esp01_1m/FastLED/examples/Audio/Audio.ino
Normal file
39
.pio/libdeps/esp01_1m/FastLED/examples/Audio/Audio.ino
Normal file
@@ -0,0 +1,39 @@
|
||||
/// @file Audio.ino
|
||||
/// @brief Audio visualization example with XY mapping
|
||||
/// @example Audio.ino
|
||||
///
|
||||
/// This sketch is fully compatible with the FastLED web compiler. To use it do the following:
|
||||
/// 1. Install Fastled: `pip install fastled`
|
||||
/// 2. cd into this examples page.
|
||||
/// 3. Run the FastLED web compiler at root: `fastled`
|
||||
/// 4. When the compiler is done a web page will open.
|
||||
|
||||
/*
|
||||
This demo is best viewed using the FastLED compiler.
|
||||
|
||||
Windows/MacOS binaries: https://github.com/FastLED/FastLED/releases
|
||||
|
||||
Python
|
||||
|
||||
Install: pip install fastled
|
||||
Run: fastled <this sketch directory>
|
||||
This will compile and preview the sketch in the browser, and enable
|
||||
all the UI elements you see below.
|
||||
*/
|
||||
|
||||
// #define SIMPLE_EXAMPLE
|
||||
|
||||
|
||||
#include <FastLED.h>
|
||||
|
||||
#if !SKETCH_HAS_LOTS_OF_MEMORY
|
||||
// Platform does not have enough memory
|
||||
void setup() {}
|
||||
void loop() {}
|
||||
#else
|
||||
#ifdef SIMPLE_EXAMPLE
|
||||
#include "simple/simple.h"
|
||||
#else
|
||||
#include "advanced/advanced.h"
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user