forked from nanpy/nanpy-firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample_cfg.h
84 lines (56 loc) · 2.42 KB
/
sample_cfg.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#pragma once
// Use BOARD_ID to identify your arduino board. It is useful if connecting more than one arduino to usb.
// Example:
// BOARD_ID = "robot_arm"
#ifndef
#define BOARD_ID = ""
#endif
// only for ESP8266
#define USE_WIFI_CONNECTION 0
// for WIFI connection
#define WIFI_SSID "***"
#define WIFI_PASSWORD "***"
// for serial connection
#define BAUDRATE 115200
// info about existence of other features
#define USE_Info 1
// definitions: MCU type, frequency, Arduino version,
// EEPROM size, RAM size, pin count, build time,..
#define USE_Define 1
// low level mapping of pins and ports
#define USE_ArduinoCore 1
// read, write RAM
#define USE_RAM 1
// read, write EEPROM
#define USE_EEPROM 1
// read, write AVR registers
#define USE_Register 0
// watchdog and reset
#define USE_Watchdog 0
#define USE_Tone 0
#define USE_LiquidCrystal 0
// I2C
#define USE_Wire 0
#define USE_Servo 0
#define USE_Stepper 0
// frequency counter, USE_Tone should be off!
#define USE_Counter 0
///////////////////////////////////////////////////////////////////////
// external libraries should be installed for the following features:
///////////////////////////////////////////////////////////////////////
// https://github.com/PaulStoffregen/OneWire
#define USE_OneWire 0
// https://github.com/milesburton/Arduino-Temperature-Control-Library
#define USE_DallasTemperature 0
#define USE_CapacitiveSensor 0
// https://github.com/adafruit/DHT-sensor-library
#define USE_DHT 0
// based on this: https://github.com/JRodrigoTech/Ultrasonic-HC-SR04
// i modified it a bit to work for me.
#define USE_HCSR04 0
// https://bitbucket.org/fmalpartida/new-liquidcrystal
#define USE_LiquidCrystal_I2C 0
// https://www.adafruit.com/products/1429
#define USE_TLC5947 0
// ???
#define USE_MCP41xxx 0