Search found 3 matches

by Samuel97
Sat Aug 17, 2019 10:17 am
Forum: MicroPython pyboard
Topic: Fast interrupt handler
Replies: 3
Views: 200

Re: Fast interrupt handler

By using time.ticks_us(), and separated variable insted of list I improve processed time to 17┬Ás. I would like to try write callback in assembler, but how can I call micros(), or in which register is stored it value? Or is there any register where I can store value without accessing to global?
by Samuel97
Fri Aug 16, 2019 3:16 pm
Forum: MicroPython pyboard
Topic: Fast interrupt handler
Replies: 3
Views: 200

Fast interrupt handler

Hi, I'm trying to caught pulses from multiple sensors, every sensor is conected to separated pin of pyboard. Problem is that time difference of arrive between sensonrs is some times around 10us ( I measured it with scope). I need to save arrive time of pulse, so I write this callback, but for pyboar...
by Samuel97
Fri Mar 29, 2019 4:39 pm
Forum: General Discussion and Questions
Topic: MPU6050 calibration
Replies: 1
Views: 269

MPU6050 calibration

Hello, I'm trying to use MPU6050 with pyBoard, I use this libs https://github.com/micropython-IMU/micropython-mpu9x50 and https://github.com/micropython-IMU/micropython-fusion MPU6050 don't have magnetometro, so I use Fusion.update_nomag. Pitch value and roll value are pretty stable, value of headin...