--- In [email protected], Scott Miller <sc...@...> wrote:
>
> You'd use EXEC POWER ON and EXEC POWER 2.

Thanks!  It looks like just what I wanted.  So I used "Do Once"
to prevent the memory to wear out when the script loops, assuming
"Do Once" is reset each time the condition changed, is that correct?

Let me know if there is something wrong with it, I don't want to wear
out my OT2's flash memory by having the writes done too often.
I have set a little bit of hysteresis (5km/h gap) in between the two
profiles conditions in the Profiles panel.


My script looks like:

If Profile 2
  Do Once
    Exec "POWER ON"
  End Block
Else
  Do Once
    Exec "POWER 2"
  End Block
End Block

Does it look correct and safe to run for long periods (years)?

Thanks,

Bernard KI6TSF

> 
> Scott
> 
> ki6tsf wrote:
> >  
> > 
> > Hello,
> > 
> > I don't remember if this has been discussed already.
> > Is it possible to control the power FET from scripting and how?
> > I would like to have the radio powered on while in profile2 (moving)
> > and off except during packet transmission while in progile1 (stopped)
> > 
> > if profile2: turn on power
> > if profile1: turn off power but leave "enable" and "delay=2" selected in 
> > the main config panel
> > 
> > I could not see an obvious way to control power in the scripts.
> > 
> > Thank you,
> > 
> > Bernard KI6TSF
> > 
> >
>


Reply via email to