Skip to content

Commit

Permalink
fichier scratch pour la chute d'une balle
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Apr 11, 2015
1 parent 680dcaf commit 64d3d87
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
10 changes: 8 additions & 2 deletions _doc/sphinxdoc/source/arduino/index_arduino.rst
@@ -1,12 +1,18 @@


.. issue. .. issue.
.. index:: ExperimentBoy, Eskimon

.. _l-arduino_programmation: .. _l-arduino_programmation:


Arduino et programmation Arduino et programmation
======================== ========================


Projet de long terme. Projet de long terme. En attendant :

* `Introduction à l'Arduino ! <https://www.youtube.com/watch?v=A3YGFTn7JCA&index=4&list=PLUbqgn02i-lglH1I33NWuwy3NX6D8hj0h>`_,
de `Experiment Boy <https://www.youtube.com/user/experimentboyTV>`_
* `Le blog d'Eskimon <http://eskimon.fr/>`_






Expand Down
2 changes: 2 additions & 0 deletions src/code_beatrix/scratchs/__init__.py
Expand Up @@ -7,6 +7,7 @@
from .example_echiquier import check_echiquier from .example_echiquier import check_echiquier
from .example_tri import check_tri from .example_tri import check_tri
from .example_pyramide import check_pyramide from .example_pyramide import check_pyramide
from .example_chute import check_chute




def check(): def check():
Expand All @@ -16,3 +17,4 @@ def check():
check_echiquier() check_echiquier()
check_tri() check_tri()
check_pyramide() check_pyramide()
check_chute()
13 changes: 13 additions & 0 deletions src/code_beatrix/scratchs/example_chute/__init__.py
@@ -0,0 +1,13 @@
"""
basic checking
"""


def check_chute():
"""
basic checkings
"""
dirname = os.path.dirname(__file__)
f0 = os.path.exists(dirname, "chute.sb2")
if not os.path.exists(f0):
raise FileNotFoundError(f0)
Binary file added src/code_beatrix/scratchs/example_chute/chute.sb2
Binary file not shown.

0 comments on commit 64d3d87

Please sign in to comment.