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

  1. #!/bin/bash
  2. LCDPROG="/opt/lcd/lcd595out /opt/lcd/set1.map"
  3. CPU_TEMP=`/opt/cpu_term`
  4. HDD_TEMP=`cat /var/run/temp-sda`
  5. LINES=`echo -e "CPU temp: $CPU_TEMP\xdf\nHDD temp: $HDD_TEMP\xdf"`
  6. $LCDPROG "$LINES"