Skip to content
Snippets Groups Projects
Commit f161378c authored by MAUGEZ Emeline's avatar MAUGEZ Emeline
Browse files

Ordre BLE

parent 7308d590
No related branches found
No related tags found
1 merge request!1MAJ BDD + Data commande fonctionnel
.DS_Store
__pycache__
bin/
......@@ -176,8 +176,8 @@ class BLE_ADD_INGREDIENT(RxCharacteristic):
RxCharacteristic.__init__(self, bus, index, service, SQL_ADD_INGREDIENT_CHARACTERISTIC_UUID)
def WriteValue(self, value, options):
ingredient = unformalize_data_list(format(bytearray(value).decode()))
print(format(bytearray(value).decode()))
ingredient = unformalize_data_list(format(bytearray(value).decode()))
print(ingredient)
print(ingredient[0])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment