Наработки за 5 лет

This commit is contained in:
2019-08-27 14:47:10 +05:00
commit f5582d88c3
56 changed files with 11117 additions and 0 deletions

27
reset-reflex Executable file
View File

@@ -0,0 +1,27 @@
#!/bin/sh
# You need to have installed Wiring Pi library to be able
# to use this script
# see http://wiringpi.com/download-and-install/
# define GPIO number where RESET line (DTR) is connected to
# here GPIO 18
io=18
# Set IO pin to output
gpio -g mode $io out
# Set IO pin to LOW (bring reset to GND)
echo -n "Resetting with GPIO"$io"..."
gpio -g write $io 0
# wait little time
sleep 1
# Set IO pin to HIGH (release reset to VDD)
gpio -g write $io 1
echo "done"
# Optionnal, you can just after reset launch a
# serial connection to Arduino
# uncomment the following line to do it
#picocom -b 115200 --imap lfcrlf /dev/ttyS0