Skip to content

Instantly share code, notes, and snippets.

@nmorse
Last active October 22, 2022 15:17
Show Gist options
  • Save nmorse/b3c5c77537fede7d5bf216eece63bf09 to your computer and use it in GitHub Desktop.
Save nmorse/b3c5c77537fede7d5bf216eece63bf09 to your computer and use it in GitHub Desktop.
# current limiting resistor calculator
# run at https://pounce-lang-show-case.netlify.app/
[.05][i]compose # forward Amps from LED specifications
[3][Vf]compose # forward voltage from LED specifications
[6][Vs]compose #supply voltage
Vs Vf - i / Ohms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment