aurci and aurci2 serve the same purpose: Build AUR packages
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
| from calliope_mini import pin28, pin29, pin30 | |
| from utime import ticks_us, ticks_add | |
| # Note: as the file is large and has long comments, use pyminifier before uploading to Calliope mini. | |
| # Note: Some abstration is missing here and code is duplicated. | |
| # This happens with a reason: | |
| # MicroPython has only a very limited stack size and thus number of nested | |
| # function calls is low. | |
| # Because of that, code is repeated in different functions |
- Download https://www.tjgroup.ch/download/TigerJython.msi
- install the msi file without admin privileges using
install.bat-- modify the target directory in that file - Execute
<target>/bin/TigerJython.exe - Flash CalliopeMini with MicroPython -- this needs to be done only once so that MicroPython is installed on the Calliope
- Plug in Calliope
- Tools -> Devices -> micro:bit/Calliope
- Tools -> Flash Target
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
| python -m venv virtualenv | |
| CALL virtualenv\Scripts\activate.bat | |
| pip install jupyterlab | |
| PAUSE |
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
| #include <Arduino.h> | |
| #include <IRremote.h> | |
| // IR Receiver anschliessen: | |
| // links (neben -): GND | |
| // Mitte: 5V | |
| // rechts (neben S): Signal (bspw an Pin 2) | |
| const int irReceiverPin = 2; | |
| IRrecv irrecv(irReceiverPin); |
cdto the sources of the website.- Run a local webserver, e.g.
python -m http.server - Launch chrome and open the local webserver, e.g.
localhost:8000 - Follow the steps described in this animation
or in the official documentation.
- Kamera: Damit füttern wir Tracker: PC Tool (cross Plattform) für manuelle oder automatische Videoanalyse; erstellt s(t), v(t) usw. Diagramme.
- phyphox: iOS/Android App für Beschleunigung und Drehung
- Vision Motion: Android App, die farbige Objekte tracken kann und dann s(t), v(t), a(t) anzeigt.
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
| [34m[1mDebug: (B[mignoring HTML block '<!-- ignore -->' | |
| [34m[1mDebug: (B[mignoring HTML block '<!-- ignore -->' | |
| [34m[1mDebug: (B[mignoring HTML block '<span class="filename">' | |
| [34m[1mDebug: (B[mignoring HTML block '</span>' | |
| [34m[1mDebug: (B[mignoring HTML block '<span class="filename">' | |
| [34m[1mDebug: (B[mignoring HTML block '</span>' | |
| [34m[1mDebug: (B[mignoring HTML block '<!-- ignore -->' | |
| [34m[1mDebug: (B[mignoring HTML block '<span class="filename">' | |
| [34m[1mDebug: (B[mignoring HTML block '</span>' | |
| [34m[1mDebug: (B[mignoring HTML block '<span class="filename">' |
Why you should catkin build a pure python package as well, although nothing gets compiled:
When you build a package using catkin build, the path to the package is added to some variables in setup.bash.
When setup.bash is sourced the next time, these variables are made part of the environment.
Thus, tools like rosrun and roslaunch can find the executables/scripts and python may find modules.
NewerOlder