MikrofonSensor und TemperaturSenor die zwei Python programme funktionieren. mit den jeweiligen 2 json Datein. Beim TemperaturSensor wird im Terminal keine Wertre ausgegeben aber in der json Datei kann man die Temp und Hum sehen.

This commit is contained in:
Chiara 2025-05-28 14:53:44 +02:00
parent 4c654ec969
commit 1751076592
2614 changed files with 349009 additions and 0 deletions

View file

@ -0,0 +1,19 @@
Copyright (c) 2019 Binho Electronics
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View file

@ -0,0 +1,74 @@
Metadata-Version: 2.1
Name: binho-host-adapter
Version: 0.1.6
Summary: Python Libraries for Binho Multi-Protocol USB Host Adapters
Home-page: https://binho.io
Author: Binho LLC
Author-email: support@binho.io
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: pyserial
# Binho Host Adapter Python Libraries
### Introduction
Cross-platform Python 3.x library for automated control of Binho Multi-Protocol USB Host Adapters. More information about the device can be found at https://www.binho.io
### Dependencies
This library requires [pySerial](https://github.com/pyserial/pyserial) for cross-platform access of the serial port. This library will be installed automatically by pip, however for easy reference, this can be manually installed simply by running the following command:
```
pip install pyserial
```
### Installation
This library can be installed easily with the following command:
```
pip install binho-host-adapter
```
### Example Usage
```python
from binhoHostAdapter import binhoHostAdapter
from binhoHostAdapter import binhoUtilities
print("Demo Script with Binho Host Adapter Python Libraries")
print
devices = binhoUtilities.listAvailableDevices()
if len(devices) == 0:
print("No Devices Found!")
exit()
elif len(devices) == 1:
COMPORT = devices[0]
print("Found 1 attached adapter @ " + devices[0])
print
else:
COMPORT = devices[0]
print("Found more than 1 attached adapter, using first device found on " + COMPORT)
print
print("Opening " + COMPORT + "...")
print
# create the binhoHostAdapter object
binho = binhoHostAdapter.binhoHostAdapter(COMPORT)
print("Connecting to host adapter...")
print(binho.getDeviceID())
print
```
### Documentation
The full set of documentation for this python library can be found at https://support.binho.io/python-libraries

View file

@ -0,0 +1,12 @@
binhoHostAdapter/__init__.py,sha256=cgCxAWYd601_q57fJo4MpC_bPqhH9c2T3jLhMm-pyo0,25
binhoHostAdapter/__pycache__/__init__.cpython-311.pyc,,
binhoHostAdapter/__pycache__/binhoHostAdapter.cpython-311.pyc,,
binhoHostAdapter/__pycache__/binhoUtilities.cpython-311.pyc,,
binhoHostAdapter/binhoHostAdapter.py,sha256=WcMTw2kKA948Nafg7uZEC4Q9WsoA-Ic9W4BzFPy4p4g,37314
binhoHostAdapter/binhoUtilities.py,sha256=7GzW-XxTqUWd-_DNjkcSi53uZeVGH3K4kzTKO_JGsiY,4144
binho_host_adapter-0.1.6.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
binho_host_adapter-0.1.6.dist-info/LICENSE,sha256=WGdTVvPazmJY05oeis94Dai94e381u57LR8cRyORonc,1060
binho_host_adapter-0.1.6.dist-info/METADATA,sha256=zecBYCMT0D6eSyrfxBE9Jjvo8rJd2aAEDJ74vYeIxLk,1986
binho_host_adapter-0.1.6.dist-info/RECORD,,
binho_host_adapter-0.1.6.dist-info/WHEEL,sha256=YUYzQ6UQdoqxXjimOitTqynltBCkwY6qlTfTh2IzqQU,97
binho_host_adapter-0.1.6.dist-info/top_level.txt,sha256=Fak6rDVAby7XottTJ6TD_5FiQ5doqawATOrHjVFK-Uo,17

View file

@ -0,0 +1,5 @@
Wheel-Version: 1.0
Generator: bdist_wheel (0.34.2)
Root-Is-Purelib: true
Tag: py3-none-any

View file

@ -0,0 +1 @@
binhoHostAdapter