Подключение дисплея к 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.
 
 
 

10 lines
216 B

  1. #!/bin/bash
  2. LCDPROG="/opt/lcd/lcd595out /opt/lcd/set1.map"
  3. USED=`free -mh|grep Mem|awk '{ print $3 }'`
  4. FREE=`free -mh|grep Mem|awk '{ print $4 }'`
  5. LINES=`echo -e "\x02 Memory\nU $USED, F $FREE"`
  6. $LCDPROG "$LINES"