-
Notifications
You must be signed in to change notification settings - Fork 2
/
global.tbh
26 lines (26 loc) · 965 Bytes
/
global.tbh
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
'DEFINES-------------------------------------------------------------
#define LUIS_CONFIG_FILE "luis.xtxt"
#define LUIS_DEBUG_PRINT 1
#define DHCP_DEBUG_PRINT 1
#define WLN_AVAILABLE 1
#define SIGNAL_STRENGTH_INDICATION 1
const MAX_NUM_INTERFACES=4
const DEVICE_NET_IP = "192.168.1.101"
const DEVICE_NET_MASK = "255.255.255.0"
const DEVICE_NET_GATEWAY = "192.168.1.1"
const BT_NAME="WM2000 Companion"
const LUIS_BT_DEVICE_NAME="WM2000 Companion"
#define WLN_CLK PL_IO_NUM_53
#define WLN_CS PL_IO_NUM_49
#define WLN_DI PL_IO_NUM_52
#define WLN_DO PL_IO_NUM_50
#define WLN_RST PL_IO_NUM_51
'INCLUDES------------------------------------------------------------
includepp "settings.xtxt"
include "settings\trunk\settings.tbh"
include "filenum\trunk\filenum.tbh"
include "libraries\luis.tbh"
includepp "luis.xtxt"
'DECLARATIONS--------------------------------------------------------
declare interface_ready(MAX_NUM_INTERFACES) as no_yes
declare sub init_stg_ble_luis()