Search found 2754 matches

by jimmo
Fri Sep 13, 2019 12:19 pm
Forum: Programs, Libraries and Tools
Topic: html to variable
Replies: 11
Views: 13771

Re: html to variable

Take a look at "microdot" which is a web server for MicroPython. It includes an example that has a web page that lets you control a GPIO pin.

https://github.com/miguelgrinberg/microdot
by jimmo
Fri Sep 13, 2019 12:16 pm
Forum: General Discussion and Questions
Topic: unable to flash micropython to esp 32: open serial error
Replies: 11
Views: 13747

Re: unable to flash micropython to esp 32: open serial error

Hi,

Which ESP32 board do you have? It's likely that you need to install drivers for the serial adaptor. That page has instructions for the CP210X but it's possible you need a different driver?
by jimmo
Fri Sep 13, 2019 12:12 pm
Forum: Programs, Libraries and Tools
Topic: mu editor for micropython
Replies: 46
Views: 65518

Re: mu editor for micropython

Does anyone has a solution for this? Do I have to install CircuitPython which is impossible on a LOLIN-board I fear. Hi, Are you using the latest version of Mu? Have you switched it into "ESP MicroPython" mode? (Click the "Mode" button in the top left). I just tested my ESP32 with Mu and it seems t...
by jimmo
Fri Sep 13, 2019 12:48 am
Forum: General Discussion and Questions
Topic: Help Porting minimal to aarch64 armv8
Replies: 2
Views: 1729

Re: Help Porting minimal to aarch64 armv8

Hi,

Can I get some more information about what you've done?

Which version and distribution of aarch64-gcc are you using?

Did you set CROSS=1

Did you change CFLAGS_CORTEX_M4 with the relevant settings for a53?

What do you mean by the elf was empty? Like actually a zero byte file?
by jimmo
Thu Sep 12, 2019 9:42 pm
Forum: ESP32 boards
Topic: bluetooth on esp32
Replies: 19
Views: 17124

Re: bluetooth on esp32

https://github.com/micropython/micropython/pull/5051 -- PYBD any day now. ESP32 soon (although we might wait to move to ESP-IDF 4.0).
by jimmo
Thu Sep 12, 2019 11:42 am
Forum: MicroPython pyboard
Topic: Install original windows driver
Replies: 7
Views: 9810

Re: Install original windows driver

Just saw this post on Scott Hanselman's blog, might be useful -- https://www.hanselman.com/blog/HowToFix ... ndows.aspx
by jimmo
Thu Sep 12, 2019 8:43 am
Forum: General Discussion and Questions
Topic: Private const() variables aren't defined
Replies: 8
Views: 5125

Re: Private const() variables aren't defined

Shouldn't the same explanation apply to this too? If _B="hi" works then I would expect it to work with const too. This optimisation exists purely to save memory - the const() variables starting with underscores don't even exist, their value just gets substituted at compile time. But when you're not...
by jimmo
Thu Sep 12, 2019 8:26 am
Forum: MicroPython pyboard
Topic: SPI hardware NSS
Replies: 7
Views: 4556

Re: SPI hardware NSS

carl0s wrote:
Thu Sep 12, 2019 8:05 am
Is that the STM32 reference manual?
Yup, the F405 ref manual.
by jimmo
Thu Sep 12, 2019 6:42 am
Forum: General Discussion and Questions
Topic: Private const() variables aren't defined
Replies: 8
Views: 5125

Re: Private const() variables aren't defined

This is because you're running this in the REPL. There's a neat optimisation that MicroPython does to save memory based on hte convention that variables starting with _ are "private". So they will only apply to the scope of the current module being compiled. Each statement executed on the REPL kind ...
by jimmo
Wed Sep 11, 2019 2:01 pm
Forum: MicroPython pyboard
Topic: Does pyboard use RTC pin as GPIO
Replies: 5
Views: 2903

Re: Does pyboard use RTC pin as GPIO

Are you using HSI or HSE?

Also, which pyboard do you have? I'm guessing that because Pin('PC14') worked, you have PYBLITE1.0?