-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtools.h
More file actions
34 lines (24 loc) · 767 Bytes
/
tools.h
File metadata and controls
34 lines (24 loc) · 767 Bytes
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
/**************************************************************************
* Libs and Globals
* This repo is specially designed for YouTube channel @NiusRobotLab
* GNU General Public License v3.0
**************************************************************************/
#ifndef TOOLS_H
#define TOOLS_H
#include <Arduino.h>
#include <Wire.h>
#include <WiFi.h>
#include <WiFiUdp.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BNO055.h>
#include <utility/imumaths.h>
#include <at24c256.h>
#include "config.h"
Adafruit_BNO055 bno = Adafruit_BNO055(55, BNO055_I2C_ADDR);
const char* ssid = AID;
const char* password = PWD;
unsigned int localPort = APPORT;
IPAddress broadcastIP;
WiFiUDP Udp;
extern imu::Vector<3> quat2Deg(imu::Quaternion&);
#endif