This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
During pip install ledfx, the pyaudio dependency failed: | |
➜ ~ pip install pyaudio | |
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621 | |
Collecting pyaudio | |
Using cached PyAudio-0.2.11.tar.gz (37 kB) | |
Preparing metadata (setup.py) ... done | |
Building wheels for collected packages: pyaudio | |
Building wheel for pyaudio (setup.py) ... error | |
ERROR: Command errored out with exit status 1: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; https://docs.platformio.org/en/latest/projectconf/section_env_upload.html#upload-command | |
; https://stackoverflow.com/questions/9134003/binary-data-posting-with-curl | |
[env:uno] | |
platform = atmelavr | |
framework = arduino | |
board = uno | |
upload_protocol = custom | |
upload_flags = | |
--header "Content-Type: application/json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SPI.h> | |
#include <FastLED.h> | |
// Clock and data pins are whatever are SPI defaults for your board (SCK, MOSI) | |
// Arduino Mega 2560, Clock 52, Data 51 | |
struct CRGB16; | |
#define NUM_LEDS 30 | |
void oneFrame(uint16_t r, uint16_t g, uint16_t b); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Arduino.h> | |
#include <FastLED.h> | |
#define BRIGHTNESS 200 | |
#define LED_TYPE WS2811 | |
#define COLOR_ORDER GRB | |
#define ESP32DEVKITV1 | |
#ifdef ESP32_THING |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Arduino.h> | |
#include <FastLED.h> | |
#include "I2S.h" | |
#define BRIGHTNESS 204 | |
#define LED_TYPE WS2811 | |
#define COLOR_ORDER GRB | |
#define ESP32DEVKITV1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Arduino.h> | |
#define FASTLED_ESP32_I2S | |
#include <FastLED.h> | |
#define BRIGHTNESS 204 | |
#define LED_TYPE WS2811 | |
#define COLOR_ORDER GRB | |
#define LED_PIN_1 13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdint.h> | |
#include <Arduino.h> | |
#include "MPU6886.h" | |
static MPU6886 mpu; | |
void setup(void) | |
{ | |
Serial.begin(115200); | |
mpu.Init(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdint.h> | |
#include <Arduino.h> | |
#include "MPU6886.h" | |
static MPU6886 mpu; | |
void setup(void) | |
{ | |
Serial.begin(115200); | |
Serial.println("\nHello World!"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void circularLoader2() { | |
fill_solid(leds, NUM_LEDS, CRGB::Black); | |
uint8_t uneased_startP = lerp8by8( 0, NUM_LEDS, beat8( 30, 5000 ) ); // start position, runs behind endP | |
uint8_t uneased_endP = lerp8by8( 0, NUM_LEDS, beat8( 30 ) ); // start position | |
uint8_t startP = QuadraticEaseIn8( uneased_startP ); | |
uint8_t endP = CubicEaseIn8( uneased_endP ); | |
DEBUG_PRINT(F("startP: ")) ; | |
DEBUG_PRINT(startP) ; | |
DEBUG_PRINT(F("\t")) ; | |
DEBUG_PRINT(F("endP: ")) ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x800 Calling esp_conn 7. | |
0x800 Calling esp_conn 7. | |
0x800 Calling esp_conn 7. | |
0x800 Calling esp_conn 8. | |
0x800 Calling esp_conn 8. | |
0x800 Calling esp_conn 1. | |
0x800 Calling esp_conn 7. | |
0x800 Calling esp_conn 7. | |
0x800 Calling esp_conn 1. | |
SLAVE 1910771666: BPM: 120 Pattern: 5 |
NewerOlder