Skip to content

Commit

Permalink
docs: documentación actualizada
Browse files Browse the repository at this point in the history
  • Loading branch information
barreiroleo committed Sep 20, 2021
1 parent de1696f commit c26c08e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ def do_tint_solve(val):
dimmer.print_dimmer_state()

def do_tint_table_solve(val):
points = 256
for i in range(points):
points = (256) - 1
for i in range(points + 1):
duty = i * 100 / points
tint = dimmer.solve_tint_for_duty(duty)
tperc = tint / (dimmer.periode / 2)
Expand Down
17 changes: 8 additions & 9 deletions rms_vs_tinterrupt.ipynb

Large diffs are not rendered by default.

Binary file added screenshots/fig_3 - Duty vs timepng.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/fig_3 - Table output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c26c08e

Please sign in to comment.