Thanks, I really like the camera motion. I guess it's not only the equipment it depends also on the operator.
Etiquette, expectations, entitlement...
@autoexec_bin | #magiclantern | Discord | Reddit | Server issues
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu...
{
.name = "Duration",
.priv = &v,
.max = 0,
.choices = (const char *[]) {time_str},
.help = "",
},
...
char* sec_to_time(int seconds)
{
int minutes, hours;
hours=seconds % 86400 / 3600;
minutes=seconds % 3600 / 60;
seconds=seconds % 60;
const char colon[] = ":";
sprintf(time_str, "%02d%s%02d%s%02d",hours,colon,minutes,colon,seconds );
return time_str;
}
...
#include <stdio.h>
main()
{
char time_str [ 10 ];
int minutes, hours, len;
int seconds =199999000;
hours=seconds % 86400 / 3600;
minutes=seconds % 3600 / 60;
seconds=seconds % 60;
const char colon[] = ":";
snprintf(time_str,10, "%02d%s%02d%s%02d",hours,colon,minutes,colon,seconds );
printf("%s \n", time_str);
}
Suggestions for the scripting API?
PROP_REMOTE_SW1 = 0x80020015
msleep(1000)
setbutton = function()
setprop(PROP_REMOTE_SW1, 1);
msleep(100)
setprop(PROP_REMOTE_SW1, 0);
end
msleep(1000)
setbutton()
Page created in 0.109 seconds with 13 queries.