[FICHE] Bases du langage MicroPython pour la classe #23#178
Open
DumontALINE wants to merge 2 commits into
Open
[FICHE] Bases du langage MicroPython pour la classe #23#178DumontALINE wants to merge 2 commits into
DumontALINE wants to merge 2 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Ajout d’une nouvelle fiche Docusaurus “t06-base-language” pour introduire les bases de MicroPython sur la carte STeaMi, ainsi qu’une entrée correspondante dans le catalogue des ressources.
Changes:
- Ajout de la fiche
t06-base-language(variables, conditions, boucles, fonctions + exemple “pile ou face”). - Ajout de l’entrée
t06-base-languagedanssite/src/data/resources.ts. - Mise à jour du
package-lock.json(changements mécaniques de métadonnées).
Reviewed changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| site/src/data/resources.ts | Ajoute l’entrée catalogue pour la nouvelle fiche (titre/résumé/metadata). |
| site/package-lock.json | Contient des changements de lockfile non directement liés au contenu de la fiche. |
| site/docs/inovmicro-exao/t06-base-language.md | Nouvelle fiche pédagogique + exemple de programme MicroPython. |
Files not reviewed (1)
- site/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| is_active = False | ||
| ``` | ||
| :::warning[variables] | ||
| Vous ne pouvez pas changer le type d'une variable une fois qu'elle a été initialisée. Par exemple, si vous avez initialisé une variable `x` avec un entier, vous ne pouvez pas lui attribuer une chaîne de caractères plus tard dans votre code. |
Comment on lines
+3
to
+10
| title: "Base Language : Prise en main de MicroPython" | ||
| sidebar_label: "Thonny" | ||
| sidebar_position: 6 | ||
| --- | ||
|
|
||
| <div style={{display: 'flex', alignItems: 'flex-start', justifyContent: 'space-between', gap: '2rem', marginBottom: '1.5rem'}}> | ||
| <div style={{flex: 1}}> | ||
| # <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="36" height="36" style={{verticalAlign: 'middle', marginRight: '0.5rem', marginBottom: '4px'}}><rect x="3" y="4" width="18" height="14" rx="2" fill="#8a6e18" opacity="0.1"/><rect x="3" y="4" width="18" height="3" rx="1" fill="#8a6e18" opacity="0.3"/><circle cx="5.5" cy="5.5" r="0.5" fill="#8a6e18"/><circle cx="7" cy="5.5" r="0.5" fill="#8a6e18"/><circle cx="8.5" cy="5.5" r="0.5" fill="#8a6e18"/><polyline points="6,11 8,13 6,15" fill="none" stroke="#8a6e18" strokeWidth="1.2" strokeLinecap="round" strokeLinejoin="round"/><polyline points="9,11 11,13 9,15" fill="none" stroke="#8a6e18" strokeWidth="1.2" strokeLinecap="round" strokeLinejoin="round"/><line x1="13" y1="15" x2="18" y2="15" stroke="#8a6e18" strokeWidth="1.2" strokeLinecap="round"/><line x1="6" y1="20" x2="18" y2="20" stroke="#8a6e18" strokeWidth="1.5" strokeLinecap="round"/><line x1="12" y1="18" x2="12" y2="20" stroke="#8a6e18" strokeWidth="1.5"/></svg> Base Language : Prise en main de MicroPython |
Comment on lines
+176
to
+177
| else: | ||
| return None |
Comment on lines
165
to
171
| "node_modules/@algolia/client-search": { | ||
| "version": "5.52.1", | ||
| "resolved": "https://registry.npmjs.org/@algolia/client-search/-/client-search-5.52.1.tgz", | ||
| "integrity": "sha512-gA8oJOV1LnQQkDf91iebNnFInHuW0gRPEgLSOQ7EfipCEjYTHm5swm1DlH9H5RaRw4RrHuzHBegnlzc0MAstcg==", | ||
| "license": "MIT", | ||
| "peer": true, | ||
| "dependencies": { | ||
| "@algolia/client-common": "5.52.1", |
| slug: '/ressources/inovmicro-exao/t06-base-language', | ||
| project: 'inovmicro-exao', | ||
| summary: | ||
| 'Prise en main de la programmation en MicroPython : variables, boucles, conditions, fonctions, et les bonne pratiques pour structurer son code sur la STeaMi.', |
| }, | ||
| { | ||
| id: 't06-base-language', | ||
| title: 'Base Language — Prise en main de MicroPython sur la STeaMi', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Résumé
Ajout de la fiche d'activité t06-base-language couvrant les bases de
MicroPython pour la carte STeaMi (variables, conditions, boucles,
fonctions). Inclut un exemple de jeu pile ou face utilisant les LED RGB
et les boutons poussoirs, ainsi que les bonnes pratiques de nommage
et d'organisation du code.
Type de changement
resources.tsouprojects.tsTest plan
npm run build(danssite/) passe sans erreur ni nouveau warningnpm run typecheckpassenpm run format:check && npm run lint:mdCLAUDE.mdIssues liées
close #23