"If" statments with input

Barry Houldsworth Dronelink Expert Dronelink Expert

Allow the program to stop, ask for input, and then take action based on the input entered.  Ideally, there would also be some basic validation.

For example, I have a component that I include to set up the camera the way that I like.  But, a common item I need to change on-site is the white balance. I can't tell before I leave if it will be sunny, cloudy, etc.  I would love it to ask me that and then set it based on the input.

1

Comments

2 comments

  • Comment author
    JAMES DONELSON

    Well then you will need setable global variables too, if there are none.

    0
  • Comment author
    Jim McAndrew Dronelink Staff

    Working on it already.

    0

Please sign in to leave a comment.