Modifications

Sauter à la navigation Sauter à la recherche
33 octets ajoutés ,  22 mai 2016 à 18:55
Ligne 55 : Ligne 55 :  
With your serial program open (PuTTY, screen, picocom, etc) you may see a blank screen with a flashing cursor. Press Enter and you should be presented with a MicroPython prompt, i.e. {{fname|>>>}}. Let’s make sure it is working with the obligatory test:
 
With your serial program open (PuTTY, screen, picocom, etc) you may see a blank screen with a flashing cursor. Press Enter and you should be presented with a MicroPython prompt, i.e. {{fname|>>>}}. Let’s make sure it is working with the obligatory test:
   −
<nowiki>>>> print("hello WiPy!")
+
<syntaxhighlight lang="python">
hello WiPy!</nowiki>
+
>>> print("hello WiPy!")
 +
hello WiPy!
 +
</syntaxhighlight>
    
In the above, you should not type in the {{fname|>>>}} characters. They are there to indicate that you should type the text after it at the prompt. In the end, once you have entered the text {{fname|print("hello WiPy!")}} and pressed Enter, the output on your screen should look like it does above.
 
In the above, you should not type in the {{fname|>>>}} characters. They are there to indicate that you should type the text after it at the prompt. In the end, once you have entered the text {{fname|print("hello WiPy!")}} and pressed Enter, the output on your screen should look like it does above.
29 917

modifications

Menu de navigation