-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.py
More file actions
19 lines (15 loc) · 729 Bytes
/
Copy pathsettings.py
File metadata and controls
19 lines (15 loc) · 729 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Steering system-related GPIO pins. GP #'s, not pin numbers
gp_steering:int = 18
# Drivetrain-related GPIO pins. GP #'s, not pin numbers
gp_safety:int = 20
gp_i1:int = 19
gp_i2:int = 21
# REYAX RYLR998 UART interface
gp_lora_rx:int = 17 # the pin the raspberry pi will use to RECEIVE data to the RYLR998
gp_lora_tx:int = 16 # the pin the raspberry pi will use to SEND data to the RYLR998
# battery ADC
gp_battery:int = 26 # the analog-to-digital pin that will be used to sense the battery state of charge (using a voltage divider)
# diagnostic logging
# if flipped to true, all printing will be logged to a file, "log.txt".
# This will significantly slow down operations but is good for debugging.
dlog:bool = False