-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplatformio.ini
More file actions
37 lines (34 loc) · 869 Bytes
/
platformio.ini
File metadata and controls
37 lines (34 loc) · 869 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
35
36
37
[platformio]
default_envs = controller
src_dir = src
[env]
lib_deps =
Adafruit NeoPixel@1.5.0
; http://www.airspayce.com/mikem/arduino/RadioHead/RadioHead-1.97.zip
https://github.com/PaulStoffregen/RadioHead
https://github.com/PaulStoffregen/PWMServo
build_flags =
'-D BONJOUR="LAUNCHPADCONTROLLER"'
-D BAUDRATE=115200
-D RFM_FREQ=915.0f
-D RFM_TX_POWER=10 ; LoRa transmit power. Can be set between 5 and 23 dBm
-D SERVO_MIN_PULSE_WIDTH=1000 ; microseconds
-D SERVO_MAX_PULSE_WIDTH=2000 ; microseconds
[env:controller]
platform = teensy
board = teensylc
framework = arduino
src_filter =
+<*controller*>
build_flags =
${env.build_flags}
-D STARTUP_COLOR=0x3333ff ; ~Blue
[env:gateway]
platform = teensy
board = teensylc
framework = arduino
src_filter =
+<*gateway*>
build_flags =
${env.build_flags}
-D STARTUP_COLOR=0xcc0066 ; ~Pink