Подключение дисплея к Raspberry Pi через сдвиговый регистр 74HC595 http://blindage.org/?p=4835
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
285 B

LCDPROG="/opt/lcd/lcd595out /opt/lcd/hdd.map"
#\x08\x04\x01 \x03\x05\x02
USED=`df -h /dev/sda1|grep sda1|awk '{ print $3 }'`
FREE=`df -h /dev/sda1|grep sda1|awk '{ print $4 }'`
LINES=`echo -e "\x08\x04\x01\x06 Used $USED\n\x03\x05\x02\x07 Free $FREE"`