This repository has been archived by the owner on Sep 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 5db0225
Showing
49 changed files
with
2,831 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
*.pyc | ||
.project | ||
.pydevproject | ||
|
||
*.prefs |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
A work in progress |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Empty file.
This file contains 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
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" | ||
] | ||
} | ||
} |
This file contains 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
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" | ||
] | ||
} | ||
} |
This file contains 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
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" | ||
] | ||
} | ||
} |
This file contains 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
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" | ||
] | ||
} | ||
} |
Oops, something went wrong.