Menu

Autostart on Power On

2020-12-28
2021-01-06
  • Torsten Sadowski

    Hi,

    after playing a bit with the blocks on a Micro:Bit I was a bit disappointed by the performance. Now I want to try a real language. The examples are working fine but I could not find a way to autostart a program at boot. What is the recommended way to do this?

    Cheers,
    Torsten

     
    • Matthias Koch

      Matthias Koch - 2020-12-28

      Hi Torsten,
      write a definition called "init" into flash dictionary. It will be called on boot.
      Matthias

       
  • Torsten Sadowski

    Thank you Matthias,
    I went on a nrf51 crash course. The result is a dual channel PWM for servo control and an edge follower for the Elecfreaks Ring:bit car. These could be added to the Micro:bit examples.

    Cheers,
    Torsten

     
    • Matthias Koch

      Matthias Koch - 2021-01-05

      You are welcome !

      I would be glad to include your results, please send the files to be included into the next release as E-Mail to m-atthias@users.sf.net

      Happy new year,
      Matthias

       
      • Torsten Sadowski

        Hallo Matthias,

        die beiden Dateien sind im Anhang. Ich hoffe es ist halbwegs
        verständlich und hilfreich.

        Viele Grüße,
        Torsten

        Am Dienstag, dem 05.01.2021 um 20:58 +0000 schrieb Matthias Koch:

        You are welcome !
        I would be glad to include your results, please send the files to be
        included into the next release as E-Mail to m-atthias@users.sf.net
        Happy new year,
        Matthias

        Autostart on Power On

        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/mecrisp/discussion/general/
        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

         

Log in to post a comment.