Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upsilon numworks upsilon dev #364

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
cb32530
[MicroPythonPort/ION] Added set_led_color and set_dfu functions
0x4c756e61 Jan 28, 2023
5a11bb0
[MicroPythonPort/ION] Added is_plugged function
0x4c756e61 Jan 28, 2023
58d28d8
[MicroPythonPort/ION] Added screen_off / screen_on functions
0x4c756e61 Jan 28, 2023
9232db2
[MicroPythonPort/ION] Added is_screen_on function / added translation…
0x4c756e61 Jan 29, 2023
13b188e
Updated readme
0x4c756e61 Jan 29, 2023
c0b88e6
[MicroPythonPort/ION] Added blink_led function / fixed translation he…
0x4c756e61 Jan 29, 2023
2b37165
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Jan 31, 2023
725d788
[MicroPythonPort] Added Escher module, implemented checks for led rel…
0x4c756e61 Jan 31, 2023
9461b21
[MicroPythonPort] Added Escher module, implemented checks for led rel…
0x4c756e61 Jan 31, 2023
4b8772f
[MODescher] Added get_clipboard function
0x4c756e61 Feb 1, 2023
8624f33
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Feb 3, 2023
4580870
[MODion] Fixed checks
0x4c756e61 Feb 7, 2023
7f88b3e
Merge branch 'upsilon-dev' of github.com:0x454d505459/Upsilon-python-…
0x4c756e61 Feb 7, 2023
2e5e2c5
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Feb 8, 2023
5ca1c29
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Feb 17, 2023
5f1d654
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Feb 17, 2023
c67f376
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Mar 12, 2023
b739a1b
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Mar 18, 2023
adb927e
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Mar 19, 2023
496ecf6
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Apr 8, 2023
29c5d67
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Apr 14, 2023
47db174
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 May 10, 2023
87d6e0f
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 May 21, 2023
e6faef8
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Jun 7, 2023
b17961b
[MERGE] Fix merge conflit
0x4c756e61 Jun 26, 2023
c1bc67f
Merge branch 'UpsilonNumworks-upsilon-dev' into upsilon-dev
0x4c756e61 Jun 26, 2023
df462a6
Merge branch 'upsilon-dev' of github.com:0x454d505459/Upsilon-python-…
0x4c756e61 Jun 26, 2023
31802a3
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Jul 2, 2023
d48c52b
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Aug 31, 2023
6b830a7
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Sep 17, 2023
1230265
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Oct 1, 2023
0a08f69
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Oct 20, 2023
ddc0a3f
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Nov 15, 2023
27d2a45
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Dec 14, 2023
6008c6b
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Dec 20, 2023
279b675
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Jan 25, 2024
2d1e135
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Feb 16, 2024
c319c29
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Feb 26, 2024
46ec575
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Apr 1, 2024
d9d2e4a
Merge branch 'UpsilonNumworks:upsilon-dev' into upsilon-dev
0x4c756e61 Apr 5, 2024
97054e1
🛠️ Fix merge conflict
0x4c756e61 May 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 28 additions & 5 deletions README.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,21 @@

Upsilon est un fork d'Omega, un fork d'Epsilon, l'OS de NumWorks tournant sur les calculatrices du même nom, qui apporte beaucoup de fonctionnalités en plus, mais qui fut archivé et fermé pour des raisons légales après un changement de politique de NumWorks. Upsilon est fait pour ceux qui aimeraient voir un futur pour les OS créés par les utilisateurs pour NumWorks, même après l'arrêt du projet initial.

Ce fork ajoute les fonctions suivantes aux modules python:

| Module | fonction | description | status |
| ------ | -------------------- | ----------------------------------------------------------------------------------- | ------------------------- |
| ion | set_DFU(bool) | Active ou désactive le DFU | Ne semble pas fonctionner |
| ion | set_led_color(r,g,b) | Change la couleur de la LED (brise la règle G12 sur le serveur communautaire) | Fonctionne |
| ion | is_plugged() | Revoie l'état de la connexion (True si branché à une source de courant False sinon) | Fonctionne |
| ion | screen_off() | Eteint l'écran (n'éteint pas la calulatrice) | Fonctionne |
| ion | screen_on() | Allume l'écran | Fonctionne |
| ion | is_screen_on() | Verifie si l'écran est allumé | Fonctionne |
| ion | blink_led(period) | Fais clignoter la LED toute les X milisecondes (plus ou moins) | Fonctionne |
| escher | set_clipboard(text) | Défini le presse papier sur text | Fonctionne |
| escher | get_clipboard(text) | Renvoie le contenu du presse-papier | Fonctionne |


### Quelques fonctionnalités supplémentaires

- Un module Python Kandinsky amélioré
Expand Down Expand Up @@ -187,9 +202,10 @@ wsl --set-default-version 2
WSL est maintenant installé.

6. Installez maintenant la version pour ARM de GCC.
```bash
sudo apt-get install build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi
```

```bash
sudo apt-get install build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi
```

### Installation d'usbipd pour connecter la calculatrice à WSL (facultatif)

Expand All @@ -210,7 +226,7 @@ sudo visudo
```

3. Ajoutez `/usr/lib/linux-tools/5.4.0-77-generic` au début du secure_path. Après édition, la ligne devrait ressembler à:
`Defaults secure_path="/usr/lib/linux-tools/5.4.0-77-generic:/usr/local/sbin:..."`
`Defaults secure_path="/usr/lib/linux-tools/5.4.0-77-generic:/usr/local/sbin:..."`

#### Debian

Expand Down Expand Up @@ -325,8 +341,10 @@ make OMEGA_USERNAME="{Votre nom, max 15 caractères}" binpack -j4
```

pour compiler les binpacks que vous pouvez distribuer et flasher depuis le [WebDFU de TI-Planet](https://ti-planet.github.io/webdfu_numworks/n0100/). Vous les trouverez dans `output/release/device/bootloader/`.

</details>

</details>

<details>

Expand Down Expand Up @@ -358,20 +376,26 @@ pour compiler les binpacks que vous pouvez distribuer et flasher depuis le [WebD

</details>

</details>

<details>

<summary><b>Simulateur Natif</b></summary>

Lancez cette commande:

```bash
make clean
```

Vous pouvez soit choisir d'utiliser la commmande qui détectera automatiquement votre plateforme:

```bash
make PLATFORM=simulator
```

Ou choisir une commande qui correspond à votre plateforme:

```bash
make PLATFORM=simulator TARGET=android
make PLATFORM=simulator TARGET=ios
Expand All @@ -385,7 +409,6 @@ Vous trouverez les fichiers du simulateur dans `output/release/simulator/`.

</details>


<details>

<summary><b>Simulateur web</b></summary>
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,21 @@

Upsilon is a fork of Omega, an user-made OS that runs on the NumWorks calculator, which brings many features to it, but was discontinued because of a policy change from NumWorks. Upsilon is for the people who want to see a future for user-made OSes for NumWorks, even after the closure and archiving of Omega.

This fork adds the following functions to the python modules:

| Module | function | description | status |
| ------ | -------------------- | ----------------------------------------------------------------------------------- | ------------------------- |
| ion | set_DFU(bool) | Enables or disables DFU | Doesn't seem to work |
| ion | set_led_color(r,g,b) | Changes the LEDs color (Conflicts with the rule G12 on the community server) | Works |
| ion | is_plugged() | Returns the powers state (True if powered false otherwise) | Works |
| ion | screen_off() | Turns off the screen (doesn't power off the calculator) | Works |
| ion | screen_on() | Turns on the screen | Works |
| ion | is_screen_on() | Checks if the screen is on | Works |
| ion | blink_led(period) | Makes the LED blink every X milisecond (ruffly) | Works |
| escher | set_clipboard(text) | Sets the clipboard to text | Works |
| escher | get_clipboard(text) | Returns the clipboard's content | Works |


### Some new features

- Enhancements for the Kandinsky python module
Expand Down
11 changes: 11 additions & 0 deletions apps/code/catalog.de.i18n
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
PythonSetDFU = "DFU aktivieren oder deaktivieren"
PythonSetLEDColor = "Ändern Sie die Farbe der led"
PythonIsPlugged = "Gibt den Status der Befugnisse zurück"
PythonScreenOff = "Schaltet den Bildschirm aus"
PythonScreenOn = "Schaltet den Bildschirm ein"
PythonPound = "Kommentar"
PythonPercent = "Modulo"
PythonColon = "Doppelpunkt"
Expand Down Expand Up @@ -56,6 +61,7 @@ PythonDrawLine = "Eine Linie zeichnen"
PythonDrawString = "Text bei Pixel (x,y) darstellen"
PythonErf = "Fehlerfunktion"
PythonErfc = "Komplementäre Fehlerfunktion"
PythonEscherFunction = "Escher-Modul-Funktionspräfix"
PythonEval = "Rückgabe ausgewerteter Ausdruck"
PythonExp = "Exponentialfunktion"
PythonExpm1 = "Berechne exp(x)-1"
Expand Down Expand Up @@ -262,3 +268,8 @@ PythonFileReadable = "Kann Datei gelesen werden?"
PythonFileWritable = "Kann Datei geschrieben werden?"
PythonImportUtils = "Importieren von ulab.utils"
PythonUtilsFunction = "Funktionspräfix des utils-Moduls"
PythonIsScreenOn = "Überprüfen Sie, ob der Bildschirm eingeschaltet ist"
PythonBlinkLed = "Lässt die LED alle x Millisekunden blinken"
PythonImportEscher = "Escher-Modul importieren"
PythonSetClipboard = "Legen Sie die Zwischenablage fest"
PythonGetClipboard = "Geben Sie den Inhalt der Zwischenablage zurück"
11 changes: 11 additions & 0 deletions apps/code/catalog.en.i18n
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
PythonSetLEDColor = "Change LED color"
PythonIsPlugged = "Returns the powers state"
PythonScreenOff = "Turns the screen off"
PythonScreenOn = "Turns the screen on"
PythonPound = "Comment"
PythonPercent = "Modulo"
PythonColon = "Colon"
Expand Down Expand Up @@ -56,6 +60,7 @@ PythonDrawLine = "Draw a line"
PythonDrawString = "Display a text from pixel (x,y)"
PythonErf = "Error function"
PythonErfc = "Complementary error function"
PythonEscherFunction = "escher module function prefix"
PythonEval = "Return the evaluated expression"
PythonExp = "Exponential function"
PythonExpm1 = "Compute exp(x)-1"
Expand All @@ -77,6 +82,7 @@ PythonGrid = "Toggle the visibility of the grid"
PythonHex = "Convert integer to hexadecimal"
PythonHist = "Draw the histogram of x"
PythonImportCmath = "Import cmath module"
PythonImportEscher = "Import escher module"
PythonImportIon = "Import ion module"
PythonImportKandinsky = "Import kandinsky module"
PythonImportRandom = "Import random module"
Expand All @@ -99,6 +105,7 @@ PythonBatteryLevel = "Return battery level"
PythonBatteryIscharging = "Return if battery is charging"
PythonSetBrightness = "Set brightness level"
PythonGetBrightness = "Get brightness level"
PythonSetDFU = "Enable or disable DFU"
PythonIsNaN = "Check if x is a NaN"
PythonKandinskyFunction = "kandinsky module function prefix"
PythonKeyLeft = "LEFT ARROW key"
Expand Down Expand Up @@ -262,3 +269,7 @@ PythonFileReadable = "Tells if read can be used on a file"
PythonFileWritable = "Tells if write can be used on a file"
PythonImportUtils = "Importing ulab.utils"
PythonUtilsFunction = "utils module function prefix"
PythonIsScreenOn = "Check if the screen is on"
PythonBlinkLed = "Makes the LED blink every X milliseconds"
PythonSetClipboard = "Set the clipboard"
PythonGetClipboard = "Return the clipboard's content"
11 changes: 11 additions & 0 deletions apps/code/catalog.es.i18n
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
PythonSetDFU = "Habilitar o deshabilitar el DFU"
PythonSetLEDColor = "Cambiar el color de la LED"
PythonIsPlugged = "Devuelve el estado de las potencias"
PythonScreenOff = "Apaga la pantalla"
PythonScreenOn = "Enciende la pantalla"
PythonPound = "Comment"
PythonPercent = "Modulo"
PythonColon = "Colon"
Expand Down Expand Up @@ -56,6 +61,7 @@ PythonDrawLine = "Draw a line"
PythonDrawString = "Display a text from pixel (x,y)"
PythonErf = "Error function"
PythonErfc = "Complementary error function"
PythonEscherFunction = "escher module function prefix"
PythonEval = "Return the evaluated expression"
PythonExp = "Exponential function"
PythonExpm1 = "Compute exp(x)-1"
Expand Down Expand Up @@ -262,3 +268,8 @@ PythonFileReadable = "Tells if read can be used on a file"
PythonFileWritable = "Tells if write can be used on a file"
PythonImportUtils = "Importando ulab.utils"
PythonUtilsFunction = "prefijo de función del módulo utils"
PythonIsScreenOn = "Compruebe si la pantalla está encendida"
PythonBlinkLed = "Hace que el LED parpadee cada x milisegundos"
PythonImportEscher = "Importar módulo escher"
PythonSetClipboard = "Establecer el portapapeles"
PythonGetClipboard = "Devuelve el contenido del portapapeles"
11 changes: 11 additions & 0 deletions apps/code/catalog.fr.i18n
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
PythonSetLEDColor = "Changer la couleur de la led"
PythonIsPlugged = "Revoie l'état de la connexion"
PythonScreenOff = "Éteindre l'écran"
PythonScreenOn = "Allumer l'écran"
PythonPound = "Commentaire"
PythonPercent = "Modulo"
PythonColon = "Deux-points"
Expand Down Expand Up @@ -56,6 +60,7 @@ PythonDrawLine = "Trace une ligne"
PythonDrawString = "Affiche un texte au pixel (x,y)"
PythonErf = "Fonction d'erreur"
PythonErfc = "Fonction d'erreur complémentaire"
PythonEscherFunction = "Préfixe fonction module escher"
PythonEval = "Evalue l'expression en argument "
PythonExp = "Fonction exponentielle"
PythonExpm1 = "Calcul de exp(x)-1"
Expand Down Expand Up @@ -100,6 +105,7 @@ PythonBatteryLevel = "Renvoie le niveau de la batterie"
PythonBatteryIscharging = "Chargement en cours"
PythonSetBrightness = "Définir le niveau de luminosité"
PythonGetBrightness = "Obtenir le niveau de luminosité"
PythonSetDFU = "Activer ou desactiver le DFU"
PythonIsNaN = "Teste si x est NaN"
PythonKandinskyFunction = "Préfixe fonction module kandinsky"
PythonKeyLeft = "Touche FLECHE GAUCHE"
Expand Down Expand Up @@ -262,3 +268,8 @@ PythonFileName = "Nom du fichier"
PythonFileMode = "Mode d'ouverture du fichier"
PythonFileReadable = "Indique si read peut être utilisé"
PythonFileWritable = "Indique si write peut être utilisé"
PythonIsScreenOn = "Vérifiez si l'écran est allumé"
PythonBlinkLed = "Fait clignoter la LED à chaque x millisecondes"
PythonImportEscher = "Importation du module escher"
PythonSetClipboard = "Définir le presse-papiers"
PythonGetClipboard = "Renvoyez le contenu du presse-papiers"
12 changes: 12 additions & 0 deletions apps/code/catalog.hu.i18n
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
PythonSetLEDColor = "A LED színének megváltoztatása"
PythonIsPlugged = "Visszaadja a hatalom állapotát"
PythonSetDFU = "Engedélyezze vagy tiltsa le a DFU-t"
PythonScreenOff = "Kikapcsolja a képernyőt"
PythonScreenOn = "Bekapcsolja a képernyőt"
PythonPound = "Megjegyzés"
PythonPercent = "Modulo"
PythonColon = "Kettőspont"
Expand Down Expand Up @@ -56,6 +61,7 @@ PythonDrawLine = "Húzzon egy vonalat "
PythonDrawString = "Szöveg megjelenítése (x, y)-en"
PythonErf = "Hiba funkció"
PythonErfc = "Kiegészítö hiba funkció"
PythonEscherFunction = "escher modul funkció elötag"
PythonEval = "Visszaadja az értékelt kifejezést"
PythonExp = "Exponenciális függvény"
PythonExpm1 = "exp(x)-1 sámitása"
Expand Down Expand Up @@ -262,3 +268,9 @@ PythonKeyAns = "ANS kulcs"
PythonKeyExe = "EXE kulcs"
PythonImportUtils = "Az ulab.utils importálása"
PythonUtilsFunction = "utils modul függvény előtagja"
PythonIsScreenOn = "Ellenőrizze, hogy a képernyő be van -e kapcsolva"
PythonBlinkLed = "Minden x milliszekundumot villog a LED -es pislogás"
PythonImportEscher = "Escher modul importálása"
PythonSetClipboard = "Vágólap beállítása"
PythonSetClipboard = "Imposta gli appunti"
PythonGetClipboard = "Visszaadja a vágólap tartalmát"
13 changes: 12 additions & 1 deletion apps/code/catalog.it.i18n
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
PythonSetLEDColor = "Cambia il colore del LED"
PythonIsPlugged = "Restituisce lo stato delle alimentazioni"
PythonSetDFU = "Abilitare o disabilitare il DFU"
PythonScreenOff = "Spegne lo schermo"
PythonScreenOn = "Accende lo schermo"
PythonPound = "Commento"
PythonPercent = "Modulo"
PythonColon = "Due punti"
Expand Down Expand Up @@ -56,6 +61,7 @@ PythonDrawLine = "Disegna una linea"
PythonDrawString = "Visualizza il testo dal pixel x,y"
PythonErf = "Funzione d'errore"
PythonErfc = "Funzione d'errore complementare"
PythonEscherFunction = "Prefisso di funzione modulo escher"
PythonEval = "Valuta l'espressione nell'argomento "
PythonExp = "Funzione esponenziale"
PythonExpm1 = "Calcola exp(x)-1"
Expand Down Expand Up @@ -261,4 +267,9 @@ PythonFileMode = "Contiene la modalità di apertura del file"
PythonFileReadable = "Dice se si può leggere sul file"
PythonFileWritable = "Dice se si può scrivere sul file"
PythonImportUtils = "Importazione di ulab.utils"
PythonUtilsFunction = "Prefisso funzione del modulo utils"
PythonIsScreenOn = "Controlla se lo schermo è acceso"
PythonBlinkLed = "Fa battere le palpebre a LED ogni x millisecondi"
PythonImportEscher = "Importa il modulo Escher"
PythonSetClipboard = "Imposta gli appunti"
PythonGetClipboard = "Restituisci il contenuto degli appunti"
PythonUtilsFunction = "Prefisso funzione del modulo utils"
11 changes: 11 additions & 0 deletions apps/code/catalog.nl.i18n
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
PythonSetLEDColor = "Verander de LED-kleur"
PythonIsPlugged = "Retourneert de status Powers"
PythonSetDFU = "Schakel de DFU in of uit"
PythonScreenOff = "Schakelt het scherm uit"
PythonScreenOn = "Schakelt het scherm in"
PythonPound = "Opmerkingen"
PythonPercent = "Modulo"
PythonColon = "Dubbele punt"
Expand Down Expand Up @@ -56,6 +61,7 @@ PythonDrawLine = "Teken een lijn"
PythonDrawString = "Geef een tekst weer van pixel (x,y)"
PythonErf = "Error functie"
PythonErfc = "Complementaire error functie"
PythonEscherFunction = "escher module voorvoegsel"
PythonEval = "Geef de geëvalueerde uitdrukking"
PythonExp = "Exponentiële functie"
PythonExpm1 = "Bereken exp(x)-1"
Expand Down Expand Up @@ -263,3 +269,8 @@ PythonFileReadable = "Tells if read can be used on a file"
PythonFileWritable = "Tells if write can be used on a file"
PythonImportUtils = "Ulab.utils importeren"
PythonUtilsFunction = "utils module functie prefix"
PythonIsScreenOn = "Controleer of het scherm is ingeschakeld"
PythonBlinkLed = "Laat de LED elke x milliseconden knipperen"
PythonImportEscher = "Escher-module importeren"
PythonSetClipboard = "Stel het klembord in"
PythonGetClipboard = "Retourneer de inhoud van het klembord"
11 changes: 11 additions & 0 deletions apps/code/catalog.pt.i18n
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
PythonSetLEDColor = "Alterar a cor do LED"
PythonIsPlugged = "Retorna o estado dos poderes"
PythonSetDFU = "Ativar ou desativar o DFU"
PythonScreenOff = "Desliga a tela"
PythonScreenOn = "Liga a tela"
PythonPound = "Comentário"
PythonPercent = "Módulo"
PythonColon = "Dois pontos"
Expand Down Expand Up @@ -56,6 +61,7 @@ PythonDrawLine = "Desenhe uma linha"
PythonDrawString = "Mostrar o texto do pixel (x,y)"
PythonErf = "Função erro"
PythonErfc = "Função erro complementar"
PythonEscherFunction = "Prefixo da função do módulo escher"
PythonEval = "Devolve a expressão avaliada"
PythonExp = "Função exponencial"
PythonExpm1 = "Calcular exp(x)-1"
Expand Down Expand Up @@ -262,3 +268,8 @@ PythonFileReadable = "Tells if read can be used on a file"
PythonFileWritable = "Tells if write can be used on a file"
PythonImportUtils = "Importando ulab.utils"
PythonUtilsFunction = "prefixo de função do módulo utils"
PythonIsScreenOn = "Verifique se a tela está ligada"
PythonBlinkLed = "Faz o LED piscar a cada x milissegundos"
PythonImportEscher = "Importar módulo escher"
PythonSetClipboard = "Definir a área de transferência"
PythonGetClipboard = "Retorne o conteúdo da área de transferência"
13 changes: 13 additions & 0 deletions apps/code/catalog.universal.i18n
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ PythonCommandImportFromRandom = "from random import *"
PythonCommandImportFromTime = "from time import *"
PythonCommandImportFromTurtle = "from turtle import *"
PythonCommandImportCmath = "import cmath"
PythonCommandImportEscher = "import escher"
PythonCommandImportIon = "import ion"
PythonCommandImportKandinsky = "import kandinsky"
PythonCommandImportMath = "import math"
Expand Down Expand Up @@ -172,6 +173,12 @@ PythonCommandBatteryLevel = "battery_level()"
PythonCommandBatteryIscharging = "battery_ischarging()"
PythonCommandSetBrightness = "set_brightness()"
PythonCommandGetBrightness = "get_brightness()"
PythonCommandSetDFU = "set_dfu()"
PythonCommandSetLEDColor = "set_led_color()"
PythonCommandSetClipboard = "set_clipboard()"
PythonCommandisPlugged = "is_plugged()"
PythonCommandScreenOff = "screen_off()"
PythonCommandScreenOn = "screen_on()"
PythonCommandLdexp = "ldexp(x,i)"
PythonCommandLength = "len(object)"
PythonCommandLgamma = "lgamma(x)"
Expand Down Expand Up @@ -452,3 +459,9 @@ PythonCommandFileReadableWithoutArg = ".readable()"
PythonCommandFileWritable = "file.writable()"
PythonCommandFileWritableWithoutArg = ".writable()"
PythonTurtleCommandWrite = "write(\"text\")"
PythonCommandIsScreenOn = "is_screen_on()"
PythonCommandBlinkLed = "blink_led()"
PythonCommandImportFromEscher = "from escher import *"
PythonCommandEscherFunction = "escher.function"
PythonCommandEscherFunctionWithoutArg = "escher.\x11"
PythonCommandGetClipboard = "get_clipboard()"
Loading
Loading