Skip to content

Throttled Data Rate #24

Open
Open
@NotAPlumber

Description

@NotAPlumber

Hey,
I'm running this code on a Windows 11 PC in a Jupyter Notebook, and my data rate seems to be limited to about 11 Hz (for the read/write cycle). Is this expected behavior for the interface? Can I speed it up somehow?
Thanks
Code below

data_rate is 155.0 HZ
performance_mode is Ultra-high Performance

import time
tic = time.time()
mag_x, mag_y, mag_z = sensor.magnetic
toc = time.time()
elapsed_time = toc - tic
print(1/elapsed_time)

11.886292080063706

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions