Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some work to get it stable #92

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
### This is a fork of ESP8266_ArtNetNode_v2 by mtongnz.

Serveral improvements and fixes have been implemented over "v2.0.0d (beta 5g)"

- WS2812 no longer flicker
- ESP8266WebServer leaked memory(open connections) gets reclaimed.
- Reboot on low heap.
- Universe 10 now ouputs raw pwm values to pins defined in pwmports[].
- Default dmxA/B pins changed to D1/D2 to avoid boot flicker.
- Improved heap usage.

### Compile options:
- CPU Frequency needs to be 160mhz, SDK 2.4.1 recommeded.
- Set lwIP to "V2 Lower Memory"
- Dont forget to upload SPIFFS (click on "ESP8266 Sketch Data Upload") Requires: https://github.com/esp8266/arduino-esp8266fs-plugin
- you can get an extra 4kb of heap by moving g_cont to sys area, this may kill timer callbacks and gdb as a side effekt https://github.com/esp8266/Arduino/pull/4553/commits/17bf98c01cd6ffc0cd1a1c48ade28ed0a01ffad0

those options should give you about 45kB of heap.


## Original README:
------------------

# ESP8266_ArtNetNode_v2
ESP8266 based WiFi ArtNet V4 to DMX, RDM and LED Pixels

Expand Down
Binary file removed espArtnetNode_2.0.0_b5g.bin
Binary file not shown.
Binary file removed espArtnetNode_2.0.0_b5g_ESP01.bin
Binary file not shown.
Binary file removed espArtnetNode_2.0.0_b5g_NO_RESET.bin
Binary file not shown.
Binary file removed espArtnetNode_2.0.0_b5g_WEMOS.bin
Binary file not shown.
4 changes: 2 additions & 2 deletions libs/espArtnetRDM/espArtNetRDM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1319,11 +1319,11 @@ char* esp8266ArtNetRDM::getLongName() {
return _art->longName;
}

void esp8266ArtNetRDM::setNodeReport(char* c, uint16_t code) {
void esp8266ArtNetRDM::setNodeReport(const char* c, uint16_t code) {
if (_art == 0)
return;

strcpy(_art->nodeReport, c);
strcpy_P(_art->nodeReport, c);
_art->nodeReportCode = code;
}

Expand Down
2 changes: 1 addition & 1 deletion libs/espArtnetRDM/espArtNetRDM.h
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class esp8266ArtNetRDM {
IPAddress getSubnetMask();
bool getDHCP();

void setNodeReport(char*, uint16_t);
void setNodeReport(const char*, uint16_t);
void artPollReply();

void sendDMX(uint8_t, uint8_t, IPAddress, uint8_t*, uint16_t);
Expand Down
30 changes: 0 additions & 30 deletions prizes.md

This file was deleted.

Binary file added source/data/index.htm.gz
Binary file not shown.
Binary file added source/data/style.css.gz
Binary file not shown.
657 changes: 657 additions & 0 deletions source/data_uncompressed/index.htm

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions source/data_uncompressed/style
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<html><head><title>espArtNetNode CSS Upload</title></head><body>Select and upload your CSS file. This will overwrite any previous uploads but you can restore the default below.<br /><br /><form method='POST' action='/style_upload' enctype='multipart/form-data'><input type='file' name='css'><input type='submit' value='Upload New CSS'></form><br /><a href='/style_delete'>Restore default CSS</a></body></html>
1 change: 1 addition & 0 deletions source/data_uncompressed/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading