Commit Graph

1598 Commits

Author SHA1 Message Date
Aircoookie
3103939197
Merge pull request #1766 from edwinm/patch-1
Use ldscript_1m128k in platformio_override.ini.sample
2021-02-21 17:23:50 +01:00
Edwin Martin
3f01c87223
Use ldscript_1m128k in platformio_override.ini.sample
The current value ldscript_1m0m doesn't exist anymore and WLED won't compile. Using ldscript_1m128k makes it compile.
2021-02-20 23:21:55 +01:00
k7bbr
e4cda4bb99 change default Ethernet board to none 2021-02-20 02:18:37 -07:00
k7bbr
f333f867c5 Updated platformio.ini to reference esp32_eth env
change default ethernet type to none
add macro option to change default eth board at compile time
2021-02-20 01:54:54 -07:00
Kevin Dorff
75c46f7a0e
Create the sorted index of modes and palettes at startup (#1741)
* Very incomplete work toward sorting.

* Sort modes and palettes upon startup so I don't have to maintain the static index array.

* Remove cpp test file I used for development

* Added ModeSortUsermod, modified the other two usermods to use it.

* Update platformio_override.ini.sample and readme for ModeSortUsermod

* restore methods accidentally removed.
2021-02-18 00:28:01 +01:00
Aircoookie
5c6cb41124
Merge pull request #1742 from WJCFerguson/geometric_IR_brightness_steps
IR: change to non-linear brightness steps
2021-02-17 23:59:38 +01:00
Aircoookie
94f7c03871
Merge pull request #1760 from embedded-creations/fixWrapperEsp32Spi
bus_wrapper fixes/improvements for ESP32 SPI
2021-02-17 23:38:19 +01:00
Louis Beaudoin
96d5c03a6d bus_wrapper improvements for SPI output
- Identifying ESP32 hardware SPI by pin number is broken and flawed, replace with temporary hack instead until a better method of assigned resources can be devised
  - NeoPixelBus doesn't support HSPI, only VSPI right now, so matching HSPI pins to enable a non-existent VSPI driver is broken
  - ESP32 SPI peripherals can use alternate pins, so choosing to use hardware SPI only on the default pins is flawed
- Specify pins during Begin() call to allow for alternate pins and avoid driving the chip select signal
- Dotstar Software/Hardware output tested on ESP32, other SPI protocols and ESP8266 support was not tested
2021-02-17 17:03:57 +00:00
Louis Beaudoin
3a03bc41a7 Fix bus_wrapper.h bugs:
- missing breaks in switch(busType identifying SPI LEDs)
- set correct pin order for begin()
2021-02-17 16:58:03 +00:00
Aircoookie
331844ff73
Merge pull request #1708 from Matchlighter/patch-1
Add DNRGBW Mode for Real Time UDP Control
2021-02-16 17:43:33 +01:00
James Ferguson
2bc38e3784 IR: change to non-linear brightness steps
Prior Incrementing/decrementing by fixed steps (typically 10) means large
perceptual jumps at low brightness and small jumps at high brightness.  This
change moves to a geometric progression, closer at the bottom of the range and
widely spaced at the top.

While it could be done as a relative jump (incrementing by bri/4 and
decrementing bri/5 works quite well), it makes for irregular behavior when
moving back and forth.
2021-02-13 18:29:56 -05:00
cschwinne
d580dedfc8 Remove stray endif 2021-02-13 01:48:05 +01:00
cschwinne
aa0f4c9985 Update dev branch (resolve conflicts) 2021-02-13 01:43:16 +01:00
b3nj1
aa242d897d
DHT22/DHT11 humidity/temperature sensor usermod (#1719)
* DHT22/DHT11 humidity/temperature sensor usermod

* cleanup - don't report when usermod is auto-disabled since report isn't persistent

* track error count; retry once after error occurs

* for esp32, use esp32DHT library

* fix unreliable ESP32 readings by switching DHT library to https://github.com/alwynallan/DHT_nonblocking

* change default pin to Q2; don't burst readings if error occurs

Co-authored-by: Aircoookie <dev.aircoookie@gmail.com>
2021-02-13 01:21:13 +01:00
Aircoookie
d56ab6c971
Merge pull request #1738 from blazoncek/dynamic-led-map
Dynamic LED map creation from JSON file
2021-02-13 01:07:52 +01:00
cschwinne
2f7be3475d Updated mapping comment 2021-02-13 01:02:14 +01:00
Blaz Kristan
2544d2e068 Dynamic LED map creation from JSON file /ledmap.json in format {"map":[4,3,2,1,...]}.
Used for rearranging LEDs (matrices, awkward placement, ...)
2021-02-12 11:54:35 +01:00
k7bbr
a09f64aee5 Add Ethernet support for WESP32 board 2021-02-11 02:36:15 -07:00
Aircoookie
f7114fc2aa
Merge pull request #1729 from blazoncek/tetris-fx
Tetris (falling bricks) effect & Colortwinkles low brightness fix.
2021-02-10 00:42:35 +01:00
cschwinne
7092f337ef Faster Tetrix mode
- Replaced a letter in name (copyright)
- 2x speed
- Replaced Merry christmas mode
2021-02-10 00:37:05 +01:00
Kevin Dorff
8e71c3ae17
Rotary Encoder, Four Line Display, and Auto Save Usermods (#1722)
* Ability to lookup Usermod by id so Usermods can use other Usermods.

* Rotary Encoder UI using two Usermods

* Updates. More to come, probably.

* Updated rotary usermod to honor USE_FOUR_LINE_DISPLAY if you want to use four line display. It should be truly optional, now.

* minor logic improvement to showing the current time in clock mode.

* improved 24 hour display foratting and ability to use the FourLineDisplayUsermod without the RotaryEncoderUIUsermod (option disable sleep and clock modes).

* Improved ordering of defines in the FourLineDisplayUsermod to put options people might need to change together toward the top.

* relocate plugins. add mention of the Wire requirement.

* usermod filenames changed, updating comment in const.h

* fix usermod locations.

* fix usermods_list to include changed folder.

* Improved for both usermods: install, config, and docs. Included sample platform_override.ini.

* Updated name of SDA and SCL defines for config of display

* update docs.

* Wrong year. Fixed.

* Fix youtube link, improve config of sleep/clock when the rotary usermod isn't installed.

* Minor fixes to four line display. Addition of Auto Save v2 usermod.

* Allow config for auto-save to set the preset number to use. Load preset at startup (so brightness is set correctly).

* Updated docs for Auto Save.

* Updated docs for Auto Save.

Co-authored-by: Kevin Dorff <kevin@macbookpro-kevin-wifi.local>
2021-02-09 17:15:43 +01:00
Blaz Kristan
a9c211d66c Tetris (falling bricks) effect & Colortwinkles low brightness fix. 2021-02-07 14:45:34 +01:00
Blaz Kristan
a1c2c04510 Playlist handling. 2021-02-05 17:36:53 +01:00
cschwinne
0902b628f8 Added FPS indication in info 2021-02-05 01:33:26 +01:00
Aircoookie
517a85f9e9
Merge pull request #1711 from Aircoookie/dev-multipin-select
Multipin select working!
2021-01-31 00:42:39 +01:00
Aircoookie
94941a7732
Merge pull request #1704 from Moustachauve/content-cache
Add Cache-Control to index
2021-01-31 00:42:24 +01:00
cschwinne
f3aa8d368e Multipin appears to work 2021-01-31 00:38:27 +01:00
cschwinne
9518c5f2e4 might work 2021-01-30 20:51:36 +01:00
cschwinne
e44173ff09 JSON ledDoc (does not work, crash on delete) 2021-01-30 13:23:38 +01:00
Matchlighter
fa1106d3cf
Add DNRGBW Mode for Real Time UDP Control
Add DNRGBW mode so that >367 RGBW LEDs may be controlled, similar to the DNRGB mode.
2021-01-29 23:11:37 -07:00
Christophe Gagnier
c24d574f90 Add Cache-Control to index 2021-01-28 22:16:36 -05:00
cschwinne
8ed35652bc LED memory usage indicator, better pin checker 2021-01-29 02:34:03 +01:00
cschwinne
9bdcfc8a45 LED settings JS possibly complete (need to add saving logic to set.cpp) 2021-01-26 01:58:34 +01:00
cschwinne
89b76b514c Settings progress 2021-01-26 00:19:41 +01:00
Blaz Kristan
dd433d8af0 Auto node discovery. 2021-01-22 16:17:18 +01:00
cschwinne
c105f3b970 Mulipin select compiles
Need to work on JS and set.cpp next
2021-01-21 01:21:16 +01:00
Aircoookie
94471c0d1c
Merge pull request #1675 from Aircoookie/blazoncek-dev
Dynamic bus configuration and pin management
2021-01-19 18:46:51 +01:00
cschwinne
849e04ab83 Better handling of DMA re-init 2021-01-19 17:22:37 +01:00
cschwinne
67833c5513 getPins() and reversed 2021-01-19 16:51:03 +01:00
cschwinne
b0306867b4 Resolve merge conflict 2021-01-18 21:03:10 +01:00
cschwinne
d5025fdbcc Fixed canAllShow() and removeAll() 2021-01-18 20:51:32 +01:00
Blaz Kristan
e6cf1dc98d Temperature usermod update (pin management). 2021-01-17 15:00:14 +01:00
Aircoookie
0266370218
Merge pull request #1662 from Matoran/patch-1
fix COO_MAX comment
2021-01-17 14:51:49 +01:00
cschwinne
aeb3f2b018 Fix ESP32 2021-01-17 00:34:34 +01:00
Blaz Kristan
bb8d5ac13f Dynamic allocation for bus manager. 2021-01-17 00:20:31 +01:00
cschwinne
d02bf37167 Fix a few warnings 2021-01-16 21:40:04 +01:00
cschwinne
99dbd9e649 Added bus cleanup 2021-01-16 19:53:08 +01:00
cschwinne
0d63dad8c2 Working getPixelColor() 2021-01-16 17:11:23 +01:00
Marco Lopes
6ce465664f
fix COO_MAX comment
COO_MAX value changed but comment does not take modification into account.
2021-01-16 16:01:50 +01:00
cschwinne
b934634159 First light from busmanager! (still not usable though) 2021-01-16 00:50:43 +01:00