STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
main.h File Reference
#include <Arduino.h>
#include <Ethernet.h>
#include <SPI.h>
#include <STAR_EthernetOTA.h>
#include "sense_board_pins.h"
Include dependency graph for main.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OTA_STATIC_IP   IPAddress(192, 168, 2, 5)
#define OTA_GATEWAY   IPAddress(192, 168, 2, 1)
#define OTA_SUBNET   IPAddress(255, 255, 255, 0)
#define OTA_DNS   IPAddress(192, 168, 2, 1)
#define OTA_TCP_PORT   3232
#define OTA_MESSAGE   "Default OTA firmware -- not yet updated"
#define PRINT_INTERVAL_MS   2000
#define ETHERNET_SPI_DELAY   1000
#define ETHERNET_INIT_DELAY   1000
#define ETHERNET_BEGIN_DELAY   1000

Variables

constexpr const Layout & Pins

Macro Definition Documentation

◆ ETHERNET_BEGIN_DELAY

#define ETHERNET_BEGIN_DELAY   1000

Definition at line 35 of file main.h.

Referenced by setup().

◆ ETHERNET_INIT_DELAY

#define ETHERNET_INIT_DELAY   1000

Definition at line 34 of file main.h.

Referenced by setup().

◆ ETHERNET_SPI_DELAY

#define ETHERNET_SPI_DELAY   1000

Definition at line 33 of file main.h.

Referenced by setup().

◆ OTA_DNS

#define OTA_DNS   IPAddress(192, 168, 2, 1)

Definition at line 20 of file main.h.

Referenced by setup().

◆ OTA_GATEWAY

#define OTA_GATEWAY   IPAddress(192, 168, 2, 1)

Definition at line 18 of file main.h.

Referenced by setup().

◆ OTA_MESSAGE

#define OTA_MESSAGE   "Default OTA firmware -- not yet updated"

Definition at line 28 of file main.h.

Referenced by currentMessage().

◆ OTA_STATIC_IP

#define OTA_STATIC_IP   IPAddress(192, 168, 2, 5)

Definition at line 17 of file main.h.

Referenced by setup().

◆ OTA_SUBNET

#define OTA_SUBNET   IPAddress(255, 255, 255, 0)

Definition at line 19 of file main.h.

Referenced by setup().

◆ OTA_TCP_PORT

#define OTA_TCP_PORT   3232

Definition at line 21 of file main.h.

◆ PRINT_INTERVAL_MS

#define PRINT_INTERVAL_MS   2000

Definition at line 32 of file main.h.

Referenced by loop().

Variable Documentation

◆ Pins

const Layout& sense_board_pins::Pins
constexpr

Definition at line 161 of file sense_board_pins.h.