Menu

Show posts

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

Messages - RenatoPhoto

#1301
Is there another way to set the paths? 
Can full paths be used?
#1302
General Development / Re: Linux & compiling code
May 07, 2013, 10:46:47 PM
I only use cygwin and do not know tortoisehg
If you want I can help with the cygwin installation..
Lets check the installation path.
Post the full path to

cygwin  in my case is C:\cygwin
magic-lantern folder is C:\cygwin\home\PH\magic-lantern
path to compiler is C:\cygwin\home\PH\arm-toolchain473  (or 472 or 462)

#1303
General Development / Re: Linux & compiling code
May 07, 2013, 10:08:51 PM
ok, this looks different than what if have used.  In my case I used PELs instructions here:
http://www.magiclantern.fm/forum/index.php?topic=2899.msg14021#msg14021

This requires that you install:
1. cygwin
2. yagarto
3. mercurial
4. Clone the magic lantern into your computer
5. Setup your Makefile.user

So when I see: C:\MLnew\magic-lantern>make 600d

It seems that you are not working inside cygwin which would be the first program to get working.

Let me know if my assumptions are wrong.

#1304
General Development / Re: Linux & compiling code
May 07, 2013, 08:19:24 PM
Quote from: dslrrookie on May 06, 2013, 05:45:06 PM
I've been trying to compile on a windows system for 3 or 4 days now and just can't seem to get the settings right.  I'm pretty sure its a path thing, but I've tried every conceivable combination and just can't get it to work.

Just wondering if I partition the drive and install a Linux OS if I'd have better luck.

Have you posted any of the errors and settings?  I installed it on windows 32 bit with PELs instructions.  I only had problems putting the right path on Makefile.user.
#1305
The saga continues:

Downloaded the latest zip file for: gcc-arm-none-eabi-4_7-2013q1-20130313-win32
Unzipped to /arm-toolchain473 directory

changed the Makefile.user file to:

GCC_VERSION=4.7.3
ARM_ABI=none-eabi
ARM_PATH=../../../arm-toolchain473
ARM_LIBC_A=../../../arm-toolchain473/arm-none-eabi/lib/libc.a
PYTHON=python2.6
CONFIG_TCC          = y
CONFIG_MEMCHECK     = y
CONFIG_MODULES      = y

make clean and make 5D3 and ...
Same error.

then removed the modules and make clean and make 5D3 and ...

It works, I build 5D3

I dont know why under TCC it cannot find the toolchain.  The error reads;

[ CC       ]   tcc-gui.o
[ CC       ]   script_lib.o
make -C ../../tcc
make[2]: enters directory `/home/PH/magic-lantern/tcc'
../../../arm-toolchain473/bin/arm-none-eabi-gcc-4.7.3.exe -o libtcc.o -c libtcc.c -DTCC_TARGET_ARM -DWITHOUT_LIBTCC -I.  -Os -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result
make[2]: ../../../arm-toolchain473/bin/arm-none-eabi-gcc-4.7.3.exe: cannot find the program (this is written is spanish)
Makefile:189: recipe for target `libtcc.o' failed
make[2]: *** [libtcc.o] Error 127
make[2]: se sale del directorio `/home/PH/magic-lantern/tcc'
../../Makefile.inc:378: recipe for target `../../tcc/libtcc.a' failed
make[1]: *** [../../tcc/libtcc.a] Error 2
make[1]: se sale del directorio `/home/PH/magic-lantern/platform/5D3.113'
Makefile:70: recipe for target `5D3' failed
make: *** [5D3] Error 2



#1306
Thanks but..

I installed the new Yagarto which also installed the gcc-472.  I did this since that is the way I originally installed magic lantern based on the windows setup recommended by Pel here:  http://www.magiclantern.fm/forum/index.php?topic=2899.msg14021#msg14021

With this new gcc I am able to also compile 5D3 but if I enable the modules:

CONFIG_TCC          = y
CONFIG_MEMCHECK     = y
CONFIG_MODULES      = y

I get the same error as before but now for gcc 472 instead of 462

[ CC       ]   tcc-gui.o
[ CC       ]   script_lib.o
make -C ../../tcc
make[2]: se ingresa al directorio `/home/PH/magic-lantern/tcc'
../../../arm-toolchain472/bin/arm-none-eabi-gcc-4.7.2.exe -o libtcc.o -c libtcc.c -DTCC_TARGET_ARM -DWITHOUT_LIBTCC -I.  -Os -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result
make[2]: ../../../arm-toolchain472/bin/arm-none-eabi-gcc-4.7.2.exe: No se encontrĂ³ el programa
Makefile:189: recipe for target `libtcc.o' failed
make[2]: *** [libtcc.o] Error 127
make[2]: se sale del directorio `/home/PH/magic-lantern/tcc'
../../Makefile.inc:378: recipe for target `../../tcc/libtcc.a' failed
make[1]: *** [../../tcc/libtcc.a] Error 2
make[1]: se sale del directorio `/home/PH/magic-lantern/platform/5D3.113'
Makefile:70: recipe for target `5D3' failed
make: *** [5D3] Error 2

I see that the new Makefile.user call for GGG 473 but Yagarto does not have that included in their installation, Yagarto has gcc 472.

So the question is the same as posted before:

Do I need to install the GCC from  https://launchpad.net/gcc-arm-embedded?

Will the installation of GCC from  https://launchpad.net/gcc-arm-embedded (which is a zip file for windows) work or will I damage my ability to compile my 5D3 with windows.

#1307
@minimimi

Nobody is forcing anyone to answer any questions.  If 1% does not have time to answer any questions then he should not answer.

You are right, I am not a developer.  I am trying to learn and I only ask questions after I have spent some time researching for the answers but in this case I cannot find any answers as to how to do this RAW video thing.

#1308
Originally my gcc was installed using Yagarto.  For new update then should I install new yagarto installer or should I download gcc for windows zip file from https://launchpad.net/gcc-arm-embedded?
#1309
Do I also need to install TCC? 
#1310
Quote from: 1% on May 06, 2013, 11:04:15 PM

CONFIG_TCC          = y
CONFIG_MEMCHECK     = y
CONFIG_MODULES      = y


and make clean then make 5D3

ok, done but got tcc errors

../../src/tcc-glue.c: In function 'tcc_compile_and_run':
../../src/tcc-glue.c:34:9: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
../../src/tcc-glue.c:39:11: warning: 'main' is usually a function [-Wmain]
../../src/tcc-glue.c:66:9: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
../../src/tcc-glue.c: In function 'open':
../../src/tcc-glue.c:146:5: warning: passing argument 2 of 'FIO_GetFileSize' from incompatible pointer type [enabled by default]
../../src/dryos.h:518:1: note: expected 'uint32_t *' but argument is of type 'unsigned int *'
../../src/tcc-glue.c: In function 'read':
../../src/tcc-glue.c:179:5: warning: passing argument 2 of 'memcpy' makes pointer from integer without a cast [enabled by default]
../../src/dryos.h:535:1: note: expected 'const void *' but argument is of type 'long unsigned int'
../../src/tcc-glue.c: In function 'close':
../../src/tcc-glue.c:187:5: warning: passing argument 1 of 'free_dma_memory' makes pointer from integer without a cast [enabled by default]
../../src/dryos.h:544:1: note: expected 'const void *' but argument is of type 'int'
../../src/tcc-glue.c: In function 'fputc':
../../src/tcc-glue.c:240:1: warning: number of arguments doesn't match built-in prototype [enabled by default]
../../src/tcc-glue.c: In function 'tcc_compile_and_run':
../../src/tcc-glue.c:78:8: warning: 's' may be used uninitialized in this function [-Wuninitialized]
[ CC       ]   tcc-gui.o
[ CC       ]   script_lib.o
make -C ../../tcc
make[2]: se ingresa al directorio `/home/PH/magic-lantern/tcc'
../../../arm-toolchain462/bin/arm-none-eabi-gcc-4.6.2.exe -o libtcc.o -c libtcc.c -DTCC_TARGET_ARM -DWITHOUT_LIBTCC -I.  -Os -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result
make[2]: ../../../arm-toolchain462/bin/arm-none-eabi-gcc-4.6.2.exe: No se encontrĂ³ el programa
Makefile:189: recipe for target `libtcc.o' failed
make[2]: *** [libtcc.o] Error 127
make[2]: se sale del directorio `/home/PH/magic-lantern/tcc'
../../Makefile.inc:378: recipe for target `../../tcc/libtcc.a' failed
make[1]: *** [../../tcc/libtcc.a] Error 2
make[1]: se sale del directorio `/home/PH/magic-lantern/platform/5D3.113'
Makefile:70: recipe for target `5D3' failed
make: *** [5D3] Error 2


Here is my Makefile.user:

GCC_VERSION=4.6.2
ARM_ABI=none-eabi
ARM_PATH=../../../arm-toolchain462
ARM_LIBC_A=../../../arm-toolchain462/arm-none-eabi/lib/libc.a
PYTHON=python2.6
CONFIG_TCC          = y
CONFIG_MEMCHECK     = y
CONFIG_MODULES      = y
#1311
Quote from: 1% on May 06, 2013, 10:25:53 PM
Makefile.user, mark TCC and Modules y

make in the lv_rec folder... rename magiclantern.sym to MAGIC.SYM

I know how to edit Makefile.user but.. dont know what you mean by mark.  Can you post your makefile.user so I know what to put in mine?
Also I can went to lv_rec folder in the modules and type make but got erros:

$ make
[ CC       ]   lv_rec.o
lv_rec.c:1:20: fatal error: module.h: No such file or directory
compilation terminated.
/home/PH/magic-lantern/modules/lv_rec/../../Makefile.inc:746: recipe for target `lv_rec.o' failed
make: *** [lv_rec.o] Error 1
#1312
Quote from: 1% on May 06, 2013, 04:59:39 PM
Main repo has it, just enable TCC and modules.

Thanks but I dont know which modules to enable.  I found a dir with a few modules including lv_rec.
Also dont know how to enable TCC. 

Any post that has these instructions?
#1313
Quote from: 1% on May 06, 2013, 12:29:13 AM
The non presets don't seem to work.

g3ggo just added footer data, I have to merge it and rebuild, so that solves some problems.

sRaw trick didn't work for EOS-M :(... actually Sraw didn't work at all on EOSM, just dies when you take a pic. Maybe 650D will have better luck.

Is it possible to add g3ggo work to 5D3 so I can compile it and tested?
#1314
Quote from: dslrrookie on May 03, 2013, 03:45:19 PM
I also installed Yagarto Tools, so I would have "make" ... should that path be in the Makefile.user also? And if so where?

Here is the link to the windows installation guide by Pel

http://www.magiclantern.fm/forum/index.php?topic=2899.msg14021#msg14021

Also note my Makefile.user user for windows here

http://www.magiclantern.fm/forum/index.php?topic=2899.msg31741#msg31741
#1315
General Development / DNG vs RAW Hi ISO Test
May 02, 2013, 08:31:59 PM
Update:  NOTE: This results may be wrong!  I now believe the difference is due to shutter speed of "silent picture".  In this case the DNG photos would have been taken at shutter speed of 1/31 which would be approximate equivalent of 30 fps while the RAW image was taken a 1/160 s.  In this manner the silent picture mode would have allowed more light to the sensor and produce less noise.  I am not sure what happen to ISO but probably it is a case of ETTR which improve the image IQ.  I originally thought that the "silent picture" shutter speed was determined by my setting Tv but I think this is set in the FPS override module.. 

Maybe Alex can confirm my erroneous findings?? 

-----------------------------------

Camera 5D3, Lens Canon 300 mm f4  IS L
Here are the test subjects at  1.6s, f4, ISO 125


I did not see any important differences at low ISO so this comparison is skipped but...

Now at 1/160, f4 ISO 25000
Processed with PS no editing, sharpening 0, cropped and resized to 640 pix width.
Tested full RAW (5760x3840) vs DNG (3592x1320) vs DNG (1928x1285)



Same as above with post to remove noise, etc,



Conclusion: DNG is superior in color, noise, and sharpness! Wow!!!!!

Is there a possibility that this process could be implemented outside LV to obtain cleaner images at full resolution at high ISO in DNG?  Then 5D3 IQ = 1DX!
#1316
Can anyone explain how to get this speed?  Has anyone attained it?

Quote from: g3gg0 on April 30, 2013, 12:51:22 AM
okay should work now :)

720p, 400 frames, raw @ 24fps should be no problem with a fresh formatted 1000x card.
maybe i can improve it a bit, but for now it is quite useable.
#1317
It seems that digital crop video would be one step closer with the new zoom+silent pictures?
#1318
Lexar 1000x  32 gig with 5D3




#1319
Results with 1000x

Lexar Professional 1000X 32GB with 5D3

2048K 85.3
2048K 128
1953K 85.3
1953K 128
3072K 93
3072K 128
4096K 113.7
4096K 146.2
3906K 93
3906K 146.2
16384K 113.7
malloc allocation error
15625K 113.7
malloc allocation error
128K 33
128K 37.9


#1320
Quote from: vstrglv on March 25, 2013, 10:13:18 PM
I have compiled autoexec.bin for 5Dmark3 many times. Last time on 3/11/2013.
I used commands:
cd magic-lantern
hg pull
hg update
make -C /home/vXXXX/magic-lantern/platform/5D3.113
But I have got an error today:

$ make -C /home/vXXXX/magic-lantern/platform/5D3.113
make: Entering directory `/home/vXXXX/magic-lantern/platform/5D3.113'
[ CC       ]   boot-hack.o
/bin/sh: /home/vXXXX/gcc-arm-none-eabi-4_7-2012q4/bin/arm-none-eabi-gcc-4.7.3.exe: No such file or directory
../../Makefile.inc:672: recipe for target `boot-hack.o' failed
make: *** [boot-hack.o] Error 127
make: Leaving directory `/home/vXXXX/magic-lantern/platform/5D3.113'

There are only two dir in vXXXX :magic-lantern and arm-toolchain462
What is a problem?
Then... :
installed gcc-4.7.3,
made dir gcc-arm-none-eabi-4_7-2012q4 in vXXXX
copied all from installed gcc-4.7.3 dir to dir gcc-arm-none-eabi-4_7-2012q4

O.K.now

I had the same problem compiling under windows, with the help of Pelican I was able to compile without downloading the gcc-4.7.3.
Just change the Makefile.user

From:
ARM_ABI=none-eabi
ARM_LIBC_A=../../../arm-toolchain462/arm-none-eabi/lib/libc.a
PYTHON=python2.6

To:
GCC_VERSION=4.6.2
ARM_PATH=../../../arm-toolchain462
ARM_ABI=none-eabi
ARM_LIBC_A=../../../arm-toolchain462/arm-none-eabi/lib/libc.a
PYTHON=python2.6

I compiled for 5D3 and so far everything I tested works well, the new interface is very nice.  Congratulations to all who made this possible.  You guys are amazing.

Just a note:  When compiling for 5D3 I got many warnings.  Dont know if this is a problem or if some of the ML functionality will not work on 5D3. 

#1321
It is fixed.  Thank you!
#1322
Unable to compile due to the following errors:

../../src/flexinfo.c: In function 'info_load_config':
../../src/flexinfo.c:621:5: warning: passing argument 2 of 'FIO_GetFileSize' from incompatible pointer type [enabled by default]
../../src/dryos.h:523:1: note: expected 'unsigned int *' but argument is of type 'uint32_t *'
../../src/flexinfo.c: In function 'info_resolve_color':
../../src/flexinfo.c:1422:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
../../src/flexinfo.c:1426:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
../../src/flexinfo.c: In function 'info_print_icon':
../../src/flexinfo.c:1539:13: warning: unused variable 'fgcolor' [-Wunused-variable]
../../src/flexinfo.c:1538:13: warning: unused variable 'bgcolor' [-Wunused-variable]
[ CC       ]   ico.o
[ CC       ]   console.o
[ CC       ]   clibrary.o
[ CC       ]   expression.o
[ CC       ]   heap.o
[ CC       ]   include.o
[ CC       ]   lex.o
[ CC       ]   parse.o
[ CC       ]   platform.o
[ CC       ]   table.o
[ CC       ]   type.o
[ CC       ]   variable.o
[ CC       ]   library_ml.o
[ CC       ]   platform_ml.o
[ CC       ]   picoc.o
[ CC       ]   chdk-gui_script.o
[ AR       ]   lib_a-setjmp.o
[ AR       ]   libstdio.a
[ LD       ]   magiclantern
tskmon.o: In function `tskmon_init':
tskmon.c:(.text+0x458): undefined reference to `pre_isr_hook'
tskmon.c:(.text+0x460): undefined reference to `post_isr_hook'
collect2: ld returned 1 exit status
../../Makefile.inc:330: recipe for target `magiclantern' failed
make[1]: *** [magiclantern] Error 1
make[1]: se sale del directorio `/home/PH/magic-lantern/platform/5D3.113'
Makefile:70: recipe for target `5D3' failed
make: *** [5D3] Error 2
#1323
General Help Q&A / Re: Bulb ramping Trouble Shooting
January 31, 2013, 01:00:13 AM
Ok, finally uploaded the Timelapse for the 5D3 and the 7D.   All of the analysis is above.

5D3 Timelapse using BulbRamp Smooth  https://www.youtube.com/watch?v=QAaZtlnKlKg

7D Alpha 2 Timelapse BulbRamp Sunrise:  https://www.youtube.com/watch?v=Ol3YMvc3qWM
#1324
General Help Q&A / Re: Bulb ramping Trouble Shooting
January 30, 2013, 03:02:34 AM
That is not what the bramp.log file shows.  So if you are correct the information about the shutter speed in the log is incorrect.  But here I present the information in the log file and the actual shutter speed shown on the RAW image in photoshop.  This information is extracted from: http://www.pululahuahostal.com/ML/BRAMP_GRAPH-5D3.xlsx

Photo   Shutter        Shutter   
Number   from Log     from Raw   Error %
4531   0,83468      0,8                 4,335
4532   0,72116      0,7                 3,022857143
4533   0,62862      0,6                 4,77
4534   0,55724      0,5                 11,448
4535   0,49851      0,5                 -0,298
4536   0,44339      0,5                 -11,322
4537   0,38657      0,333333333   15,971
4538   0,33706      0,333333333   1,118
4539   0,29125      0,333333333   -12,625
4540   0,25294      0,2                  26,47
4541   0,21916      0,333333333   -34,252
4542   0,18155      0,2                  -9,225
4543   0,15323      0,2                  -23,385
4544   0,12489      0,1                  24,89
4545   0,09794      0,1                  -2,06
4546   0,08112      0,076923077   5,456
4547   0,07063      0,066666667   5,945
4548   0,06311      0,066666667   -5,335
4549   0,05686      0,066666667   -14,71
4550   0,05055      0,05                  1,1
4551   0,04537      0,05                  -9,26
4552   0,04038      0,04                  0,95
4553   0,03626      0,033333333   8,78
4554   0,03330      0,033333333   -0,1
4555   0,03052      0,033333333   -8,44
4556   0,02781      0,033333333   -16,57
4557   0,02509      0,025                  0,36
4558   0,02285       0,025                  -8,6
4559   0,02084       0,025                  -16,64
4560   0,01902      0,02                     -4,9
4561   0,01751      0,016666667         5,06
4562   0,01647      0,016666667         -1,18
4563   0,01550      0,016666667         -7
4564   0,01459      0,016666667         -12,46
4565   0,01365      0,016666667         -18,1

Clearly the BRAMP.log file does not show exact (Canon) shutter speeds listed below beginning from 0.8:

0"8, 0"6, 0"5, 0"4, 0"3, 1/4, 1/5, 1/6, 1/8, 1/10, 1/13, 1/15, 1/20, 1/25, 1/30, 1/40, 1/50, 1/60, 1/80, 1/100, 1/125, 1/160, 1/200, 1/250, 1/320,1/400, 1/500, 1/640, 1/800, 1/1000, 1/1250, 1/1600, 1/2000, 1/2500, 1/3200, 1/4000, 1/5000, 1/6400, 1/8000
         
#1325
General Help Q&A / Re: Bulb ramping Trouble Shooting
January 29, 2013, 06:23:05 PM
I am wondering if the Timelapse Bulbramping script could send the exact shutter speeds to avoid some of the errors I found on the log files.  I suspect that this is the cause of flicker around the shutter speeds below 1 second as previously noted.

I tried to implement some lines of code (but unfortunately I am not a programmer) that could do this so I can compile and use it with 5D3.  But after a few tries I am not sure if I have the correct variable and I don't even know exactly where to put in the shoot.c script.

So I just note it here in the slight case that someone might be interested in implementing this:

if (bulb_shutter_valuef<=0,90000 && bulb_shutter_valuef>0,70000) bulb_shutter_valuef=0,8
if (bulb_shutter_valuef<=0,70000 && bulb_shutter_valuef>0,55000) bulb_shutter_valuef=0,6
if (bulb_shutter_valuef<=0,55000 && bulb_shutter_valuef>0,45000) bulb_shutter_valuef=0,5
if (bulb_shutter_valuef<=0,45000 && bulb_shutter_valuef>0,35000) bulb_shutter_valuef=0,4
if (bulb_shutter_valuef<=0,35000 && bulb_shutter_valuef>0,27500) bulb_shutter_valuef=0,3
if (bulb_shutter_valuef<=0,27500 && bulb_shutter_valuef>0,22500) bulb_shutter_valuef=0,25
if (bulb_shutter_valuef<=0,22500 && bulb_shutter_valuef>0,18333) bulb_shutter_valuef=0,2
if (bulb_shutter_valuef<=0,18333 && bulb_shutter_valuef>0,14583) bulb_shutter_valuef=0,166666667
if (bulb_shutter_valuef<=0,14583 && bulb_shutter_valuef>0,11250) bulb_shutter_valuef=0,125
if (bulb_shutter_valuef<=0,11250 && bulb_shutter_valuef>0,08846) bulb_shutter_valuef=0,1
if (bulb_shutter_valuef<=0,08846 && bulb_shutter_valuef>0,07179) bulb_shutter_valuef=0,076923077
if (bulb_shutter_valuef<=0,07179 && bulb_shutter_valuef>0,05833) bulb_shutter_valuef=0,066666667
if (bulb_shutter_valuef<=0,05833 && bulb_shutter_valuef>0,04500) bulb_shutter_valuef=0,05
if (bulb_shutter_valuef<=0,04500 && bulb_shutter_valuef>0,03667) bulb_shutter_valuef=0,04
if (bulb_shutter_valuef<=0,03667 && bulb_shutter_valuef>0,02917) bulb_shutter_valuef=0,033333333
if (bulb_shutter_valuef<=0,02917 && bulb_shutter_valuef>0,02250) bulb_shutter_valuef=0,025
if (bulb_shutter_valuef<=0,02250 && bulb_shutter_valuef>0,01833) bulb_shutter_valuef=0,02
if (bulb_shutter_valuef<=0,01833 && bulb_shutter_valuef>0,01458) bulb_shutter_valuef=0,016666667
if (bulb_shutter_valuef<=0,01458 && bulb_shutter_valuef>0,01125) bulb_shutter_valuef=0,0125
if (bulb_shutter_valuef<=0,01125 && bulb_shutter_valuef>0,00900) bulb_shutter_valuef=0,01
if (bulb_shutter_valuef<=0,00900 && bulb_shutter_valuef>0,00713) bulb_shutter_valuef=0,008
if (bulb_shutter_valuef<=0,00713 && bulb_shutter_valuef>0,00563) bulb_shutter_valuef=0,00625
if (bulb_shutter_valuef<=0,00563 && bulb_shutter_valuef>0,00450) bulb_shutter_valuef=0,005
if (bulb_shutter_valuef<=0,00450 && bulb_shutter_valuef>0,00356) bulb_shutter_valuef=0,004
if (bulb_shutter_valuef<=0,00356 && bulb_shutter_valuef>0,00281) bulb_shutter_valuef=0,003125
if (bulb_shutter_valuef<=0,00281 && bulb_shutter_valuef>0,00225) bulb_shutter_valuef=0,0025
if (bulb_shutter_valuef<=0,00225 && bulb_shutter_valuef>0,00178) bulb_shutter_valuef=0,002
if (bulb_shutter_valuef<=0,00178 && bulb_shutter_valuef>0,00141) bulb_shutter_valuef=0,0015625
if (bulb_shutter_valuef<=0,00141 && bulb_shutter_valuef>0,00113) bulb_shutter_valuef=0,00125
if (bulb_shutter_valuef<=0,00113 && bulb_shutter_valuef>0,00090) bulb_shutter_valuef=0,001
if (bulb_shutter_valuef<=0,00090 && bulb_shutter_valuef>0,00071) bulb_shutter_valuef=0,0008
if (bulb_shutter_valuef<=0,00071 && bulb_shutter_valuef>0,00056) bulb_shutter_valuef=0,000625
if (bulb_shutter_valuef<=0,00056 && bulb_shutter_valuef>0,00000) bulb_shutter_valuef=0,0005