continua modifiche per gestione driver
This commit is contained in:
22
drv/sample/releopenclose.include.sh
Normal file
22
drv/sample/releopenclose.include.sh
Normal file
@@ -0,0 +1,22 @@
|
||||
#
|
||||
# Apertura rele
|
||||
#
|
||||
# $1 identificativo relè da aprire
|
||||
#
|
||||
function drv_sample_rele_open {
|
||||
|
||||
echo "$(date) drv_sample_rele_open $1" >> /tmp/piGarden.drv.sample
|
||||
|
||||
}
|
||||
|
||||
#
|
||||
# Chiusura rele
|
||||
#
|
||||
# $1 identificativo relè da chiudere
|
||||
#
|
||||
function drv_sample_rele_close {
|
||||
|
||||
echo "$(date) drv_sample_rele_close $1" >> /tmp/piGarden.drv.sample
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user