EasyManua.ls Logo

Canon Camera - Page 180

Canon Camera
257 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5.7 Example scripts 171
-- Program definition
labels = {"Parameters",
" Lightning", "Fast",
"Small Objects", " Macro",
" Hat"
-- add additional labels here
}
programs = {
function() --Parameters
end,
function() --Lightning
a,b,c,d, e,f, i,o,p,t,z
= 4,4,1,55,1,10,0,6,0,2,1
if u == 0 then u = -1 end
end,
function() --Fast
a,b,c,d, e,f, i,j,k,l,m,o,p,t,z
= 6,4,1,30,1,-5,1,2,2,5,3,6,1,5,2
if u == 0 then u = -1 end
end,
function() --Small Objects
a, b, c,d, e, f, i,j,k,l,m,o,p,t,z
= 12,12,1,55,50,-1,1,2,2,11,11,1,
1,5,2
if u < 0 then u = 0 end
end,
function() –Macro
a,b,c,d, e, f, i,j,k,l,m,o,p,t,z
= 5,5,3,55,10,-1,1,3,3,3,3,6,1,5,2
if u == 0 then u = -1 end
end,
function() --Hat
a,b,c,d, e, f, i,o, p,t,z
= 1,1,1,55,10,24,0,12,5,5,0
if u < 0 then u = 0 end
if v < 1 then v = 5 end
pause(v)
end
--[[add additional program implementations here]]
}
After we have populated the two tables with labels and functions, we can
now allow the user to select one of them. The number of the scene pro-
gram is stored in the variable program. The currently selected program label

Table of Contents

Related product manuals