More precisely, how do I know when it is safe to start transmitting data? As you can see below, my script sends "ordinary reset" at startup. It also sends "woke from a deep sleep", as per the example in the deep sleep docs. Both occur immediately after the binary salad, which makes me think I need to either delay a period of time, or send a sequence of dummy bytes at startup, one or the other, to make sure things are ready to go.
Thoughts?
Code: Select all
>>> machine.reset()
>>>
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x40100000, len 31020, room 16
tail 12
chksum 0xd2
ho 0 tail 12 room 4
load 0x3ffe8000, len 1100, room 12
tail 0
chksum 0x9a
load 0x3ffe8450, len 824, room 8
tail 0
chksum 0xbd
csum 0xbd
����n��{��g|�ll$l`#��|;�$�o��n�d`��;�l�l�$`��r�l�d�l ��s�d���dl`rd��;$����#��c|l#��c|��Ądlb��'��o��$o���l��$d���$`�o����#l$䌎#���c$�#;dr$s�o����#c�p��b��䇜�$�$�c��g�߀�cc��8���#�����d�ordinary reset
MicroPython v1.10-8-g8b7039d7d on 2019-01-26; ESP module with ESP8266
Type "help()" for more information.
>>>