I wanted to use "machine.time_pulse_us" on a Sipeed MAIX BiT
It seems to newb me that "machine" on these boards have their own set of functions, not the standard micropython ones I've been using on an ESP32.
I think the information I am looking for to recreate "pulseSensor = machine.time_pulse_us(pwPin, HIGH)" is somewhere in
https://maixpy.sipeed.com/en/libs/machine/timer.html
But I'm not really sure
Help appreciated
Sipeed MAIX BiT - machine.time_pulse_us
Re: Sipeed MAIX BiT - machine.time_pulse_us
Sipeed have their own fork of MicroPython and sadly they have implemented their own libraries, which means they have different functionality to the "official" MicroPython. I would imagine that you might be able to use a timer in input capture mode to achieve this, but I don't see input capture in their timer API either.
Re: Sipeed MAIX BiT - machine.time_pulse_us
Thanks again, jimmo
I was going to ask them directly but apart from the online docs and a few posts on here from a couple of years back they don't seem to have much in the way of support.
I was going to ask them directly but apart from the online docs and a few posts on here from a couple of years back they don't seem to have much in the way of support.
Re: Sipeed MAIX BiT - machine.time_pulse_us
Thanksloboris wrote: ↑Fri Jul 24, 2020 9:17 amForum:
https://en.bbs.sipeed.com/
https://loboris.eu/forum/forumdisplay.php?fid=17