Suunto app Forum Suunto Community Forum
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Ambit Apps Compilation

    Scheduled Pinned Locked Moved Digital service transition
    45 Posts 16 Posters 15.5k Views 19 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Raimo JärviR Offline
      Raimo Järvi @Dubosson Aurélien
      last edited by

      @Dubosson-Aurélien I didn’t try compiling your code, but if I paste it to VS Code, it shows this.5d9a5535-fe66-4cd3-b4f8-2466e0fc61ce-image.png

      Pragmatic Programmer

      M 1 Reply Last reply Reply Quote 1
      • M Offline
        mabe2k Bronze Member @Raimo Järvi
        last edited by

        @Raimo-Järvi the message says, that the „-„ character is the wrong one. Maybe it helps, if you remove them and type them again.

        1 Reply Last reply Reply Quote 0
        • sebchastangS Online
          sebchastang Silver Members @Dubosson Aurélien
          last edited by

          @Dubosson-Aurélien
          As @Raimo-Järvi and @mabe2k noticed, you should remove the “-” character and replace 184-70 by 114 directly.

          To make code maintenance more easy, you could declare a variable to set your resting HR and use it in your condition:

          REST_HR=70;
          if(SUUNTO_HR_AVG[5]<(70/100*(184-REST_HR)+70) || SUUNTO_HR_AVG[5]>(75/100*(184-REST_HR)+70))
          {
          Suunto.alarmBeep();
          }
          RESULT=SUUNTO_HR_AVG[5];
          

          Suunto Vertical Titanium Solar
          Suunto Traverse

          1 Reply Last reply Reply Quote 1
          • H halajos referenced this topic on
          • Marin LeroyM Offline
            Marin Leroy
            last edited by

            Hi i am trying to code an interval training in time, i am able to activate the light but not the beep, do you guys have an idea ?

            /*header*/
            /*entrainement intervalle*/
            counter=0;
            warmup_time=1500;
            speed_up_1=900;
            speed_up_2=600;
            speed_up_3=600;
            recovery_time=100;
            factor=300;
            wsu=0;
            /*end header*/
            
            /*decompte en bip*/
            
            if(SUUNTO_DURATION==1497){Suunto.alarmBeep();}
            if(SUUNTO_DURATION==1498){Suunto.alarmBeep();}
            if(SUUNTO_DURATION==1499){Suunto.alarmBeep();}
            if(SUUNTO_DURATION==warmup_time){
            Suunto.alarmBeep();
            Suunto.light();
            wsu=warmup_time+speed_up_1;
            counter=counter+1;
            }
            
            
            /*decompte changement allure*/
            if(SUUNTO_DURATION==wsu-3){Suunto.alarmBeep();}
            if(SUUNTO_DURATION==wsu-2){Suunto.alarmBeep();}
            if(SUUNTO_DURATION==wsu-1){Suunto.alarmBeep();}
            
            
            /*temps de repos*/
            if((SUUNTO_DURATION==wsu) && (counter==1 || counter==3) ){
            Suunto.alarmBeep();
            Suunto.light();
            wsu=wsu+recovery_time;
            counter=counter+1;
            }
            
            /*2eme accel*/
            if((SUUNTO_DURATION==wsu) && (counter==2)){
            Suunto.alarmBeep();
            Suunto.light();
            wsu=wsu+speed_up_2;
            counter=counter+1;
            }
            
            
            /*3eme accel*/
            if((SUUNTO_DURATION==wsu) && (counter==4)){
            Suunto.alarmBeep();
            Suunto.light();
            wsu=wsu+speed_up_3;
            counter=counter+1;
            }
            
            
            
            postfix="min/km";
            RESULT=SUUNTO_PACE;
            
            1 Reply Last reply Reply Quote 0
            • Elwyn KumarE Offline
              Elwyn Kumar
              last edited by

              Hi, I am looking for a way to load data into a route then get a suuntoapp to access it, in order to be able to read books on my watch. does anyone know if this is possible?also, if so, then it may be possible to load more complex data.

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post

              Suunto Terms | Privacy Policy