Search found 8 matches

by MUSQAR
Thu Aug 20, 2020 10:15 pm
Forum: ESP32 boards
Topic: Native machine code with pin_interrup and Timer
Replies: 1
Views: 1004

Native machine code with pin_interrup and Timer

Hello everyone,

I want to use Native machine code in .mpy files for my application and I have a question:
If my code .C has an external interrupt and 10ms timer interrupt, can the Native file .mpy can work well or not?

thanks.
by MUSQAR
Mon Jun 15, 2020 8:51 pm
Forum: ESP32 boards
Topic: Big float in Micropython (ESP32)
Replies: 3
Views: 2151

Big float in Micropython (ESP32)

Hello everyone,


I'm going to use Big Float variable in Micropython(9 numbers after the 0.), after dividing between two numbers I got just 8 numbers in the result.

any information about this topic?

Thanks
by MUSQAR
Sun May 03, 2020 6:46 pm
Forum: General Discussion and Questions
Topic: ESP32 interrupt priority level
Replies: 1
Views: 1470

ESP32 interrupt priority level

Hello everyone,

I want to control 4 motors (speed) and I need 4 pins interrupt (one interrupt every 25ms), so what is the priority Level on ESP32 pins?
or all the pins have the same priority level?

Thanks.
by MUSQAR
Wed Apr 22, 2020 2:31 pm
Forum: General Discussion and Questions
Topic: Implementation of library on customized firmware uP
Replies: 2
Views: 1497

Implementation of library on customized firmware uP

Hello everyone, I want to implement a MicroPython library on MicroPython firmware because I was implemented a data compression library on Micropython but to compress, a buffer (1000 Bytes) takes 4 Sec on the ESP32 so is a very long time for compressing and send this data. can I win the time of compr...
by MUSQAR
Wed Apr 08, 2020 12:23 am
Forum: General Discussion and Questions
Topic: Timer on Micropython
Replies: 1
Views: 1268

Timer on Micropython

Hello everyone,

I'm using ESP32 and I want to change my Timer to 7.8 us, so please how to access Timer prescaler value in Micropython?
on the Arduino code, I can change the prescaler but on Micropython No.

Any ideas?

thanks.
by MUSQAR
Sun Apr 05, 2020 10:13 pm
Forum: General Discussion and Questions
Topic: Micropython data compression
Replies: 2
Views: 2013

Re: Micropython data compression

hello,

Jimmo thank you so much, the library is well done.

best regards :)
by MUSQAR
Thu Apr 02, 2020 6:45 pm
Forum: General Discussion and Questions
Topic: Micropython data compression
Replies: 2
Views: 2013

Micropython data compression

Hello everyone, I have a question, how to compress buffer ( buffer = bytes([0xff]*300) ) in Micropython without Zlib or gzip , i know the zlib is not yet implemented, so i need a scripts or method to compress data. any help please? buffer1 =bytes([0xff]*300) or buffer1 =bytearray(b'\xff\xcc\x11....'...