G9 porting progress - page 26 - DryOS Development - CHDK Forum supplierdeeply

G9 porting progress

  • 281 Replies
  • 149153 Views
*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: G9 porting progress
« Reply #250 on: 13 / February / 2009, 06:34:13 »
Advertisements
that's funny.
so i guess we can let autobuild also "build" for 1.00h then ;)

Re: G9 porting progress
« Reply #251 on: 13 / February / 2009, 13:28:16 »
I can confirm that chdk works on 1.00h (at least as far as I know).  Question is, what do those 7 lines of hex do that I would want to upgrade my firmware to 1.00i?

Re: G9 porting progress
« Reply #252 on: 13 / February / 2009, 17:44:38 »
wait, so you can use the 1.00i chdk on a 1.00h version g9? are you sure?

yep - i am sure

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: G9 porting progress
« Reply #253 on: 13 / February / 2009, 19:20:47 »
alright, added 1.00h to autobuild in #708.


Re: G9 porting progress
« Reply #254 on: 17 / February / 2009, 15:43:58 »
I have now chdk running on my 1.00H and seems to be working all right. But it sure takes some time to try out all the functions.

Fantastic little application and a big hand to the developers from me.
 

Re: G9 porting progress
« Reply #255 on: 21 / February / 2009, 16:39:00 »
I am trying to use the commands TurnOnBackLight and TurnOffBackLight in a LUA script on my G9-100f with build #713.
They do not seem to be recognized and provoke an error as G9 thinks they are variables. :(
Any experience of this around here?

*

Offline reyalp

  • ******
  • 14113
Re: G9 porting progress
« Reply #256 on: 21 / February / 2009, 17:25:19 »
The correct function is
set_backlight(n)

where n is number, with zero meaning off and any other value meaning on. I don't know why the wiki lists TurnOnBackLight as a scripting command.
Don't forget what the H stands for.

Re: G9 porting progress
« Reply #257 on: 22 / February / 2009, 04:00:41 »


*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: G9 porting progress
« Reply #258 on: 22 / February / 2009, 04:51:53 »
@v3rtex

the switching back on is 'normal'

from 679 release notes:
Quote
+ added two small functions... TurnOnBackLight? & TurnOffBackLight?, which turn on and off the LCD Backlight (or EVF backlight) - useful for energy saving or camouflage missions :D
also added ubasic and lua commands: set_backlight(x), whereas 0 disables Backlight and 1 enables it. mind you, after a shot the display is turned on again (probably loop set_backlight_statement(0) in script!?).
an example script can be found here: http://chdk.setepontos.com/index.php/topic,2744.msg27703.html#msg27703
todo: PERHAPS make it that you can disable (automatically after a given time?) LCD directly in CHDK, also on todo list: Dimming the light

thx to fudgey, ewavr & Dataghost, who made that happen \o/ (see https://chdk.kernreaktor.org/mantis/view.php?id=65 for links)

wim

Re: G9 porting progress
« Reply #259 on: 22 / February / 2009, 09:16:23 »
Yeah thanks. That's what I was afraid of. It is still a real improvement for intervalometer scripts. Switching off the LCD light avoids quickly draining out the battery.
Again, a great thank for all people working on CHDK. Implementing LUA scripts is really nice. :lol

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal