issue173:micro-ci_micro-la
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
issue173:micro-ci_micro-la [2021/10/01 09:45] – auntiee | issue173:micro-ci_micro-la [2021/10/03 17:19] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 50: | Ligne 50: | ||
line(x0, y0, x1, y1, color) | line(x0, y0, x1, y1, color) | ||
- | Nous le coderons donc comme suit... | + | Nous le coderons donc comme suit : |
graphics.line(0, | graphics.line(0, | ||
Ligne 91: | Ligne 91: | ||
rect(x0, y0, largeur, hauteur, couleur) | rect(x0, y0, largeur, hauteur, couleur) | ||
- | Nous allons dessiner un rectangle de 0,0 à 50,20. De cette façon, il fonctionnera sur l'un ou l' | + | Nous allons dessiner un rectangle de 0,0 à 50,20. De cette façon, il fonctionnera sur l'un ou l' |
graphics.rect(0, | graphics.rect(0, | ||
Ligne 328: | Ligne 328: | ||
p. 33 : | p. 33 : | ||
**For the RPi Pico, I used GP8 and GP9 (physical pins 11 and 12) for the connection to the I2C bus. The code for the Pico will be…** | **For the RPi Pico, I used GP8 and GP9 (physical pins 11 and 12) for the connection to the I2C bus. The code for the Pico will be…** | ||
- | Pour le RPi Pico, j'ai utilisé GP8 et GP9 (picots physiques 11 et 12) pour les connexions au bus I2C. Le code pour le Pico sera… | + | Pour le RPi Pico, j'ai utilisé GP8 et GP9 (picots physiques 11 et 12) pour les connexions au bus I2C. Le code pour le Pico sera : |
**From here the code for all three microcontrollers will be the same.** | **From here the code for all three microcontrollers will be the same.** | ||
Ligne 335: | Ligne 335: | ||
p. 35 : | p. 35 : | ||
**At this point, let’s set up a few simple lines of text that will embody our “screens” that will be scrolled.** | **At this point, let’s set up a few simple lines of text that will embody our “screens” that will be scrolled.** | ||
- | Arrivé ici, paramétrons quelques simples lignes de texte qui envelopperont | + | Arrivé ici, paramétrons quelques simples lignes de texte qui peupleront |
**The next function will take the data that is already on the screen and scroll it off the display towards the right side. This function has a speed parameter.** | **The next function will take the data that is already on the screen and scroll it off the display towards the right side. This function has a speed parameter.** | ||
Ligne 342: | Ligne 342: | ||
p. 36 : | p. 36 : | ||
**Here is the scroll vertically from top to bottom, pausing when the screen is full.** | **Here is the scroll vertically from top to bottom, pausing when the screen is full.** | ||
- | Voici le éroulement | + | Voici le déroulement |
**This is the function that will scroll the data off the bottom of the screen.** | **This is the function that will scroll the data off the bottom of the screen.** | ||
- | Voici la fonction qui évacuera les données par le bas de l' | + | Voici la fonction qui évacuera les données par le bas de l' |
**Finally, here is the continuous vertical scroll support function.** | **Finally, here is the continuous vertical scroll support function.** | ||
- | Enfin, voici la fonction | + | Enfin, voici la fonction |
issue173/micro-ci_micro-la.1633074323.txt.gz · Dernière modification : 2021/10/01 09:45 de auntiee