File tree 3 files changed +9
-5
lines changed 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -92,3 +92,4 @@ add_custom_target(WITH_APP /bin/sh ${CMAKE_CURRENT_SOURCE_DIR}/deploy_app.sh ${C
92
92
add_custom_target (PACK /bin/sh ${CMAKE_CURRENT_SOURCE_DIR} /pack.sh ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
93
93
94
94
add_dependencies (PACK self_o_mat.app)
95
+ add_dependencies (self_o_mat.app WITH_APP)
Original file line number Diff line number Diff line change @@ -72,13 +72,16 @@ cmake ..
72
72
make
73
73
```
74
74
75
- 4 . Edit settings.json to match your setup
75
+ 4 . Tell your system which type of self-o-mat you are running. For development config use 'dev' by running:
76
+ `` sudo bash -c 'echo "dev" > /opt/.selfomat.type' ``
76
77
77
- 5 . Run self-o-mat
78
+ 5 . Edit settings/dev.json to match your setup. It should work with an Arduino Nano by default.
79
+
80
+ 6 . Run the self-o-mat photo-booth software:
78
81
```
79
82
#setup your installation
80
- cd <source dir>
81
- build /self_o_mat
83
+ cd <source dir>/build
84
+ . /self_o_mat.app
82
85
```
83
86
84
87
# Now what?
Original file line number Diff line number Diff line change 1
1
{
2
2
"camera_type" : " gphoto" ,
3
3
"has_flash" : false ,
4
- "has_button" : false ,
4
+ "has_button" : true ,
5
5
"disable_watchdog" : false ,
6
6
"debug" : false ,
7
7
"button_port_name" : " /dev/ttyUSB" ,
You can’t perform that action at this time.
0 commit comments