Search found 33 matches

by JennaSys
Fri Oct 15, 2021 6:24 pm
Forum: ESP8266 boards
Topic: How to compile firmware?
Replies: 10
Views: 48474

Re: How to compile firmware?

I attempted trying to get the build toolchain set up on my Linux box a few months ago and after a few hours of troubleshooting errors I just gave up on it. I switched to the Docker route and it just worked out of the box. That said, I was already using Docker for other projects so installing it wasn...
by JennaSys
Sun Sep 05, 2021 5:27 am
Forum: ESP8266 boards
Topic: Is it possible at all to connect to wifi with ESP01S?
Replies: 5
Views: 2928

Re: Is it possible at all to connect to wifi with ESP01S?

I haven't tried 1.17 myself yet since it just came out, but I do have 1.16-1m running on several ESP-01 and ESP-01S modules right now with 2.4G WiFi using WPA.

The code that you posted should be all you need to connect. It matches what I use.
by JennaSys
Sat Sep 04, 2021 7:33 pm
Forum: ESP32 boards
Topic: How to upload ssd1306.py into my ESP32 without using THONNY
Replies: 3
Views: 1970

Re: How to upload ssd1306.py into my ESP32 without using THONNY

If you are using one of the newer builds (1.16 or 1.17) you can use the new mpremote CLI tool:

Code: Select all

mpremote cp ssd1306.py :
which will copy the file from your local drive to the ESP device.
by JennaSys
Sat Sep 04, 2021 7:14 pm
Forum: ESP8266 boards
Topic: Is it possible at all to connect to wifi with ESP01S?
Replies: 5
Views: 2928

Re: Is it possible at all to connect to wifi with ESP01S?

WiFi works just fine on the ESP-01S. I think @Roberthh is correct, the esp8266-20191220-v1.12.bin file requires a device with 2M or more of flash and the standard ESP-01S only has 1MB. If you use a MicroPython firmware build set up for 1MB flash like esp8266-1m-20210902-v1.17.bin it might solve your...
by JennaSys
Thu Aug 12, 2021 5:09 am
Forum: General Discussion and Questions
Topic: How do I convert a hex substring to int
Replies: 3
Views: 1911

Re: How do I convert a hex substring to int

When I try

Code: Select all

int(mystr[44:46],16)
in MP v1.16 on an ESP8266 it gives me a result of 18
by JennaSys
Wed Aug 11, 2021 9:13 pm
Forum: Development of MicroPython
Topic: RFID library files and compilers
Replies: 4
Views: 3448

Re: RFID library files and compilers

library of MFRC522 This isn't really specific enough to give you much help tbh. Maybe have a look at this post and see if it helps: https://forum.micropython.org/viewtopic.php?t=1980 Someone created a driver for the MFRC522 but it doesn't look like it has any recent activity so it might not be main...
by JennaSys
Wed Aug 11, 2021 8:57 pm
Forum: General Discussion and Questions
Topic: internal error message after running
Replies: 2
Views: 1783

Re: internal error message after running

I agree with @jimmo, this is likely a Thonny issue and has to do with where you are trying to save the file.

You might want to check the Thonny wiki or ask about it on the Thonny forum
by JennaSys
Mon Aug 09, 2021 8:50 am
Forum: Development of MicroPython
Topic: RFID library files and compilers
Replies: 4
Views: 3448

Re: RFID library files and compilers

Thonny doesn't really compile anything. What RFID library files are you trying to use? Are they pure Python or do they have C dependencies?
by JennaSys
Sat Aug 07, 2021 12:27 am
Forum: General Discussion and Questions
Topic: global variables
Replies: 6
Views: 10587

Re: global variables

When you use the global keyword in a function to declare a variable in that function as being global, the variable must have been previously defined (i.e. assigned a value) at the module level, outside of any functions in that module (in other words, the .py file itself). In Python, it's the fact th...
by JennaSys
Fri Aug 06, 2021 9:52 pm
Forum: ESP32 boards
Topic: Compiled binary of micropython
Replies: 5
Views: 3327

Re: Compiled binary of micropython

I've copied files other than .py with Thonny before. Using the file panel on the left, right-click the file you want to copy on the local drive at the top of the panel then and select Upload to / (or whatever the cwd of the device is). Alternatively you can use WebREPL or the new mpremote CLI tool: ...