Commit Graph

4335 Commits

Author SHA1 Message Date
Henrik
f902ebadcc UI, simpler process, get more data from device 2023-01-22 18:47:34 +01:00
Blaz Kristan
57323af167 Reset segments on 2D set-up change. #3028
Bugfix for 2D segment creation.
2023-01-22 11:29:31 +01:00
Blaz Kristan
20b0b5fc8e Boost tweaking. 2023-01-21 22:38:04 +01:00
Henrik
bb72b8cc93 Segment selection and touch ups 2023-01-21 16:33:59 +01:00
Blaz Kristan
fec5516da9 Fire 2012 boost. 2023-01-21 15:39:59 +01:00
Henrik
ec9a092751 - Removed unused code
- Changed rendering of large preview image
2023-01-21 12:10:22 +01:00
Blaz Kristan
c692cc6a70 Inline fixes. 2023-01-20 22:33:30 +01:00
Frank
fb3e5cf3e8 comment corrected. 2023-01-20 22:18:11 +01:00
Frank
5eb18a6173 Pin Info update
* Additional functions: isPinPWM, isPinINT
* aliases: PM_ADC1 instead of PinManagerClass::ADC1
* make getADCPin work on "classic ESP32"

--> Tested and works on 8266, ESP32 (default platform), ESP32 (V4 Platform). ESP32-S3, ESP32-S2, ESP32-C3
2023-01-20 22:13:30 +01:00
netmindz
1024f293da Merge branch 'MoonModules:mdev' into audio-palette-updates 2023-01-20 20:21:58 +00:00
Frank
718cd0df8d bugfix
please remember to increase the buffer size again because the new value for "not a pin" will be 255 = +12bytes.
2023-01-20 21:17:24 +01:00
Will Tatam
89040a3a24 Add new Audio Responsive Ramp palette 2023-01-20 20:16:22 +00:00
Will Tatam
f1fe6296e7 Fix audio responsive hue 2023-01-20 19:58:40 +00:00
Will Tatam
78bc566b06 Audio palette always start with black - fixes use of palette with Fire effect 2023-01-20 19:04:55 +00:00
Frank
45e46822a1 PinManager: additional GPIO infos
bool isPinTouch(int gpio);                                   // true if gpio supports touch functions
  bool isPinAnalog(int gpio);                                  // true if gpio supports analogRead
  bool isPinADC1(int gpio);                                    // true if gpio supports analogRead, and it belongs to ADC unit 1
  bool isPinADC2(int gpio);                                    // true if gpio supports analogRead, and it belongs to ADC unit 2
  #define PM_NO_PIN 255
  typedef enum { ADC_none = 0, ADC1 = 1, ADC2 = 2 } AdcIdentifier;
  uint8_t  getADCPin(AdcIdentifier adcUnit, uint8_t adcPort);   // get GPIO number for ADC unit x, channel y. 255 = no such pin
2023-01-20 19:21:45 +01:00
Blaz Kristan
2b8d8d4e9c Merge branch 'main' into pixart 2023-01-20 16:23:51 +01:00
Blaz Kristan
2ae8032ace Compile fix. 2023-01-20 16:22:19 +01:00
Blaz Kristan
c4416584de Merge branch 'patch-1' into pixart 2023-01-20 15:53:56 +01:00
Blaž Kristan
86d8b49113 Pixelart
- full implementation
2023-01-20 14:40:45 +01:00
Ewoud
1f921bf0c9 Bugfix for ESP8266, ESP01
UM PIR: pin default -1
xml.cpp: no D1-8 for esp01
2023-01-20 12:34:11 +01:00
Ewoud
41c8a1003b Merge remote-tracking branch 'upstream/main' into mdev 2023-01-20 12:03:19 +01:00
Blaz Kristan
7a5d870f67 DJ Light optimisation.
GoL mutations.
cleanup.
2023-01-19 22:22:24 +01:00
Henrik
b43459232a Create file for PixelArtCreator 2023-01-19 22:09:47 +01:00
Frank
8918271620 new build flag WLEDMM_WIFI_POWERON_HACK
This ensures that WiFi gets powered ON (useful for boards with small "RainSun" crystal Wi-Fi antenna)
2023-01-19 17:50:10 +01:00
Frank
efd72f44d8 chores: build number, npm run build 2023-01-19 17:47:40 +01:00
Frank
b27f70f423 AR: small fix for debug statistics
"smooting" does nor work in integer. we need float.
2023-01-19 17:45:16 +01:00
Frank
e2b4e60c9e pulser bugfix and minor optimizations
* pulser bugfix: " % cols" was missing so the effect would simply run out of visible range
* float math: use optimized functions: sqrtf, fabsf
* two more comments where code could be optimized, but I'm not sure what is thecorrect solution
2023-01-19 12:26:14 +01:00
Frank
72168d28b1 new build flag SR_ENABLE_DEFAULT
for boards with builtin microphone (like PICO)
2023-01-18 23:09:37 +01:00
Blaz Kristan
17543535e3 FX update
- Dynamic & Dynamic Smooth
- Dissolve & Dissolve Rnd
- Juggles
- Game of Life
- Colorful
- Fireworks & Rain
2023-01-18 22:56:49 +01:00
Blaz Kristan
901ce23cd2 Bugfix.
- incorrect ro_pins in settings
2023-01-18 22:23:34 +01:00
Frank
4681e9fee3 GEQ: fix for "overshooting" on small matrix
I've observed that GEQ pixels sometimes "overshoot" into other segments. This is an attempt to fix it.
2023-01-18 20:20:50 +01:00
Frank
5575d6ab11 audioreactive optimization for -C3
some optimizations for -C3.

* skip every second FFT, and use interpolation instead.
* reduce sampling rate from 22Khz to 18Khz
* new debug measurement for I2S cycle times (FFTTask)

--> in total, this brings CPU load for sound processing down to 60% (from >100% previously)
2023-01-18 18:40:37 +01:00
Blaz Kristan
1b52d8065e Ecternal MOSFET for parasite DS18B20 2023-01-18 17:36:04 +01:00
Ewoud
ceab107602 Optimizing / clean up of d.max_gpio, d.um_p, d.rsvd, d.ro_pins 2023-01-18 13:43:33 +01:00
Ewoud
5d028b3d3f Add 4LD to esp8266_4MB_max and D0-D8,RX,TX to pin dropdowns
pio.ini: Add 4LD to esp8266_4MB_max
Settings_um and xml.cpp: add D0-D8,RX,TX to pin dropdowns
2023-01-18 12:04:01 +01:00
Blaz Kristan
c6db901051 Added gradient to drawCharacter()
Ability to select gradient text on Scrolling Text FX.
2023-01-17 19:54:44 +01:00
Frank
2d9b3fd284 four line display ALT - fix for compilation on esp32
workaround: getInstance() is only used on esp32.
2023-01-17 18:58:05 +01:00
Frank
7bfd738d80 fix 8266 compilation error (undefined macro)
this still does not allow compilation...
2023-01-17 18:35:04 +01:00
Ewoud
6cd07c2216 esp8266_4MB_min - 160Mhz (instead of 80) ;-)
+ small things
2023-01-17 17:54:14 +01:00
Frank
8aebb94332 esp8266_4MB_max - 160Mhz (instead of 80)
This should work with any 8266, and lead to strong speedup (and maybe fewer random flashes)
2023-01-17 17:33:46 +01:00
Ewoud
1e423f2a22 npm build 2023-01-17 15:25:26 +01:00
Ewoud
34e93c6361 Merge remote-tracking branch 'upstream/main' into mdev 2023-01-17 15:24:32 +01:00
Ewoud
e537c48796 Ini mini bug fixed 2023-01-17 13:15:28 +01:00
Ewoud
357e3638d4 New esp8266_4MB_max entry to test usermods / i2c
pio.ini: add esp8266_4MB_max with pir, dallas, relay  games (to test IMU) 

addHB: use string literal instead of var

appendConfigData to um multirelay
2023-01-17 13:07:50 +01:00
Blaž Kristan
39edb1ad37 Merge pull request #2891 from mxklb/pr_fxsegs
Refactored DMX effect mode + new segment controls
2023-01-16 22:38:02 +01:00
Blaz Kristan
a397aa188c Whitespace/indentation cleanup. 2023-01-16 22:12:02 +01:00
Blaz Kristan
dd08751f3f Hide 2D if not compiled. 2023-01-16 22:09:43 +01:00
Ewoud
9065b684b3 genPreset bugfixes 2023-01-16 22:04:54 +01:00
Blaz Kristan
ef6a9184ba A few more flash bytes saved. 2023-01-16 21:55:12 +01:00
Blaž Kristan
575fb6fc60 Merge pull request #3022 from Aircoookie/disable-more
Disable MQTT more.
2023-01-16 21:44:00 +01:00