B
B
Barbarianec2018-06-17 19:04:12
Python
Barbarianec, 2018-06-17 19:04:12

Micropython program not compiling, how to fix it?

Friends, I started to study micropython. Installed etBrains PyCharm Community Edition 2018.1.4 x64
and when compiling the program, an error pops up:

spoiler
5b2686613623f393290258.png

tell me what is causing this attack

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
marataziat, 2018-06-17
@marataziat

there is no machne module, you call machne and call yourself. why??

T
TomasHuk, 2018-06-17
@TomasHuk

OU.
It doesn't work like that at all!
Read about micropython, from cover to cover.
machine is a library specifically for micropython.
To run your program, you need to upload it to the controller, esp8266, or whatever you have there.
Then in boot.py, on esp, write import blink.
You can upload everything via webrepl .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question