Please check out the new repository: pklaus / serialman. It's great!
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
# SPDX-FileCopyrightText: 2020 anecdata | |
# | |
# SPDX-License-Identifier: MIT | |
import microcontroller | |
import board | |
for pin in dir(microcontroller.pin): | |
if isinstance(getattr(microcontroller.pin, pin), microcontroller.Pin): | |
print("".join(("microcontroller.pin.", pin, "\t")), end=" ") |
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 os.path import basename | |
from os.path import dirname | |
from os.path import join | |
import sys | |
from PyQt5.QtCore import Qt | |
from PyQt5.QtCore import QUrl | |
from PyQt5.QtCore import QTimer | |
from PyQt5.QtGui import QPixmap | |
from PyQt5.QtWebEngineWidgets import QWebEngineView |
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
/* LoRa FeatherWing IOX Tranceiver Mode Example Program | |
* By: Dan Watson | syncchannel.blogspot.com | |
* Date: 3-12-2016 | |
* Version: 0.1 Initial Release | |
* | |
* Example Tranceiver Mode Program for the LoRa FeatherWing IOX for Adafruit Feather | |
* Tested with Feather M0, 32U4 and HUZZAH ESP8266 | |
* | |
* This program configures the Feather as a LoRa receiver. It is intended as a companion | |
* to the LoRA FeatherWing Beacon Example Program, and can receive the beacon messages. |
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 FreeCAD | |
f1=open("surface.dat") | |
coords=[] | |
miny=1 | |
for line in f1.readlines(): | |
sline=line.strip() | |
if sline and not sline.startswith('#'): | |
ycoord=len(coords) | |
lcoords=[] | |
for xcoord, num in enumerate(sline.split()): |