Page 1 of 1

(read failed: [Errno 6] Device not configured)

Posted: Tue Aug 03, 2021 8:29 pm
by Yadnik
I am running an Ultrasonic sensor on the UART protocol.The code for it can be seen as follows:https://github.com/Yadnik1/Ultrasonic-U ... %20uart.py
The program returns:
U0
U0
U0
followed by:
Connection lost (read failed: [Errno 6] Device not configured)
I am trying to run the Ultrasonic 2 click: https://www.mikroe.com/ultrasonic-2-click on the UART protocol using the Zephyr port of MicroPython.Can someone please tell me what is going wrong in program that it does not return numeric values but returns U0.
Thank you very much!!