fossasia / fossasia/pslab-python

Feature: Add MockHandler for hardware-less simulation

Open
#273 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.6k
Forks
242
PR merge metrics
No merged PRs in 30d

Description

**Problem**
Currently, ScienceLab requires a physical PSLab device to initialize. This makes it difficult to run tests or develop features without hardware.

**Proposed Solution**
Implement a `MockHandler` class and a `mock=True` argument in `ScienceLab` to simulate device I/O.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.