fossasia / fossasia/pslab-python

Implement missing SQR1 and SQR2 functions

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

Description

In the previous psl package, there were functions to control SQR1 and SQR2 pins individually. However, they are missing in the latest version and one has to use SQR4 function driving all 4 SQR pins.

With the latest firmware upgrades, it is made possible to generate sine and square waves simultaneously and we need to implement whatever the missing functions referring to the old python package.

Refer to following as a guide:
- [SQR1](https://github.com/fossasia/pslab-python/blob/420a97eaac0f54d5185ad785e09a205340f422df/PSL/sciencelab.py#L3127)
- [SQR2](https://github.com/fossasia/pslab-python/blob/420a97eaac0f54d5185ad785e09a205340f422df/PSL/sciencelab.py#L3197)

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.