forked from wasdwasd0105/SuperWiFiDuck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h
40 lines (28 loc) · 862 Bytes
/
config.h
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
31
32
33
34
35
36
37
/*
This software is licensed under the MIT License. See the license file for details.
Source: https://github.com/spacehuhntech/WiFiDuck
*/
#pragma once
#define VERSION "1.2.0"
/*! ===== DEBUG Settings ===== */
// #define ENABLE_DEBUG
// #define DEBUG_PORT Serial
// #define DEBUG_BAUD 115200
/*! ===== Communication Settings ===== */
// #define ENABLE_SERIAL
#define SERIAL_PORT Serial
#define SERIAL_BAUD 9600
#define BUFFER_SIZE 256
#define PACKET_SIZE 32
#define MSG_CONNECTED "LED 0 0 25\n"
#define MSG_STARTED "LED 0 25 0\n"
/*! ======EEPROM Settings ===== */
#define EEPROM_SIZE 4095
#define EEPROM_BOOT_ADDR 3210
#define BOOT_MAGIC_NUM 1234567890
/*! ===== WiFi Settings ===== */
#define WIFI_SSID "PixelWiFiDuck"
#define WIFI_PASSWORD "WhatTheDuck?"
#define WIFI_CHANNEL "1"
#define HOSTNAME "wifiduck"
#define URL "duck.me"