-
Notifications
You must be signed in to change notification settings - Fork 226
Closed
Labels
firmwareIssues that require changes to the PSLab's firmwareIssues that require changes to the PSLab's firmware
Description
I triggered the following error:
ValueError: Prescaler out of range. This should not happen. Please report this bug, including steps to trigger it, to https://github.com/fossasia/pslab-python/issues.
Steps to reproduce:
from pslab import ScienceLab
psl = ScienceLab()
psl.pwm_generator.generate(["SQ1"], 3, 0.5)
The error occurs for frequencies smaller than 3.81472637 Hz.
bessman
Metadata
Metadata
Assignees
Labels
firmwareIssues that require changes to the PSLab's firmwareIssues that require changes to the PSLab's firmware