Files
artnetdmx/include/board.h
T
jimmyandCursor fea6dffa74 Add ArtNetDMX Pico W firmware with dual DMX and docs.
Art-Net to two RS-485 outputs over Wi-Fi (AP or STA with SoftAP fallback), web UI, mDNS, and QLC+/ArtPoll notes for unicast on STA.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 00:00:23 +12:00

26 lines
657 B
C

#ifndef BOARD_H
#define BOARD_H
#include <stdint.h>
/** DMX universe A (port 0) TX pin → RS-485 DI */
#define BOARD_DMX_A_PIN 0
/** DMX universe B (port 1) TX pin → RS-485 DI */
#define BOARD_DMX_B_PIN 1
#define BOARD_NUM_UNIVERSES 2
#define BOARD_DMX_CHANNELS 512
#define BOARD_DMX_FRAME_LEN (1 + BOARD_DMX_CHANNELS) /* start code + 512 */
#define BOARD_DMX_HZ 40
#define BOARD_DMX_PERIOD_MS (1000 / BOARD_DMX_HZ)
#define BOARD_DEFAULT_UNIVERSE_A 0
#define BOARD_DEFAULT_UNIVERSE_B 1
#define BOARD_AP_SSID_DEFAULT "ArtNetDMX"
#define BOARD_AP_PASS_DEFAULT "artnetdmx"
#define BOARD_HOSTNAME "artnetdmx"
#endif