Search found 18 matches

by ttadam
Wed Feb 09, 2022 4:27 pm
Forum: ESP32 boards
Topic: pwm on SparkFun Thing Plus
Replies: 1
Views: 775

Re: pwm on SparkFun Thing Plus

I found the issue, there is a known bug for the pwm. I installed the newest Nightly builds, that solved it.
by ttadam
Wed Feb 09, 2022 1:38 pm
Forum: ESP32 boards
Topic: pwm on SparkFun Thing Plus
Replies: 1
Views: 775

pwm on SparkFun Thing Plus

Helllo there, I came across a really weird bug. I think it has something to do using not the correct fw? I would like to controll a servo (a linear actuator to be specific) So I have multiple esp32 boards. One is generic aliexpress esp32-wroom-32, other is a fancier SparkFun Thing Plus. I have multi...
by ttadam
Tue Jan 11, 2022 2:12 pm
Forum: General Discussion and Questions
Topic: Is Micropython ready for industry?
Replies: 21
Views: 43017

Re: Is Micropython ready for industry?

Hey there!

4 years passed since the last comment.
What are your options and experiences now? :)
by ttadam
Thu Aug 19, 2021 3:57 pm
Forum: General Discussion and Questions
Topic: documentation generator for micropython
Replies: 3
Views: 1747

Re: documentation generator for micropython

Thank you for your reply, It helped but not a lot yet. One of the issue, that I have a variables incialized in boot.py but also used in main.py. For micropython that is okay, but for python is not. Other issue that there is that it tries to run the code, so try to access to the lcd example, and also...
by ttadam
Thu Aug 12, 2021 12:22 pm
Forum: General Discussion and Questions
Topic: documentation generator for micropython
Replies: 3
Views: 1747

documentation generator for micropython

Hey there! :)

Anyone from here had some success with doc generation from source code and comments?
I tried sphinx, but sphinx try to run my code. (Which is micropython not python so it creates all kind of exeptions)...
Thanks!
by ttadam
Fri Jun 18, 2021 12:50 pm
Forum: General Discussion and Questions
Topic: How to process i2c information
Replies: 1
Views: 1185

How to process i2c information

hello there, I need some help with I2C, it is the first time when I need to use a device without a library. The device is a fuel gauge. MAX17055. I am using micropython ofc. i2c.readfrom(104, 0x06) this command should give me the battery level. what I get is this (each line is a reading, takean afte...
by ttadam
Mon Nov 30, 2020 5:16 pm
Forum: Programs, Libraries and Tools
Topic: mpy-cross general
Replies: 1
Views: 1609

mpy-cross general

Hello there, I didn't find any general discussion about this this tool/method so I took the bravery and opened one. Currently I am running into all kind of memory allocation issues, and my idea is to use precompiling, like mpy-cross. The issue is that I don't really find a good tutorial/step-by-step...
by ttadam
Wed Nov 25, 2020 10:07 pm
Forum: General Discussion and Questions
Topic: urequests causing memory allocation failed
Replies: 0
Views: 1148

urequests causing memory allocation failed

Hello there, I am using a public library for OTA update. This library is working great, but causing memory allocation errors at two place: - When urequests getting called - When downloading larger .py files, (larger means, longer 240 lines) "memory allocation failed, allocating 4352 bytes" I tried t...
by ttadam
Tue Nov 10, 2020 10:46 am
Forum: General Discussion and Questions
Topic: searchig for a file in sd
Replies: 4
Views: 2992

Re: searchig for a file in sd

Thank you! :) Using os.ilistdir() only to convert the return value to a list isn't very effective and can lead to memory errors when searching directories with many entries. Here's my version of a find function, which acts as an iterator, i.e. yields matching files (with full path) one by one. It re...
by ttadam
Mon Nov 09, 2020 8:17 pm
Forum: Programs, Libraries and Tools
Topic: MQTT and wss/websocket secure
Replies: 0
Views: 2028

MQTT and wss/websocket secure

Hello there!

Can you recommend me a library, where I can connect to a emqx mqtt server via websocket(443)
I used mqttsimple but that library can't handle that kind of connection.

Thank you,