btbricks 0.2.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
btbricks/__init__.py ADDED
@@ -0,0 +1,52 @@
1
+ """
2
+ btbricks - A MicroPython Bluetooth library for controlling LEGO hubs.
3
+
4
+ This package provides tools for remote controlling LEGO hubs and linking
5
+ smart hubs through the official LEGO Bluetooth protocol. You can also
6
+ use it to create custom Bluetooth peripherals like RC controllers or MIDI
7
+ devices compatible with LEGO hubs.
8
+ """
9
+
10
+ __version__ = "0.1.0"
11
+ __author__ = "Anton Vanhoucke"
12
+ __license__ = "MIT"
13
+
14
+ from .bt import (
15
+ BLEHandler,
16
+ UARTCentral,
17
+ UARTPeripheral,
18
+ RCReceiver,
19
+ RCTransmitter,
20
+ MidiController,
21
+ R_STICK_HOR,
22
+ R_STICK_VER,
23
+ L_STICK_HOR,
24
+ L_STICK_VER,
25
+ BUTTONS,
26
+ L_TRIGGER,
27
+ R_TRIGGER,
28
+ SETTING1,
29
+ SETTING2,
30
+ )
31
+ from .bthub import BtHub
32
+ from .ctrl_plus import SmartHub
33
+
34
+ __all__ = [
35
+ "BLEHandler",
36
+ "UARTCentral",
37
+ "UARTPeripheral",
38
+ "RCReceiver",
39
+ "RCTransmitter",
40
+ "MidiController",
41
+ "R_STICK_HOR",
42
+ "R_STICK_VER",
43
+ "L_STICK_HOR",
44
+ "L_STICK_VER",
45
+ "BUTTONS",
46
+ "L_TRIGGER",
47
+ "R_TRIGGER",
48
+ "SETTING1",
49
+ "SETTING2",
50
+ "BtHub",
51
+ "SmartHub",
52
+ ]