correct some gpios
This commit is contained in:
+3
-1
@@ -6,6 +6,8 @@ ircut2=67
|
|||||||
led1=10
|
led1=10
|
||||||
led2=25
|
led2=25
|
||||||
light_ir=72
|
light_ir=72
|
||||||
|
light_wl=-1
|
||||||
|
light_sensor=-1
|
||||||
|
mmc_pwr=38
|
||||||
speaker=28
|
speaker=28
|
||||||
usb=7
|
usb=7
|
||||||
mmc_pwr=38
|
|
||||||
|
|||||||
+4
@@ -1,5 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
### set leds power off ###
|
||||||
|
gpio set 10
|
||||||
|
gpio set 25
|
||||||
|
|
||||||
### sd card power en ###
|
### sd card power en ###
|
||||||
devmem 0x100c0058 32 0
|
devmem 0x100c0058 32 0
|
||||||
gpio set 38
|
gpio set 38
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ led2=-1
|
|||||||
light_wl=72
|
light_wl=72
|
||||||
light_ir=73
|
light_ir=73
|
||||||
light_sensor=-1
|
light_sensor=-1
|
||||||
|
mmc_pwr=-1
|
||||||
pir_sensor=-1
|
pir_sensor=-1
|
||||||
relay=64
|
relay=64
|
||||||
speaker=-1
|
speaker=-1
|
||||||
|
|||||||
+2
-1
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
### set off white led ###
|
### set off white led ###
|
||||||
gpio clear 72
|
gpio clear 72
|
||||||
|
gpio clear 24
|
||||||
|
|
||||||
# pwm light control
|
# pwm light control
|
||||||
#devmem 0x100c009c 32 0x1 # pwm 2
|
#devmem 0x100c009c 32 0x1 # pwm 2
|
||||||
@@ -14,5 +15,5 @@ gpio clear 72
|
|||||||
#devmem 0x112c0094 32 0x1000 # gpio 8-3
|
#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)
|
#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
|
#devmem 0x120100f0 32 0x19
|
||||||
|
|||||||
+1
-1
@@ -8,6 +8,6 @@ led2=-1
|
|||||||
light_ir=-1
|
light_ir=-1
|
||||||
light_wl=-1
|
light_wl=-1
|
||||||
light_sensor=62
|
light_sensor=62
|
||||||
|
mmc_pwr=-1
|
||||||
speaker=53
|
speaker=53
|
||||||
usb=-1
|
usb=-1
|
||||||
mmc_pwr=-1
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
alarm_in=-1
|
alarm_in=-1
|
||||||
alarm_out=-1
|
alarm_out=-1
|
||||||
button=-1
|
button=66
|
||||||
ircut1=79
|
ircut1=79
|
||||||
ircut2=78
|
ircut2=78
|
||||||
led1=47
|
led1=47
|
||||||
|
|||||||
Reference in New Issue
Block a user