electronics.ic_555_timer

Functions

astable_duty_cycle(→ float)

Usage examples:

astable_frequency(→ float)

Usage examples:

Module Contents

electronics.ic_555_timer.astable_duty_cycle(resistance_1: float, resistance_2: float) float

Usage examples: >>> astable_duty_cycle(resistance_1=45, resistance_2=45) 66.66666666666666 >>> astable_duty_cycle(resistance_1=356, resistance_2=234) 71.60194174757282 >>> astable_duty_cycle(resistance_1=2, resistance_2=-1) Traceback (most recent call last):

ValueError: All values must be positive >>> astable_duty_cycle(resistance_1=0, resistance_2=0) Traceback (most recent call last):

ValueError: All values must be positive

electronics.ic_555_timer.astable_frequency(resistance_1: float, resistance_2: float, capacitance: float) float

Usage examples: >>> astable_frequency(resistance_1=45, resistance_2=45, capacitance=7) 1523.8095238095239 >>> astable_frequency(resistance_1=356, resistance_2=234, capacitance=976) 1.7905459175553078 >>> astable_frequency(resistance_1=2, resistance_2=-1, capacitance=2) Traceback (most recent call last):

ValueError: All values must be positive >>> astable_frequency(resistance_1=45, resistance_2=45, capacitance=0) Traceback (most recent call last):

ValueError: All values must be positive