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
import sys | |
import glob | |
import serial | |
def serial_ports(): | |
"""Lists serial ports | |
:raises EnvironmentError: | |
On unsupported or unknown platforms |
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
PVector[] circleIntersections(PVector p1, float r1, PVector p2, float r2) | |
{ | |
float d, a, h; | |
float dx, dy; | |
dx = p2.x - p1.x; | |
dy = p2.y - p1.y; | |
PVector dvect = new PVector(p1.x - p2.x, p1.y - p2.y); | |
d = dvect.mag(); |
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
/** | |
* Erweiterte C-Statemachine | |
* Das Programm gibt folgendes aus: | |
* | |
* BEGIN: Es geht los. Ich initialisiere das Ganze. | |
* BEGIN: Es geht weiter in den Zustand ADDITION_SMALL | |
* BEGIN: Auf Wiedersehen! | |
* ADDITION_SMALL: Ich fange erst einmal mit kleinen Zahlen an. | |
* ADDITION_SMALL: Addiere Eins... | |
* ADDITION_SMALL: Addiere Eins... |
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
:: Einstellungen | |
SET FOLDER_ROOT="..\CAD-DATEN" | |
SET FOLDER_CAD="CAD PDF" | |
SET FOLDER_PRODUCT="Produkt PDF" | |
SET PRODUCT_EXCLUDE_PREFIX=W- | |
:: ---------------------------------------------------------------------------------------------- | |
:: | DO NOT TOUCH THE CODE BEHIND THIS LINE | | |
:: ---------------------------------------------------------------------------------------------- |
NewerOlder