12 January 2021 at 13:00 #9937A_X_CKeymaster
I wanted to start playing with this language using an ESP32 on a linux platform.
I just installed linux on an old pc still with XP (which I have not deleted) with dual boot at power on in order to decide which OS to work with.
In practice I have never used any of the three LINUX elements, MICROPHITHON e ESP32
Where do I start? There are tutorials to start practicing in Italian?
It should be noted that I have installed Linux Mint to get started, the lightest and Windows-like.12 January 2021 at 14:13 #9941
Then, I try to help out.
Linux is an operating system and so choose an easy one to install. How to say it starts with Ubuntu. When you have installed then you may also see if Python is already installed, otherwise you will need it to be able to write the ESP32 card.
It would be to be seen if instead of MicroPython you want to write Arduino sketches, so only C ++. If you opt for MicroPython, you should find the sequence of commands to install it on ESP. After that you can also start the commands remotely if you have chosen to enable this function. So you can also try the commands remotely right away.
If you can make a script in MicroPython, you should use a certain function that loads it into the ESP memory.
Sorry if I have not yet explored which tools are suitable. It would be wise to understand at what level you have acquired knowledge. All in all in a period of one month (I presume) you should be able to do something. But the crux is knowing how to program in Python.
To program in python, it is not a great mystery, there are some rules such as forced indentation of the syntax. Then the commands are similar to basic or C.12 January 2021 at 23:08 #9947Just4FunParticipant
I had to struggle an entire afternoon to install Arduino IDE + the ESP32 core on a Linux Mint 20 Cinnamon.
I hadn't had any problems in the past (su un Linux Kubuntu), but from what i saw the switch from python 2.7 (which is currently “deprecate” on linux) a python 3 has created quite a few problems.
As for micropython I can't tell you as it has never been used on ESP32.13 January 2021 at 3:35 #9950
Python3 has been around for years, I immediately started using it, but who knows what reason you continue to keep a zombie. A bit like the backward compatibility of a 8086, a method that cannot last forever.
Micropython is excellent because if the program is not correct you fall on your feet and the system is ready to be corrected. As for Arduino there are many libraries ready and just import the module to do the necessary things.13 January 2021 at 16:18 #9952A_X_CKeymaster
I thank everyone for your interest as I will have doubts, I will contact you by breaking up with questions that for the experts will be emeritus nonsense but that, per me, at my current level of knowledge, they will be inexplicable mysteries.
I hope you have the patience to put up with me14 January 2021 at 5:46 #995619 January 2021 at 18:20 #9984Just4FunParticipant
About Linux, I have recently upgraded to the version 20.1 by Mint Cinnamon, and he must say that this distro is one of the best I've tried:
It has no problems in dual monitor mode and on SSD it is great. With some little customization I also have the monitor “in transparency” of the main parameters of the PC and the indicator of the current upload / download speed.20 January 2021 at 7:54 #9987
Installing an OS is not difficult. Most of them are automated. I have installed Archlinux, but you have to start with the CLI interface, that in some cases it is difficult to find network information. Otherwise one starts from a Live and maybe decides to install it. I started with the Knoppix.
I would say it's a bit of a quick way to get carried away. Without subverting the already installed system.
- You must be logged in to reply to this topic.