Skip to content

Commit

Permalink
Change triangle waveform span to match pslab-android (fossasia#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
suvanbanerjee authored May 17, 2024
1 parent 7c196ae commit e0da861
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pslab/instrument/waveform_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def tria(x):
return AnalogOutput.RANGE[1] * (abs(x % 4 - 2) - 1)

function = tria
span = [-1, 3]
span = [0, 4]
self._channels[channel].wavetype = "tria"
else:
self._channels[channel].wavetype = "custom"
Expand Down

Large diffs are not rendered by default.

0 comments on commit e0da861

Please sign in to comment.