Modifications

Sauter à la navigation Sauter à la recherche
33 octets ajoutés ,  22 mai 2016 à 18:29
Ligne 6 : Ligne 6 :  
REPL stands for Read Evaluate Print Loop, and is the name given to the interactive MicroPython prompt that you can access on the WiPy. Using the REPL is by far the easiest way to test out your code and run commands. You can use the REPL in addition to writing scripts in {{fname|main.py}}.
 
REPL stands for Read Evaluate Print Loop, and is the name given to the interactive MicroPython prompt that you can access on the WiPy. Using the REPL is by far the easiest way to test out your code and run commands. You can use the REPL in addition to writing scripts in {{fname|main.py}}.
   −
To use the REPL, you must connect to the WiPy either via [[|telnet], or with a USB to serial converter wired to one of the two UARTs on the WiPy. To enable REPL duplication on UART0 (the one accessible via the expansion board) do:
+
To use the REPL, you must connect to the WiPy either via [[Hack-wipy-generalite#REPL_Telnet|telnet]], or with a USB to serial converter wired to one of the two UARTs on the WiPy. To enable REPL duplication on UART0 (the one accessible via the expansion board) do:
    
  <nowiki>>>> from machine import UART
 
  <nowiki>>>> from machine import UART
29 917

modifications

Menu de navigation