unable to communicate with doit esp-12n developemebt board

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
jay2026
Posts: 20
Joined: Sat Feb 15, 2020 6:10 pm

Re: unable to communicate with doit esp-12n developemebt board

Post by jay2026 » Tue Feb 18, 2020 4:45 pm

Roberthh wrote:
Tue Feb 18, 2020 3:59 pm
You can set the pin value with either:

pin.value(1) resp. pin.value(0)

or shorthand:

pin(1) or pin(0)

For any question on usage, please refer the documentation: http://docs.micropython.org/en/latest/
There are quick examples for each module type, e.g. ESP8266 and Pin:
http://docs.micropython.org/en/latest/e ... s-and-gpio
Thank you so much sir this issue occurred due changes in the code

Code: Select all

dir(machine.Pin)
the low and high have been changed to on and off
Sir i accidentally press the RST switch on the board and found i'm getting garbage values like shown below
>>> {$lܞ|�c�N

�l�"|����r���
#��oo�$no���
cp��bl`rlp�o�

l

b
o��n��ll�b��Nn�$��d �2oN
l or���o�d p�N�
r�����

b
N��nl$

�p�|�N�
$`�2no$`n{����

�lp�o�
r�ܜ��
��
b
N��n�

B��oo�

d �Nn
d or���N
���rdr��o
���l��
l��|�����{oB����$�p�
b�lb쌜���


c�bl`dlܾ�����{oB���l��
c��b쌜��B�
�cl �l��|��rrN"���l��

c�
c서���
b�dBl����n쒜p��o|�$
lld ��r�$���

l ��{�p��l�

l ��{�p����ll`rl��r$����B��c�Bbr��r
B��o��nn�l���
l
�l��d$��l�����sd�N���bb
l
d�rp

��cB$
�c{$rls�o�����nܞb���������cl�"�pcl ��lN�prl�lܞ����s#4 ets_task(40100164, 3, 3fff829c, 4)
OSError: [Errno 2] ENOENT
I did some digging and found that i was missing main.py file n that was the reason for "OSError: [Errno 2] ENOENT" i followed this link https://github.com/micropython/micropyt ... /issues/90 to fix the ENOENT error hoping the garbage values will go but i still have the issue sir i no longer have the OSError but the garbage values still appear when i press the RST on the board

User avatar
Roberthh
Posts: 1959
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: unable to communicate with doit esp-12n developemebt board

Post by Roberthh » Tue Feb 18, 2020 4:53 pm

The garbage is normal and no sign of an error. After reset, the first messages of the boot loader are send with 76800 baud. Received at 115200 baud, that looks like garbage. So nothing is broken. You just did not see that before.
And yes. This ENOENT message just says: file not found. In this case: main.py

jay2026
Posts: 20
Joined: Sat Feb 15, 2020 6:10 pm

Re: unable to communicate with doit esp-12n developemebt board

Post by jay2026 » Wed Feb 19, 2020 5:03 am

Roberthh wrote:
Tue Feb 18, 2020 4:53 pm
The garbage is normal and no sign of an error. After reset, the first messages of the boot loader are send with 76800 baud. Received at 115200 baud, that looks like garbage. So nothing is broken. You just did not see that before.
And yes. This ENOENT message just says: file not found. In this case: main.py
Can that not be changed sir

User avatar
jimmo
Posts: 1633
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: unable to communicate with doit esp-12n developemebt board

Post by jimmo » Wed Feb 19, 2020 5:13 am

jay2026 wrote:
Wed Feb 19, 2020 5:03 am
Can that not be changed sir
Already being discussed in another thread -- viewtopic.php?f=16&t=7785

Post Reply