From a5f6e21fac777dec3a9a14ddf9f2bd5e259fd015 Mon Sep 17 00:00:00 2001 From: Sai Hari Chandana Kalluri Date: Mon, 23 Apr 2018 12:02:18 -0700 Subject: [sensor-mezzanine-examples][master][PATCH 2/7] Added run_me.sh to all examples Signed-off-by: Sai Hari Chandana Kalluri --- button_led/run_me.sh | 3 +++ humid_temp/run_me.sh | 4 ++++ light_buzz/run_me.sh | 4 ++++ rgb_lcd_demo/run_me.sh | 5 +++++ touch_switch/run_me.sh | 5 +++++ tweeting_doorbell/run_me.sh | 4 ++++ 6 files changed, 25 insertions(+) create mode 100755 button_led/run_me.sh create mode 100755 humid_temp/run_me.sh create mode 100755 light_buzz/run_me.sh create mode 100755 rgb_lcd_demo/run_me.sh create mode 100755 touch_switch/run_me.sh create mode 100755 tweeting_doorbell/run_me.sh diff --git a/button_led/run_me.sh b/button_led/run_me.sh new file mode 100755 index 0000000..4b19320 --- /dev/null +++ b/button_led/run_me.sh @@ -0,0 +1,3 @@ +#!/bin/bash +cd /usr/share/Sensor_Mezzanine_Getting_Started/button_led +make upload reset_stty diff --git a/humid_temp/run_me.sh b/humid_temp/run_me.sh new file mode 100755 index 0000000..2b50a6f --- /dev/null +++ b/humid_temp/run_me.sh @@ -0,0 +1,4 @@ +#!/bin/bash +export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/site-packages/upm +cd /usr/share/Sensor_Mezzanine_Getting_Started/humid_temp +make run diff --git a/light_buzz/run_me.sh b/light_buzz/run_me.sh new file mode 100755 index 0000000..7f675ca --- /dev/null +++ b/light_buzz/run_me.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +cd /usr/share/Sensor_Mezzanine_Getting_Started/light_buzz +make upload reset_stty diff --git a/rgb_lcd_demo/run_me.sh b/rgb_lcd_demo/run_me.sh new file mode 100755 index 0000000..b4069c1 --- /dev/null +++ b/rgb_lcd_demo/run_me.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +cd /usr/share/Sensor_Mezzanine_Getting_Started/rgb_lcd_demo +make +./rgb_lcd_demo diff --git a/touch_switch/run_me.sh b/touch_switch/run_me.sh new file mode 100755 index 0000000..b80543c --- /dev/null +++ b/touch_switch/run_me.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +cd /usr/share/Sensor_Mezzanine_Getting_Started/touch_switch +make +./touch_switch diff --git a/tweeting_doorbell/run_me.sh b/tweeting_doorbell/run_me.sh new file mode 100755 index 0000000..3507125 --- /dev/null +++ b/tweeting_doorbell/run_me.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +cd /usr/share/Sensor_Mezzanine_Getting_Started/tweeting_doorbell +make run -- 2.7.4