Search found 57 matches

by DJShadow1966
Sat Aug 22, 2020 10:50 am
Forum: General Discussion and Questions
Topic: Build micropython firmware tutorial?
Replies: 2
Views: 263

Re: Build micropython firmware tutorial?

Hello

If you check the readme at https://github.com/micropython/micropyt ... /README.md that will explain how to do it.
Regards Mike
by DJShadow1966
Mon Jun 08, 2020 12:51 pm
Forum: General Discussion and Questions
Topic: stm32 thread
Replies: 13
Views: 1272

Re: stm32 thread

Hello Dom

Too be honest I have been in IT for 39 years now and use to work with Mainframes and Linux a lot, so I have a linux box which is configured to compile firmware for many uPython projects.

Regards Mike
by DJShadow1966
Mon Jun 08, 2020 12:44 pm
Forum: General Discussion and Questions
Topic: stm32 thread
Replies: 13
Views: 1272

Re: stm32 thread

by DJShadow1966
Mon Jun 08, 2020 12:38 pm
Forum: General Discussion and Questions
Topic: stm32 thread
Replies: 13
Views: 1272

Re: stm32 thread

Hello

I have the same board as you, hang on will not let me attach the file.

Regards Mike
by DJShadow1966
Mon Jun 08, 2020 9:30 am
Forum: General Discussion and Questions
Topic: stm32 thread
Replies: 13
Views: 1272

Re: stm32 thread

Hello

Yes that is correct make the change and rebuild the firmware and upload to the device I use it myself on a STM board.

Regards Mike
by DJShadow1966
Mon Jun 08, 2020 9:03 am
Forum: General Discussion and Questions
Topic: stm32 thread
Replies: 13
Views: 1272

Re: stm32 thread

Hello The reason it isnt there is by default it is not enabled. If you edit the mpconfigport.h in the folder ports/stm32 and search for Thread #ifndef MICROPY_PY_THREAD #define MICROPY_PY_THREAD (0) #endif needs to be changed to #ifndef MICROPY_PY_THREAD #define MICROPY_PY_THREAD (1) #endif Then you...
by DJShadow1966
Wed May 20, 2020 5:18 am
Forum: ESP8266 boards
Topic: D1 Clones
Replies: 13
Views: 2089

Re: D1 Clones

Hello

I have a couple of boards myself with similar issues and after some digging and looking at the memory chips using arduino code, I found that the chips were being registered as 16meg chips were not so I bought a few 16meg chips and replaced them on the boards and now all working.

Regards Mike
by DJShadow1966
Mon May 04, 2020 10:39 am
Forum: ESP32 boards
Topic: Making micropython with ULAB for ESP32
Replies: 10
Views: 1432

Re: Making micropython with ULAB for ESP32

Hello

You can download pre-complied binarys at https://micropython.org/download/esp32/

You can compile your own following the readme at https://github.com/micropython/micropyt ... orts/esp32

Regards Mike
by DJShadow1966
Fri Apr 03, 2020 3:02 pm
Forum: MicroPython pyboard
Topic: [Solved] Pin.mode() throwing TypeError
Replies: 4
Views: 794

Re: Pin.mode() throwing TypeError

Hello

Wouldnt it be

Code: Select all

pir = Pin('X1', Pin.IN)
regards Mike
by DJShadow1966
Sun Mar 15, 2020 5:05 pm
Forum: ESP32 boards
Topic: ESP32 connected local Wi-FI how to get it's IP using socket
Replies: 4
Views: 765

Re: ESP32 connected local Wi-FI how to get it's IP using socket

Hello You can set the hostname as an example this is what I use :- import network, ntptime, utime, machine sta_if = network.WLAN(network.STA_IF) sta_if.active(True) sta_if.config(dhcp_hostname="ResetTest") sta_if.connect('ssid', 'password') print("Connecting ") while not sta_if.isconnected(): print(...