correct some gpios

This commit is contained in:
cronyx
2025-02-20 14:30:56 +03:00
parent 25c5a72927
commit 1180b50911
6 changed files with 12 additions and 4 deletions

View File

@@ -6,6 +6,8 @@ ircut2=67
led1=10
led2=25
light_ir=72
light_wl=-1
light_sensor=-1
mmc_pwr=38
speaker=28
usb=7
mmc_pwr=38

View File

@@ -1,5 +1,9 @@
#!/bin/sh
### set leds power off ###
gpio set 10
gpio set 25
### sd card power en ###
devmem 0x100c0058 32 0
gpio set 38

View File

@@ -8,6 +8,7 @@ led2=-1
light_wl=72
light_ir=73
light_sensor=-1
mmc_pwr=-1
pir_sensor=-1
relay=64
speaker=-1

View File

@@ -2,6 +2,7 @@
### set off white led ###
gpio clear 72
gpio clear 24
# pwm light control
#devmem 0x100c009c 32 0x1 # pwm 2
@@ -14,5 +15,5 @@ gpio clear 72
#devmem 0x112c0094 32 0x1000 # gpio 8-3
#devmem 0x112c0040 32 0x100 # gpio 5-0 green led (flash with use wifi connection and not flash for wired)
# after sensor init
# after sensor init # (??)
#devmem 0x120100f0 32 0x19

View File

@@ -8,6 +8,6 @@ led2=-1
light_ir=-1
light_wl=-1
light_sensor=62
mmc_pwr=-1
speaker=53
usb=-1
mmc_pwr=-1

View File

@@ -1,6 +1,6 @@
alarm_in=-1
alarm_out=-1
button=-1
button=66
ircut1=79
ircut2=78
led1=47