Files
Last update 5 years 9 months
by
Torsten Martinsen
Files | |
---|---|
arm | |
cad | |
ctrlr | |
esp32 | |
html | |
i2ctest | |
leds | |
motor | |
pcb | |
peakdetector | |
signals | |
udev-rules | |
.gitignore | |
base.dxf | |
chairbot.service | |
motion.conf | |
spacer.dxf | |
start | |
updatelcd |
updatelcd#!/bin/bash INETADDR=`ifconfig eth0 | grep "inet addr" | cut -d ' ' -f 12 | sed -e s/addr://` if [ -z "$INETADDR" ]; then INETADDR=`ifconfig wlan0 | grep "inet addr" | cut -d ' ' -f 12 | sed -e s/addr://` fi if [ -z "$INETADDR" ]; then INETADDR='No network' fi LCDPORT=/dev/lcdsmartie LCD="/home/pi/agalanin-smartie-utils-aaa87234f4eb/smartie-cat.tcl -tty $LCDPORT -height 2" echo -e "$INETADDR\n$1" | $LCD