-
Notifications
You must be signed in to change notification settings - Fork 117
/
user.cfg
30 lines (24 loc) · 1.28 KB
/
user.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
###############################################################################
# User Options
###############################################################################
CHIP = 8266
IP = 192.168.4.1 # does not actually set the IP in firmware
PORT = /dev/ttyUSB0 # could also be /dev/ttyACM0
WEB_PORT = 80
COM_PORT = 7777
BACKEND_PORT = 7878
PAGE_OFFSET = 65536 # 1048576
#MUST BE 1.5.4
#SDK = $(HOME)/esp8266/ESP8266_NONOS_SDK
ESP_GCC_VERS = 4.8.5
FWBURNFLAGS = -b 1000000
OPTS += -DICACHE_FLASH
OPTS += -DSK6812
#OPTS += -DWS_SLEEP=14000
#OPTS += -DVERIFY_FLASH_WRITE
#OPTS += -DDEBUG
#OPTS += -DFREQ=12500
PAGE_TITLE = esp8266 ws2812 i2s controller
PAGE_SCRIPTS = main.js
PAGE_HEADING = $(PAGE_TITLE)
PAGE_INFO = <p>Welcome to the esp8266ws2812i2s Web-based GUI.</p><p>This GUI uses WebSockets, and has only been tested under the newest (as of April, 2016) Chrome and Firefox browsers.</p><p>For more information about this project, visit it on github, here: <a href=https://github.com/cnlohr/esp8266ws2812i2s>https://github.com/cnlohr/esp8266ws2812i2s</a></p><p>If you want to send light to this device, send a UDP packet to port $(COM_PORT) to it. The first 3 bytes will be ignored, after that will be GRB values, one byte each, for each WS2812 you want to control</p>