Modifications

Sauter à la navigation Sauter à la recherche
260 octets ajoutés ,  27 avril 2025 à 19:45
Ligne 72 : Ligne 72 :  
* '''RunApp_pin''' : identification of the input pin to be used as RUN_APP swich. It will be configured with Internal Pullup. Software will not start (or will stop) when the pin is tied to ground.
 
* '''RunApp_pin''' : identification of the input pin to be used as RUN_APP swich. It will be configured with Internal Pullup. Software will not start (or will stop) when the pin is tied to ground.
   −
==== __setup__() ====
+
==== setup() ====
    
Setup the ''userloop'' and other key parameter for an asynchronous code execution with {{fname|run()}}. The ''userloop'' is the main user code repetitively executed by the asynchronous execution.  
 
Setup the ''userloop'' and other key parameter for an asynchronous code execution with {{fname|run()}}. The ''userloop'' is the main user code repetitively executed by the asynchronous execution.  
Ligne 80 : Ligne 80 :  
</syntaxhighlight>
 
</syntaxhighlight>
   −
* '''setup''' : xxx
+
* '''setup''' : function setting-up the hardware of your DIN project. Called function receives ''din'' object is as parameter.
−
* '''loop''' : xxx
+
* '''loop''' : async function executing the ''userloop'' code. The ''din'' object is received as parameter. Called function receives the ''din'' object as parameter.
−
* '''on_task_create''' : cccc
+
* '''on_task_create''' : callback event
32 908

modifications

Menu de navigation