change default brc pin

This commit is contained in:
legop3
2025-12-01 21:19:47 -05:00
parent 9be4a4e180
commit fb76ecd512
6 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ run_pipeline() {
-ar "${AUDIO_RATE}" \
-ac "${AUDIO_CHANNELS}" \
-i <(arecord -D "${AUDIO_DEVICE}" -f S32_LE -c "${AUDIO_CHANNELS}" -r "${AUDIO_RATE}" -B 65536 -F 2048 -q -t raw) \
-af "aresample=16000,pan=mono|c0=0.5*FL+0.5*FR,volume=12dB" \
-af "aresample=16000,pan=mono|c0=0.5*FL+0.5*FR,volume=20dB" \
-c:a libopus \
-b:a 24000 \
-ar:a 16000 \
+1 -1
View File
@@ -115,7 +115,7 @@ func LoadConfig(path string) (*Config, error) {
cfg := Config{
MaxWheelMMs: 500,
BRC: BRCConfig{
GPIOPin: -1,
GPIOPin: 4,
GPIOChip: "gpiochip0",
PulseEvery: Duration{
Duration: time.Minute,
+1 -1
View File
@@ -5,7 +5,7 @@ serial:
device: /dev/ttyAMA0
baud: 115200
brc:
gpioPin: 17
gpioPin: 4
gpioChip: gpiochip0
pulseEvery: 1m
pulseWidth: 1s
+1 -1
View File
@@ -5,7 +5,7 @@ serial:
device: /dev/ttyAMA0
baud: 115200
brc:
gpioPin: 17
gpioPin: 4
gpioChip: gpiochip0
pulseEvery: 1m
pulseWidth: 1s