Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Nov 12, 2015
0 parents commit 5db0225
Show file tree
Hide file tree
Showing 49 changed files with 2,831 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*.pyc
.project
.pydevproject

*.prefs
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A work in progress
Binary file added images/happy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
674 changes: 674 additions & 0 deletions license.txt

Large diffs are not rendered by default.

Empty file.
97 changes: 97 additions & 0 deletions s2aio/ScratchFiles/ExtensionDescriptors/s2aio.s2e
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"extensionName": "s2aio",
"extensionPort": 50209,
"url": "https://github.com/MrYsLab/PyMata",
"blockSpecs": [
[
" ",
"%m.pin_state Digital Pin %n for %m.digital_pin_mode",
"digital_pin_mode",
"Enable",
"PIN",
"Input"
],
[
" ",
"%m.pin_state Analog Pin (A) %n for Input",
"analog_pin_mode",
"Enable",
"PIN"
],
[
"",
"DigitalWrite Set Pin %n to %m.high_low",
"digital_write",
"PIN",
0
],
[
"",
"AnalogWrite (PWM) Set Pin %n to %n",
"analog_write",
"PIN",
"VAL"
],
[
"",
"Play Tone on Pin: %n HZ: %n ms: %n",
"play_tone",
"PIN",
1000,
500
],
[
"",
"Turn Tone Off for Pin: %n",
"tone_off",
"PIN"
],
[
"",
"Move Servo on Pin %n Deg: %n",
"set_servo_position",
"PIN",
90
],
[
"r",
"Read Digital Pin %n",
"digital_read",
"PIN"
],
[
"r",
"Read Analog Pin (A) %n",
"analog_read",
"PIN"
],
[
"r",
"Debugger",
"problem"
]

],
"menus": {
"pin_state": [
"Enable",
"Disable"
],
"digital_pin_mode": [
"Input",
"Output",
"PWM",
"Servo",
"Tone",
"SONAR"
],
"high_low": [
"0",
"1"
],
"off_on": [
"Off",
"On"
]
}
}
96 changes: 96 additions & 0 deletions s2aio/ScratchFiles/ExtensionDescriptors/s2aio_DE.s2e
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{
"extensionName": "s2aio",
"extensionPort": 50209,
"url": "https://github.com/MrYsLab/PyMata",
"blockSpecs": [
[
" ",
"%m.pin_state DigitalPIN %n als %m.digital_pin_mode",
"digital_pin_mode",
"Setze",
"PIN",
"Eingang"
],
[
" ",
"%m.pin_state AnalogPIN (A) %n als Eingang",
"analog_pin_mode",
"Setze",
"PIN"
],
[
"",
"Setze Digitalwert an PIN %n zu %m.high_low",
"digital_write",
"PIN",
0
],
[
"",
"Setze Analogwert (PWM) an PIN %n zu %n",
"analog_write",
"PIN",
"VAL"
],
[
"",
"Erzeuge Ton an PIN: %n HZ: %n f�r MS: %n",
"play_tone",
"PIN",
1000,
500
],
[
"",
"Schalte Ton an PIN %n aus",
"tone_off",
"PIN"
],
[
"",
"Bewege Servo an PIN %n zu Position %n Grad",
"set_servo_position",
"PIN",
90
],
[
"r",
"Lese DigitalPIN %n",
"digital_read",
"PIN"
],
[
"r",
"Lese AnalogPIN (A) %n",
"analog_read",
"PIN"
],
[
"r",
"Debuggen",
"problem"
]
],
"menus": {
"pin_state": [
"Setze",
"Deaktiviere"
],
"digital_pin_mode": [
"Eingang",
"Ausgang",
"PWM",
"Servo",
"Ton",
"Ultraschall"
],
"high_low": [
"0",
"1"
],
"off_on": [
"Nein",
"Ja"
]
}
}
96 changes: 96 additions & 0 deletions s2aio/ScratchFiles/ExtensionDescriptors/s2aio_ES.s2e
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{
"extensionName": "s2aio",
"extensionPort": 50209,
"url": "https://github.com/MrYsLab/PyMata",
"blockSpecs": [
[
" ",
"%m.pin_state PIN Digital %n como %m.digital_pin_mode",
"digital_pin_mode",
"Activar",
"PIN",
"Entrada"
],
[
" ",
"%m.pin_state PIN Analógico (A) %n como entrada",
"analog_pin_mode",
"Activar",
"PIN"
],
[
"",
"Valor Digital en PIN %n poner a %m.high_low",
"digital_write",
"PIN",
0
],
[
"",
"Escribir valor Analógico(PWM) en Pin %n poner a %n",
"analog_write",
"PIN",
"VAL"
],
[
"",
"Generar Tono en PIN: %n HZ: %n MS: %n",
"play_tone",
"PIN",
1000,
500
],
[
"",
"Apagar Tono en PIN: %n",
"tone_off",
"PIN"
],
[
"",
"Mover Servo en Pin %n Grados: %n",
"set_servo_position",
"PIN",
90
],
[
"r",
"Leer PIN Digital %n",
"digital_read",
"PIN"
],
[
"r",
"Leer PIN Analógico(A) %n",
"analog_read",
"PIN"
],
[
"r",
"Depurar",
"problem"
]
],
"menus": {
"pin_state": [
"Activar",
"Desactivar"
],
"digital_pin_mode": [
"Entrada",
"Salida",
"PWM",
"Servo",
"Tono",
"SONAR"
],
"high_low": [
"0",
"1"
],
"off_on": [
"No",
"Si"
]
}
}
96 changes: 96 additions & 0 deletions s2aio/ScratchFiles/ExtensionDescriptors/s2aio_FR.s2e
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{
"extensionName": "Scratch pour Arduino",
"extensionPort": 50209,
"url": "https://github.com/MrYsLab/PyMata",
"blockSpecs": [
[
" ",
"%m.pin_state la broche Digital %n comme une %m.digital_pin_mode",
"digital_pin_mode",
"Activer",
"PIN",
"entrée."
],
[
" ",
"%m.pin_state la broche Analogique A%n comme une entrée",
"analog_pin_mode",
"Activer",
"PIN"
],
[
"",
"Mettre l'état logique de la broche Digital %n à %m.high_low",
"digital_write",
"PIN",
0
],
[
"",
"Ecrire sur la broche PWM %n la valeur %n",
"analog_write",
"PIN",
"VAL"
],
[
"",
"Jouer le son sur la broche %n , fréquence (Hz) : %n , durée (ms) : %n",
"play_tone",
"PIN",
1000,
500
],
[
"",
"Arrêter le son sur la broche : %n",
"tone_off",
"PIN"
],
[
"",
"Tourner le servo-moteur sur la broche %n de : %n degrés",
"set_servo_position",
"PIN",
90
],
[
"r",
"l'état logique de la broche Digital %n",
"digital_read",
"PIN"
],
[
"r",
"la valeur sur la broche Analogique A%n",
"analog_read",
"PIN"
],
[
"r",
"Debugger",
"problem"
]
],
"menus": {
"pin_state": [
"Activer",
"Désactiver"
],
"digital_pin_mode": [
"entrée.",
"sortie.",
"impulsion PWM.",
"rotation Servo-moteur.",
"sortie Son.",
"mesure Sonar."
],
"high_low": [
"0",
"1"
],
"off_on": [
"Arrêt",
"Marche"
]
}
}
Loading

0 comments on commit 5db0225

Please sign in to comment.