• Bartlomiej Grzeskowiak's avatar
    iopsys-ramips: Add led indication and buttons · a7777d8d
    Bartlomiej Grzeskowiak authored
    /etc/init.d/peripheral_manager stop //peripheral manager must be stopped
    
    echo 0-255 > /sys/class/leds/ex400\:green\:status/brightness
    echo 0-255 > /sys/class/leds/ex400\:red\:status/brightness
    echo 0-255 > /sys/class/leds/ex400:green:wps/brightness
    
    i2cget -y 0 0x2b 0x01
    9512_wps (0x08)
    9512_5g (0x04)
    9512_2g (0x02)
    
    i2cget -y 0 0x2b 0x02
    proximity detected (0x80)
    
    i2cset -y 0 0x2b 0x0d 0xF0 (all)
    Internet_red 	(0x10)
    Internet_green	(0x20)
    Wireless_5 	(0x40)
    Wireless_24 	(0x80)
    Signed-off-by: Bartlomiej Grzeskowiak's avatarBartlomiej Grzeskowiak <bartlomiej.grzeskowiak@iopsys.eu>
    a7777d8d
config 169 Bytes