Re: unable to communicate with doit esp-12n developemebt board
Posted: Tue Feb 18, 2020 4:45 pm
Thank you so much sir this issue occurred due changes in the codeRoberthh wrote: ↑Tue Feb 18, 2020 3:59 pmYou 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
Code: Select all
dir(machine.Pin)
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