Ligne 1 : |
Ligne 1 : |
| {{MicroPython-ILI9341-NAV}} | | {{MicroPython-ILI9341-NAV}} |
| | | |
| + | == Invite REPL == |
| + | Démarrez une connexion [[MicroPython-Hack-REPL|REPL]] pour disposer d'une ligne de commande sur votre carte MicroPython. |
| + | |
| == Premiers pas == | | == Premiers pas == |
− | Nous allons faire nos premiers pas et afficher l'image '''test.bmp''' qui doit se trouver dans le sous répertoire '''images'''.
| + | Maintenant que nous avons notre invite REPL, nous allons faire nos premiers pas et afficher l'image '''test.bmp''' qui doit se trouver dans le sous répertoire '''images'''. |
| | | |
| <nowiki>>>> from lcd import * | | <nowiki>>>> from lcd import * |
Ligne 31 : |
Ligne 34 : |
| help( l )</nowiki> | | help( l )</nowiki> |
| | | |
| + | ce qui retourne un résultat similaire à: |
| + | <nowiki>object <LCD object at 20003800> is of type LCD |
| + | reset -- <function reset at 0x20006d40> |
| + | printLn -- <function printLn at 0x20006e60> |
| + | renderImageTest -- <function renderImageTest at 0x20006d90> |
| + | clearImageCache -- <function clearImageCache at 0x20006e80> |
| + | drawCircle -- <function drawCircle at 0x20006d20> |
| + | drawCircleFilled -- <function drawCircleFilled at 0x20006d10> |
| + | drawPixel -- <function drawPixel at 0x20006d50> |
| + | drawLine -- <function drawLine at 0x20006d80> |
| + | renderBmp -- <function renderBmp at 0x20006e70> |
| + | __qualname__ -- LCD |
| + | charsTest -- <function charsTest at 0x20006ea0> |
| + | __init__ -- <function __init__ at 0x20006d30> |
| + | drawOvalFilled -- <function drawOvalFilled at 0x20006e30> |
| + | drawRect -- <function drawRect at 0x20006cf0> |
| + | __module__ -- lcd |
| + | fillMonocolor -- <function fillMonocolor at 0x20006d00> |
| + | initCh -- <function initCh at 0x20006e40> |
| + | cacheImage -- <function cacheImage at 0x20006e90> |
| + | printChar -- <function printChar at 0x20006e50> |
| + | drawHline -- <function drawHline at 0x20006d70> |
| + | drawVline -- <function drawVline at 0x20006d60> </nowiki> |
| + | |
| {{MicroPython-ILI9341-TRAILER}} | | {{MicroPython-ILI9341-TRAILER}} |