nathanpc

555 Timer Calculator (TI-BASIC)

Mar 11th, 2014
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Lbl H
  2. ClrHome
  3. Menu("555 Timer Calc","Astable",AS,"Monostable",MS,"Quit",Q)
  4. End
  5. Lbl AS
  6. ClrHome
  7. Disp "    Astable",""
  8. Input "Freq (Hz):",F
  9. Input "C1 (uF):",C
  10. Input "R1 (Omega):",R
  11. C*0.000001->C
  12. Disp "R2 (Omega):"
  13. Output(6,8,round((1/(ln(2)*C*F))-R,0))
  14. Goto Q
  15. Lbl MS
  16. Disp "   Monostable",""
  17. Input "Time (s):",T
  18. Input "C1 (uF):",C
  19. C*0.000001->C
  20. Disp "R1 (Omega):"
  21. Output(5,8,round(T/(ln(3)*C),0))
  22. Goto Q
  23. Lbl Q
  24. Stop
  25. End
Advertisement
Add Comment
Please, Sign In to add comment